no sys wwws

This commit is contained in:
Chris Wanstrath 2025-09-21 11:32:32 -07:00
parent 7ab885d658
commit 9a938ee769
6 changed files with 0 additions and 68 deletions

View File

@ -1,28 +0,0 @@
import { text } from "./other"
import { css } from "@utils"
export default () => {
return <>
{css`
body {
background-color: cyan;
font-family: "Comic Sans MS", "Comic Sans", "Chalkboard", "Comic Neue", cursive;
}
main { width: 500px; margin: 0 auto; }
h1 { color: red; border-bottom: 1px dashed red; }
p { color: magenta; font-size: 18px; }
`}
<main>
<h1>{text}</h1>
<p>
This is a really nice website. I'm glad you like it.
</p>
</main>
</>
}

View File

@ -1 +0,0 @@
export const text = "w00000t!"

View File

@ -1,2 +0,0 @@
export default (c: Context) =>
"Hello, world!"

View File

@ -1,4 +0,0 @@
export default () =>
<b>Very cool!</b>

View File

@ -1,4 +0,0 @@
export default () =>
"pong"

View File

@ -1,29 +0,0 @@
import { routes } from "@utils"
export default routes({
"GET /": index,
"GET /pets": pets
})
function index() {
return <>
<h1>Hi world!</h1>
<p>Welcome to my personal web page.</p>
<p>If you are looking for information on pets, click here:</p>
<p><a href="/pets">PETS</a></p>
</>
}
function pets(c: Context) {
return c.html(<>
<ul>
<li>dogs</li>
<li>cats</li>
<li>iguanas</li>
<li>hamsters</li>
<li>snakes</li>
<li>chickens</li>
<li>...even goats!</li>
</ul>
</>)
}