diff --git a/web/components/Button.tsx b/web/components/Button.tsx deleted file mode 100644 index f1b80a0..0000000 --- a/web/components/Button.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { JSX } from "preact"; -import { IS_BROWSER } from "$fresh/runtime.ts"; - -export function Button(props: JSX.HTMLAttributes) { - return ( - -

{props.count}

- - - ); -} diff --git a/web/islands/Logo.tsx b/web/islands/Logo.tsx deleted file mode 100644 index 7c369ff..0000000 --- a/web/islands/Logo.tsx +++ /dev/null @@ -1,11 +0,0 @@ -export default function Logo() { - return ( - EVY, the everything app - ); -} diff --git a/web/routes/_404.tsx b/web/routes/_404.tsx index c63ae2e..2e0def9 100644 --- a/web/routes/_404.tsx +++ b/web/routes/_404.tsx @@ -1,27 +1,16 @@ import { Head } from "$fresh/runtime.ts"; export default function Error404() { - return ( - <> - - 404 - Page not found - -
-
- the Fresh logo: a sliced lemon dripping with juice -

404 - Page not found

-

- The page you were looking for doesn't exist. -

- Go back home -
-
- - ); + return ( + <> + + 404 - Page not found + +
+
+

404 - Page not found

+
+
+ + ); } diff --git a/web/routes/_app.tsx b/web/routes/_app.tsx index 308db21..19a5a41 100644 --- a/web/routes/_app.tsx +++ b/web/routes/_app.tsx @@ -1,4 +1,8 @@ import { type PageProps } from "$fresh/server.ts"; +import { Partial } from "$fresh/runtime.ts"; + +import Navbar from "../components/Navbar.tsx"; + export default function App({ Component }: PageProps) { return ( @@ -11,8 +15,11 @@ export default function App({ Component }: PageProps) { EVY - - + + + + + ); diff --git a/web/routes/about/index.tsx b/web/routes/about/index.tsx index dceeb24..2493c7d 100644 --- a/web/routes/about/index.tsx +++ b/web/routes/about/index.tsx @@ -1,11 +1,9 @@ import { PageProps } from "$fresh/server.ts"; -import Logo from "../../islands/Logo.tsx"; export default function About(props: PageProps) { return (
-

Why we exist

- Data Privacy

diff --git a/web/routes/index.tsx b/web/routes/index.tsx index 8115435..21a298b 100644 --- a/web/routes/index.tsx +++ b/web/routes/index.tsx @@ -1,15 +1,8 @@ -import { useSignal } from "@preact/signals"; -import Counter from "../islands/Counter.tsx"; -import Logo from "../islands/Logo.tsx"; - export default function Home() { - const count = useSignal(3); return (
-

App builder

-
); diff --git a/web/static/logo.svg b/web/static/logo.svg index 7b34389..f7f939e 100644 --- a/web/static/logo.svg +++ b/web/static/logo.svg @@ -1,6 +1,4 @@ - - Source: openclipart.org/detail/209545 - Source: openclipart.org/detail/209545 + \ No newline at end of file