From f8dc9cfd291a8d8ec1a65f1d8435708c5cb05b8a Mon Sep 17 00:00:00 2001 From: Imbus Date: Wed, 15 Nov 2023 16:04:32 +0100 Subject: [PATCH] Footer --- client-solid/src/Footer.tsx | 55 +++++++++++++++++++++++++++++++++++++ client-solid/src/Posts.tsx | 4 +-- client-solid/src/Root.tsx | 6 ++-- 3 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 client-solid/src/Footer.tsx diff --git a/client-solid/src/Footer.tsx b/client-solid/src/Footer.tsx new file mode 100644 index 0000000..376e454 --- /dev/null +++ b/client-solid/src/Footer.tsx @@ -0,0 +1,55 @@ +import { JSXElement } from "solid-js"; + +export function Footer(): JSXElement { + return ( + + ); +} diff --git a/client-solid/src/Posts.tsx b/client-solid/src/Posts.tsx index 72b22aa..db1efad 100644 --- a/client-solid/src/Posts.tsx +++ b/client-solid/src/Posts.tsx @@ -15,9 +15,9 @@ export function Posts(): JSXElement { return ( - + {/* {(post): JSXElement => } - + */} ); } diff --git a/client-solid/src/Root.tsx b/client-solid/src/Root.tsx index 717d224..e07d657 100644 --- a/client-solid/src/Root.tsx +++ b/client-solid/src/Root.tsx @@ -4,6 +4,7 @@ import { GlobalStateProvider } from "./GlobalState"; import { LoginModal } from "./LoginModal"; import { Navbar } from "./Navbar"; import { Primary } from "./Primary"; +import { Footer } from "./Footer"; function Root(): JSXElement { return ( @@ -13,9 +14,10 @@ function Root(): JSXElement {
-
+
+
@@ -25,7 +27,7 @@ function Root(): JSXElement { function FancyBackground(): JSXElement { return (
-
+
); }