From a4bed55547f17539cbb22351973958e0755911c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Markovi=C4=87?= Date: Wed, 14 Jun 2023 22:15:39 +0400 Subject: [PATCH] WIP --- frontend/app/components/footer.js | 53 +++++++++++++++++++++++++++++++ frontend/app/layout.js | 2 ++ frontend/app/vendors/page.js | 29 +++++++++++------ 3 files changed, 74 insertions(+), 10 deletions(-) create mode 100644 frontend/app/components/footer.js diff --git a/frontend/app/components/footer.js b/frontend/app/components/footer.js new file mode 100644 index 0000000..4fbd0d6 --- /dev/null +++ b/frontend/app/components/footer.js @@ -0,0 +1,53 @@ +'use client' + +import { Box, Flex, Link, Stack, useColorMode, useColorModeValue } from '~/app/ui' + +export default function Footer({ siteName }) { + return ( + <> + + + + + + + ) +} + +const FooterMenu = () => { + const linkColor = useColorModeValue('gray.600', 'gray.200') + const linkHoverColor = useColorModeValue('gray.800', 'white') + + return ( + + {NAV_ITEMS.map((navItem) => ( + + + {navItem.label} + + + ))} + + ) +} + +const NAV_ITEMS = [ + { + label: 'Vendors', + href: '/vendors', + }, + { + label: 'About Us', + href: '/about-us', + }, +] diff --git a/frontend/app/layout.js b/frontend/app/layout.js index 2fd6f9c..48fad57 100644 --- a/frontend/app/layout.js +++ b/frontend/app/layout.js @@ -1,4 +1,5 @@ import Header from '~/app/components/header' +import Footer from '~/app/components/footer' import { Providers } from '~/app/providers' import { Container } from '~/app/ui' import directus from '~/lib/directus' @@ -26,6 +27,7 @@ export default async function RootLayout({ children }) {
{children} +