File tree Expand file tree Collapse file tree
features/navbar/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 };
1414 </script >
1515
16- <nav id =" navbar" class =" flex h-16 items-center bg-base-300 px-4" >
16+ <nav
17+ id =" navbar"
18+ class =" sticky top-0 z-50 flex h-16 items-center bg-base-300 px-4"
19+ >
1720 <a class =" font-rocket-rinder text-xl text-secondary" href =" /" >
1821 Neal Wang
1922 </a >
Original file line number Diff line number Diff line change 44 interface Props {
55 title: string ;
66 image: string ;
7+ smallerText: boolean ;
78 }
89
9- const { title, image }: Props = $props ();
10+ const { title, image, smallerText }: Props = $props ();
1011 </script >
1112
1213<div
1819 <div class =" hero-content text-center text-neutral-content" >
1920 <div class =" max-w-md" >
2021 <a href =" /" >
21- <h1 id =" name" class =" mb-4 text-5xl md:text-6xl" >
22+ <h1
23+ id =" name"
24+ class ={` mb-4 ${smallerText ? " text-4xl" : " text-5xl" } md:text-6xl ` }
25+ >
2226 <MetallicText >{title }</MetallicText >
2327 </h1 >
2428 </a >
Original file line number Diff line number Diff line change 1010 const works = yaml .load (worksRaw ) as Work [];
1111 </script >
1212
13- <Banner title =" Experience" image =" gears" />
13+ <Banner title =" Experience" image =" gears" smallerText />
1414
1515<div class =" mt-12 flex p-4 sm:p-8 md:justify-center" >
1616 <article class =" prose max-w-none md:w-2/3 lg:prose-xl" >
You can’t perform that action at this time.
0 commit comments