inital commit

This commit is contained in:
Chris Kruining 2024-09-10 22:58:35 +02:00
commit 85fa9aff4a
119 changed files with 3292 additions and 0 deletions

6
src/routes/(shell).tsx Normal file
View file

@ -0,0 +1,6 @@
import { Shell } from "~/features/shell";
export default function ShellPage(props) {
return <Shell>{props.children}</Shell>;
}

View file

@ -0,0 +1,12 @@
import { Title } from "@solidjs/meta";
import { HttpStatusCode } from "@solidjs/start";
export default function NotFound() {
return (
<main>
<Title>Not Found</Title>
<HttpStatusCode code={404} />
<h1>Page Not Found</h1>
</main>
);
}

View file

@ -0,0 +1,10 @@
import { Title } from "@solidjs/meta";
export default function Home() {
return (
<main>
<Title>About</Title>
<h1>About</h1>
</main>
);
}

View file

@ -0,0 +1,18 @@
import { Title } from "@solidjs/meta";
export default function Home() {
return (
<main>
<Title>Hello World</Title>
<h1>Hello world!</h1>
<p>
Visit{" "}
<a href="https://start.solidjs.com" target="_blank">
start.solidjs.com
</a>{" "}
to learn how to build SolidStart apps.
</p>
</main>
);
}

View file

@ -0,0 +1,9 @@
import { Title } from "@solidjs/meta";
export default function Index() {
const title = 'Library';
return <>
<Title>{ title }</Title>
<h1>{title}</h1>
</>;
}

View file

@ -0,0 +1,9 @@
import { Title } from "@solidjs/meta";
export default function Index() {
const title = 'Manage';
return <>
<Title>{ title }</Title>
<h1>{title}</h1>
</>;
}

View file

@ -0,0 +1,9 @@
import { Title } from "@solidjs/meta";
export default function Index() {
const title = 'Movies';
return <>
<Title>{ title }</Title>
<h1>{title}</h1>
</>;
}

View file

@ -0,0 +1,9 @@
import { Title } from "@solidjs/meta";
export default function Index() {
const title = 'Search';
return <>
<Title>{ title }</Title>
<h1>{title}</h1>
</>;
}

View file

@ -0,0 +1,20 @@
import { Title } from "@solidjs/meta";
import { createAsync } from "@solidjs/router";
import { createEffect } from "solid-js";
import { Overview } from '~/features/overview';
import { listCategories, getEntry } from "~/features/content";
export const route = {
load: () => listCategories(),
};
export default function Index() {
const highlight = createAsync(() => getEntry(14));
const categories = createAsync(() => listCategories());
const title = 'Shows';
return <>
<Title>{ title }</Title>
<Overview highlight={highlight()} categories={categories()}></Overview>
</>;
}