From a6fccd61be46e507d18d8a5bbdabf438ad881024 Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sat, 2 Mar 2024 13:09:42 -0500 Subject: [PATCH] Add a footer to the layouts. --- app/src/frontend/layout.tsx | 4 +++- app/src/frontend/layout/footer.tsx | 13 +++++++++++++ app/src/frontend/layout/header.tsx | 4 +++- app/src/index.tsx | 10 ++++------ app/src/middleware/config.ts | 15 +++++++++------ 5 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 app/src/frontend/layout/footer.tsx diff --git a/app/src/frontend/layout.tsx b/app/src/frontend/layout.tsx index b151874..042a701 100644 --- a/app/src/frontend/layout.tsx +++ b/app/src/frontend/layout.tsx @@ -1,5 +1,6 @@ import { FC } from 'hono/jsx'; import Header from './layout/header'; +import Footer from './layout/footer'; const Layout: FC = (props) => { return ( @@ -8,8 +9,9 @@ const Layout: FC = (props) => { {props.siteData.title} -
+
{props.children} +