From a8af1cbef92ccc0265782c896fed38aca52c3089 Mon Sep 17 00:00:00 2001 From: mattystank <32516464+mattystank@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:54:24 -0400 Subject: [PATCH] ui: change next link to html link and comment out DrawerHeader (#51) Co-authored-by: Matthew Stankiewicz --- src/components/shared/nav/nav/NavHeader.tsx | 41 ++++++++++++--------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/src/components/shared/nav/nav/NavHeader.tsx b/src/components/shared/nav/nav/NavHeader.tsx index 33f7639e..bbffa675 100644 --- a/src/components/shared/nav/nav/NavHeader.tsx +++ b/src/components/shared/nav/nav/NavHeader.tsx @@ -1,20 +1,20 @@ +import { Box, Divider, IconButton } from '@mui/material' +import { Theme } from '@mui/material/styles' + import ChevronLeftIcon from '@mui/icons-material/ChevronLeft' import ChevronRightIcon from '@mui/icons-material/ChevronRight' -import Divider from '@mui/material/Divider' -import IconButton from '@mui/material/IconButton' -import { Theme, styled } from '@mui/material/styles' + import Image from 'next/image' -import Link from 'next/link' import { NAV_THICKER_DIVIDER } from '@/constants/navConstants' -const DrawerHeader = styled('div')(({ theme }) => ({ - display: 'flex', - alignItems: 'center', - justifyContent: 'flex-end', - padding: theme.spacing(0, 1), - // necessary for content to be below app bar - ...theme.mixins.toolbar, -})) +// const DrawerHeader = styled('div')(({ theme }) => ({ +// display: 'flex', +// alignItems: 'center', +// justifyContent: 'flex-end', +// padding: theme.spacing(0, 1), +// // necessary for content to be below app bar +// ...theme.mixins.toolbar, +// })) interface SiteNavHeaderProps { handleDrawerClose: () => void @@ -23,21 +23,28 @@ interface SiteNavHeaderProps { export default function NavHeader({ handleDrawerClose, theme }: SiteNavHeaderProps) { return ( <> - - + + SITE logo with text: The hub for testing tools & resources - + {theme.direction === 'rtl' ? : } - + )