Skip to content

Commit f0fc29b

Browse files
committed
....
1 parent 7ce295c commit f0fc29b

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

app/_components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

app/events/[slug]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

app/globals.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
}
2020
}
2121

22+
html {
23+
scroll-behavior: smooth;
24+
}
25+
2226
body {
2327
background: var(--background);
2428
color: var(--foreground);

0 commit comments

Comments
 (0)