From 0d600f2aa1de4415d6c3981fd8d6d0035cebb9b3 Mon Sep 17 00:00:00 2001 From: fluid-design-io <2216991777@qq.com> Date: Fri, 20 Oct 2023 18:57:25 -0500 Subject: [PATCH] feat: added site footer --- apps/web/app/layout.tsx | 2 + apps/web/components/core/site-footer.tsx | 76 ++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 apps/web/components/core/site-footer.tsx diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index c9bf75b..6d6b191 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -13,6 +13,7 @@ import StyleSheetInitializer from "./stylesheet-initializer"; import { getServerColors } from "@/lib/getServerColors"; import { Analytics } from "@vercel/analytics/react"; +import SiteFooter from "@/components/core/site-footer"; const inter = Inter({ subsets: ["latin"], variable: "--font-inter" }); const comfortaa = Comfortaa({ @@ -68,6 +69,7 @@ export default async function RootLayout({ {children} + diff --git a/apps/web/components/core/site-footer.tsx b/apps/web/components/core/site-footer.tsx new file mode 100644 index 0000000..dd5228e --- /dev/null +++ b/apps/web/components/core/site-footer.tsx @@ -0,0 +1,76 @@ +import { Github, Youtube } from "lucide-react"; +import app from "../../../../package.json"; + +const navigation = [ + { + name: "GitHub", + href: "https://github.com/fluid-design-io/fluid-design", + icon: Github, + }, + { + name: "YouTube", + href: "https://youtube.com/@fluiddesign", + icon: Youtube, + }, +]; + +function SiteFooter() { + return ( + + ); +} + +export default SiteFooter;