Skip to content

Commit d67e15a

Browse files
committed
Add a hero photo
1 parent 8cf8942 commit d67e15a

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed
184 KB
Loading

src/app/conf/2025/events/fost/page.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Metadata } from "next"
2+
import Image from "next-image-export-optimizer"
23

34
import { Button } from "@/app/conf/_design-system/button"
45

@@ -7,6 +8,8 @@ import { NavbarPlaceholder } from "../../components/navbar"
78
import { CalendarIcon } from "../../../_design-system/pixelarticons/calendar-icon"
89
import { PinIcon } from "../../../_design-system/pixelarticons/pin-icon"
910

11+
import heroPhoto from "./hero-photo.webp"
12+
1013
export const metadata: Metadata = {
1114
title: "GraphQL Day at FOST",
1215
}
@@ -28,19 +31,34 @@ export default function ResourcesPage() {
2831
colorScheme="neutral"
2932
stripes={
3033
<HeroStripes
31-
className="-scale-x-100 dark:data-[loaded=true]:opacity-80"
34+
className="-scale-x-100 [--color-sec-base:181deg_97.8%_36.1%] [--color-sec-dark:181deg_98.3%_23.1%] [--color-sec-light:181deg_74.3%_80.2%] dark:data-[loaded=true]:opacity-80"
3235
evenClassName="bg-[linear-gradient(180deg,hsl(var(--color-sec-light))_0%,hsl(319deg_100%_90%_/_0.2)_100%)] dark:bg-[linear-gradient(180deg,hsl(var(--color-sec-dark))_0%,hsl(var(--color-neu-100))_100%)]"
3336
oddClassName="bg-[linear-gradient(180deg,hsl(319deg_100%_90%_/_0.2)_0%,hsl(var(--color-sec-base))_100%)] dark:bg-[linear-gradient(180deg,hsl(var(--color-sec-dark))_0%,hsl(var(--color-neu-0))_100%)]"
3437
/>
3538
}
3639
rightContent={null}
40+
bottom={
41+
<div className="z-[2]">
42+
<Image
43+
src={heroPhoto}
44+
width={1920}
45+
height={560}
46+
alt="a black and white photo of CNIT in La Defense, Paris"
47+
className="mx-auto h-[560px] w-[1920px] max-w-full object-cover"
48+
/>
49+
</div>
50+
}
3751
>
3852
<HeroDateAndLocation />
3953
<div className="flex items-center gap-4 max-md:flex-col">
4054
<Button href={CFP_LINK} className="md:w-fit">
4155
Submit a proposal
4256
</Button>
43-
<Button className="md:w-fit" href={TICKETS_LINK} variant="secondary">
57+
<Button
58+
className="backdrop-blur-xl md:w-fit"
59+
href={TICKETS_LINK}
60+
variant="secondary"
61+
>
4462
Get your tickets
4563
</Button>
4664
</div>

0 commit comments

Comments
 (0)