File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import Link from 'next/link' ;
33import Image from 'next/image' ;
4- import { Button } from '@mui/material' ;
4+ import { IconButton } from '@mui/material' ;
55
66export default function NavBar ( ) {
77 return (
88 < >
9- < div className = "relative flex flex-wrap items-center gap-x-2 gap-y-0 overflow-hidden border-b-1 px-4 py-1 sm:flex-nowrap md:gap-x-4 md:px-8 md:py-1 lg:gap-x-8 lg:px-16" >
9+ < div className = "bg-darken relative flex flex-wrap items-center gap-x-2 gap-y-0 overflow-hidden border-b-1 px-4 py-1 sm:flex-nowrap md:gap-x-4 md:px-8 md:py-1 lg:gap-x-8 lg:px-16" >
1010 < Image
11- src = { " /background.png" }
11+ src = { ' /background.png' }
1212 alt = "background"
1313 className = "-z-10"
1414 fill
@@ -20,13 +20,16 @@ export default function NavBar() {
2020 UTD Notebook
2121 </ Link >
2222 < div className = "ml-auto flex gap-x-2 md:gap-x-4" >
23- < Image
24- src = { "/" }
25- alt = "profile picture"
26- width = { 256 }
27- height = { 256 }
28- className = 'flex rounded-full border border-white size-16 flex-shrink-0'
29- />
23+ < IconButton size = "large" sx = { { p : 0 } } >
24+ < div className = "relative size-16 flex-shrink-0" >
25+ < Image
26+ src = "/icon-white.svg"
27+ alt = "profile picture"
28+ fill
29+ className = "rounded-full border border-white object-cover"
30+ />
31+ </ div >
32+ </ IconButton >
3033 </ div >
3134 </ div >
3235 </ >
You can’t perform that action at this time.
0 commit comments