From ecab225c03e1e659c10f3f75bcc03f97dced029a Mon Sep 17 00:00:00 2001 From: rsandb Date: Sun, 15 Jan 2023 16:16:37 -0600 Subject: [PATCH 01/31] footer styling --- website/src/components/Footer.tsx | 35 ++++++++++--------------------- website/src/components/Layout.tsx | 2 +- 2 files changed, 12 insertions(+), 25 deletions(-) diff --git a/website/src/components/Footer.tsx b/website/src/components/Footer.tsx index 9332461d..3b3940f0 100644 --- a/website/src/components/Footer.tsx +++ b/website/src/components/Footer.tsx @@ -1,40 +1,27 @@ -import { useColorMode } from "@chakra-ui/react"; +import { Box, Divider } from "@chakra-ui/react"; import Image from "next/image"; import Link from "next/link"; import { useMemo } from "react"; export function Footer() { - const { colorMode } = useColorMode(); - const bgColorClass = colorMode === "light" ? "bg-transparent" : "bg-gray-800"; - const borderClass = colorMode === "light" ? "border-slate-200" : "border-transparent"; - return ( - ); } diff --git a/website/src/components/Layout.tsx b/website/src/components/Layout.tsx index b26b9bf2..b94124a6 100644 --- a/website/src/components/Layout.tsx +++ b/website/src/components/Layout.tsx @@ -53,8 +53,8 @@ export const getDashboardLayout = (page: React.ReactElement) => ( ]} > {page} +