diff --git a/nose/www/dir/index.tsx b/nose/www/dir/index.tsx deleted file mode 100644 index 93f8cf7..0000000 --- a/nose/www/dir/index.tsx +++ /dev/null @@ -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; } - `} - -
-

{text}

-

- This is a really nice website. I'm glad you like it. -

-
- -} - - diff --git a/nose/www/dir/other.ts b/nose/www/dir/other.ts deleted file mode 100644 index f9897b4..0000000 --- a/nose/www/dir/other.ts +++ /dev/null @@ -1 +0,0 @@ -export const text = "w00000t!" \ No newline at end of file diff --git a/nose/www/hello.ts b/nose/www/hello.ts deleted file mode 100644 index 9dc6cd7..0000000 --- a/nose/www/hello.ts +++ /dev/null @@ -1,2 +0,0 @@ -export default (c: Context) => - "Hello, world!" \ No newline at end of file diff --git a/nose/www/jsx.tsx b/nose/www/jsx.tsx deleted file mode 100644 index cdc4c5d..0000000 --- a/nose/www/jsx.tsx +++ /dev/null @@ -1,4 +0,0 @@ -export default () => - Very cool! - - diff --git a/nose/www/ping.ts b/nose/www/ping.ts deleted file mode 100644 index aa0b904..0000000 --- a/nose/www/ping.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default () => - "pong" - - diff --git a/nose/www/routes.tsx b/nose/www/routes.tsx deleted file mode 100644 index bf6185b..0000000 --- a/nose/www/routes.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { routes } from "@utils" - -export default routes({ - "GET /": index, - "GET /pets": pets -}) - -function index() { - return <> -

Hi world!

-

Welcome to my personal web page.

-

If you are looking for information on pets, click here:

-

PETS

- -} - -function pets(c: Context) { - return c.html(<> - - ) -} \ No newline at end of file