File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default function Header({
2727 >
2828 { /* Title */ }
2929 < Link href = "/" className = "z-1000" >
30- < h1 className = "text-2xl font-mono font-thin text-white cursor-cell ml-2 background-blend-difference z-1000 " >
30+ < h1 className = "text-2xl font-mono font-thin text-white cursor-cell ml-2 background-blend-difference" >
3131 { headerText }
3232 </ h1 > </ Link >
3333 </ header >
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ export default async function EventPage({ params }: { params: { slug: string } }
1212 if ( ! event ) return notFound ( ) ;
1313
1414 return (
15- < div className = "font-mono h-screen md:fixed font-thin mx-auto space-y-6 text-white grid grid-cols-1 md:grid-cols-2 pr-2" >
15+ < div className = "font-mono h-screen md:fixed font-thin mx-auto space-y-6 text-white grid grid-cols-1 md:grid-cols-2 pr-2 scroll-smooth " >
1616
1717 { /*Left Col*/ }
18- < div className = "md:sticky md:w-[90%] md:overflow-y-scroll md:h-screen whitespace-pre-line scroll-smooth pb-25" >
18+ < div className = "md:sticky md:w-[90%] md:overflow-y-scroll md:h-screen whitespace-pre-line pb-25" >
1919 < h1 className = "text-2xl" > { event . title } </ h1 > < br />
2020 < p className = "text-white/60" > { event . date } </ p > < br />
2121 < div className = "relative" >
@@ -31,7 +31,7 @@ export default async function EventPage({ params }: { params: { slug: string } }
3131 </ div >
3232 </ div >
3333 < Link href = "#images"
34- className = "sticky bottom-10 w-full md:hidden border-white bg-black text-center border-[0.5px]" >
34+ className = "sticky bottom-10 w-full md:hidden border-white bg-amber-900 text-center border-[0.5px]" >
3535 Images
3636 </ Link >
3737
Original file line number Diff line number Diff line change 1919 }
2020}
2121
22+ html {
23+ scroll-behavior : smooth;
24+ }
25+
2226body {
2327 background : var (--background );
2428 color : var (--foreground );
You can’t perform that action at this time.
0 commit comments