From 9a938ee76977a58e4dcea1bf58ef355155508799 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Sun, 21 Sep 2025 11:32:32 -0700 Subject: [PATCH] no sys wwws --- nose/www/dir/index.tsx | 28 ---------------------------- nose/www/dir/other.ts | 1 - nose/www/hello.ts | 2 -- nose/www/jsx.tsx | 4 ---- nose/www/ping.ts | 4 ---- nose/www/routes.tsx | 29 ----------------------------- 6 files changed, 68 deletions(-) delete mode 100644 nose/www/dir/index.tsx delete mode 100644 nose/www/dir/other.ts delete mode 100644 nose/www/hello.ts delete mode 100644 nose/www/jsx.tsx delete mode 100644 nose/www/ping.ts delete mode 100644 nose/www/routes.tsx 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