File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -280,25 +280,27 @@ const Navbar = (props: Props) => {
280280 { item . children . map ( ( child , innerIndex ) => (
281281 < li
282282 key = { `menu-${ outerIndex } -${ innerIndex } ` }
283- className = "hover:transition-none transition-all lg:w-96 border border-white lg:hover:border-opacity-100 border-opacity-0 lg:rounded-3xl lg:p-8 flex lg:flex-col gap-2 "
283+ className = "hover:transition-none transition-all lg:w-96 border border-white lg:hover:border-opacity-100 border-opacity-0 lg:rounded-3xl"
284284 >
285- { child . iconSrc && (
286- < Image src = { child . iconSrc } alt = "" className = "" />
287- ) }
288285 < Link
289286 href = { child . link }
290- className = "lg:flex lg:flex-col gap-1 "
287+ className = "lg:p-8 flex lg:flex-col gap-2 "
291288 target = { child . link . includes ( 'http' ) ? '_blank' : '' }
292289 >
293- < span className = "flex gap-2 w-full" >
294- < h2 className = "font-bold lg:text-2xl" > { child . name } </ h2 >
295- < Image
296- src = { Arrow }
297- alt = ""
298- className = "-rotate-90 lg:block hidden"
299- />
290+ { child . iconSrc && (
291+ < Image src = { child . iconSrc } alt = "" className = "" />
292+ ) }
293+ < span className = "lg:flex lg:flex-col gap-1" >
294+ < span className = "flex gap-2 w-full" >
295+ < h2 className = "font-bold lg:text-2xl" > { child . name } </ h2 >
296+ < Image
297+ src = { Arrow }
298+ alt = ""
299+ className = "-rotate-90 lg:block hidden"
300+ />
301+ </ span >
302+ < p > { child . description } </ p >
300303 </ span >
301- < p > { child . description } </ p >
302304 </ Link >
303305 </ li >
304306 ) ) }
You can’t perform that action at this time.
0 commit comments