Skip to content

Commit

Permalink
fix build error?
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderjoe committed Jan 19, 2024
1 parent 00472f9 commit 90d99df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 17 deletions.
6 changes: 3 additions & 3 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Navbar } from "./components/navbar";
import { Navbar } from '~/components/navbar';

const App = (props: any) => {
return (
<>
<div class="flex flex-col min-h-screen">
<Navbar/>
<Navbar />
<div class="dark">{props.children}</div>
</div>
</>
Expand Down
7 changes: 4 additions & 3 deletions ui/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* @refresh reload */
import { Route, Router } from '@solidjs/router';
import { render } from 'solid-js/web';
import { Router, Route } from '@solidjs/router';

import App from '~/App';
import Home from '~/pages/Home';
import { Games } from './pages/Games';
import { Games } from '~/pages/Games';
import { Home } from '~/pages/Home';

import './index.css';

Expand Down
14 changes: 5 additions & 9 deletions ui/src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Card, CardContent, CardHeader, CardTitle } from '~/components/ui/card';
import { Button } from '~/components/ui/button';
import { Link } from '~/components/link';
import { Button } from '~/components/ui/button';
import { Card, CardContent, CardHeader, CardTitle } from '~/components/ui/card';

function Home() {
export const Home = () => {
return (
<>
<main class="flex-1">
Expand Down Expand Up @@ -99,14 +99,10 @@ function Home() {
</div>
<div>
<h3 class="text-xl font-bold mb-2">Follow Us</h3>
<div class="flex space-x-4">
{/* social links? */}
</div>
<div class="flex space-x-4">{/* social links? */}</div>
</div>
</div>
</footer>
</>
);
}

export default Home;
};

0 comments on commit 90d99df

Please sign in to comment.