WIP: Architecture Refactor, add stub files and working blog post wrapped by AppShell
This commit is contained in:
12
src/frontend/pages/blog.tsx
Normal file
12
src/frontend/pages/blog.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
import { ThemePicker } from "../components/theme-picker";
|
||||
|
||||
export function Blog() {
|
||||
return (
|
||||
<main>
|
||||
<h1>Blog</h1>
|
||||
<a href="/">Home</a>
|
||||
<ThemePicker />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
10
src/frontend/pages/home.tsx
Normal file
10
src/frontend/pages/home.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
|
||||
export function Home() {
|
||||
return (
|
||||
<main>
|
||||
<h1>Home!</h1>
|
||||
<a href="/blog">Blog</a>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
9
src/frontend/pages/not-found.tsx
Normal file
9
src/frontend/pages/not-found.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
export function NotFound() {
|
||||
return (
|
||||
<main>
|
||||
<h1>404 Not Found</h1>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user