Skip to content

Commit

Permalink
switch to v4 checkout, add more typehinting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderjoe committed Jan 19, 2024
1 parent 90d99df commit 2a511f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build image
run: docker build . --build-arg VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') --file Dockerfile --tag $IMAGE_NAME
Expand Down
Binary file removed ui/src/assets/logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion ui/src/assets/solid.svg

This file was deleted.

3 changes: 2 additions & 1 deletion ui/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Link } from './link';
import { Component } from 'solid-js';

export const Navbar = () => {
export const Navbar: Component = () => {
return (
<header class="flex items-center justify-between px-6 py-4 bg-gray-900 text-white">
<h1 class="text-2xl font-bold">Accuribet</h1>
Expand Down
3 changes: 2 additions & 1 deletion ui/src/components/link.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { A } from "@solidjs/router";
import { Component } from "solid-js";

interface ILink {
href: string;
children: string;
class?: string;
}

export const Link = (props: ILink) => {
export const Link: Component<ILink> = (props: ILink) => {
return (
<A href={props.href} class={props.class} end={true}>
{props.children}
Expand Down

0 comments on commit 2a511f1

Please sign in to comment.