From 7d4001ea9d109dc5e96394435ce77faeba93e465 Mon Sep 17 00:00:00 2001 From: Hunter Thornsberry Date: Fri, 23 Aug 2024 18:40:17 -0400 Subject: [PATCH] Update footer and initial groundword --- src/components/PageLayout.tsx | 6 +++++- src/components/UI/Footer.tsx | 13 ++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/components/PageLayout.tsx b/src/components/PageLayout.tsx index 274eef05..102a8c87 100644 --- a/src/components/PageLayout.tsx +++ b/src/components/PageLayout.tsx @@ -1,5 +1,6 @@ import { cn } from "@app/core/utils/cn.js"; import { AlignLeftIcon, type LucideIcon } from "lucide-react"; +import Footer from "./UI/Footer"; export interface PageLayoutProps { label: string; @@ -18,6 +19,7 @@ export const PageLayout = ({ children, }: PageLayoutProps): JSX.Element => { return ( + <>
+ ); }; diff --git a/src/components/UI/Footer.tsx b/src/components/UI/Footer.tsx index ece49077..3c53b896 100644 --- a/src/components/UI/Footer.tsx +++ b/src/components/UI/Footer.tsx @@ -1,9 +1,13 @@ import React from "react"; -const Footer = () => { +export interface FooterProps + extends React.HTMLAttributes {} + +const Footer = React.forwardRef( + ({className, ...props}, ref) => { return ( ); -}; +}); export default Footer;