initial setup
This commit is contained in:
parent
9e3f3cf46b
commit
2ec83e2ccb
10 changed files with 172 additions and 26 deletions
19
src/routes/(editor)/[...404].tsx
Normal file
19
src/routes/(editor)/[...404].tsx
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { Title } from "@solidjs/meta";
|
||||
import { HttpStatusCode } from "@solidjs/start";
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<>
|
||||
<Title>Not Found</Title>
|
||||
<HttpStatusCode code={404} />
|
||||
<h1>Page Not Found</h1>
|
||||
<p>
|
||||
Visit{" "}
|
||||
<a href="https://start.solidjs.com" target="_blank">
|
||||
start.solidjs.com
|
||||
</a>{" "}
|
||||
to learn how to build SolidStart apps.
|
||||
</p>
|
||||
</>
|
||||
);
|
||||
}
|
10
src/routes/(editor)/about.tsx
Normal file
10
src/routes/(editor)/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>
|
||||
);
|
||||
}
|
21
src/routes/(editor)/index.tsx
Normal file
21
src/routes/(editor)/index.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { Menu, MenuItem } from "~/features/menu";
|
||||
|
||||
export default function Index() {
|
||||
return (
|
||||
<>
|
||||
<Menu>
|
||||
<MenuItem label="file">
|
||||
<MenuItem label="open" />
|
||||
|
||||
<MenuItem label="save" />
|
||||
</MenuItem>
|
||||
|
||||
<MenuItem label="edit" />
|
||||
|
||||
<MenuItem label="selection" />
|
||||
|
||||
<MenuItem label="view" />
|
||||
</Menu>
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue