inital commit
This commit is contained in:
commit
85fa9aff4a
119 changed files with 3292 additions and 0 deletions
6
src/routes/(shell).tsx
Normal file
6
src/routes/(shell).tsx
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
import { Shell } from "~/features/shell";
|
||||
|
||||
export default function ShellPage(props) {
|
||||
return <Shell>{props.children}</Shell>;
|
||||
}
|
12
src/routes/(shell)/[...404].tsx
Normal file
12
src/routes/(shell)/[...404].tsx
Normal 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>
|
||||
);
|
||||
}
|
10
src/routes/(shell)/about.tsx
Normal file
10
src/routes/(shell)/about.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<Title>About</Title>
|
||||
<h1>About</h1>
|
||||
</main>
|
||||
);
|
||||
}
|
18
src/routes/(shell)/index.tsx
Normal file
18
src/routes/(shell)/index.tsx
Normal 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>
|
||||
);
|
||||
}
|
9
src/routes/(shell)/library/index.tsx
Normal file
9
src/routes/(shell)/library/index.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
|
||||
export default function Index() {
|
||||
const title = 'Library';
|
||||
return <>
|
||||
<Title>{ title }</Title>
|
||||
<h1>{title}</h1>
|
||||
</>;
|
||||
}
|
9
src/routes/(shell)/manage/index.tsx
Normal file
9
src/routes/(shell)/manage/index.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
|
||||
export default function Index() {
|
||||
const title = 'Manage';
|
||||
return <>
|
||||
<Title>{ title }</Title>
|
||||
<h1>{title}</h1>
|
||||
</>;
|
||||
}
|
9
src/routes/(shell)/movies/index.tsx
Normal file
9
src/routes/(shell)/movies/index.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
|
||||
export default function Index() {
|
||||
const title = 'Movies';
|
||||
return <>
|
||||
<Title>{ title }</Title>
|
||||
<h1>{title}</h1>
|
||||
</>;
|
||||
}
|
9
src/routes/(shell)/search/index.tsx
Normal file
9
src/routes/(shell)/search/index.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
|
||||
export default function Index() {
|
||||
const title = 'Search';
|
||||
return <>
|
||||
<Title>{ title }</Title>
|
||||
<h1>{title}</h1>
|
||||
</>;
|
||||
}
|
20
src/routes/(shell)/shows/index.tsx
Normal file
20
src/routes/(shell)/shows/index.tsx
Normal 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>
|
||||
</>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue