Skip to content

Commit ed60b74

Browse files
committed
Add What to Expect section
1 parent eec94db commit ed60b74

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import clsx from "clsx"
2+
import { HTMLAttributes } from "react"
3+
4+
interface WhatToExpectSectionProps extends HTMLAttributes<HTMLElement> {}
5+
6+
export default function WhatToExpectSection({
7+
className,
8+
...rest
9+
}: WhatToExpectSectionProps) {
10+
return (
11+
<section className={clsx("text-neu-900", className)} {...rest}>
12+
<h1>What to expect</h1>
13+
<dl className="uppercase [text-box:trim_cap]">
14+
<li className="p-6">
15+
<span className="text-[72px]">3</span> days
16+
</li>
17+
<li className="p-6">23 speakers</li>
18+
<li className="p-6">36 panels & workshops</li>
19+
<li className="p-6">1 unique venue</li>
20+
</dl>
21+
</section>
22+
)
23+
}

src/app/conf/2025/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Sponsors } from "./sponsors"
99
import { Speakers } from "./speakers"
1010
import { RegisterToday } from "./components/register-today"
1111
import { Hero } from "./components/hero"
12+
import WhatToExpectSection from "./components/what-to-expect"
1213

1314
export const metadata: Metadata = {
1415
title: "GraphQLConf 2025 — Sept 08-10",
@@ -35,7 +36,8 @@ export default function Page() {
3536
<main>
3637
<Hero />
3738
<div className="mx-auto max-w-[90rem]">
38-
<RegisterToday className="my-8 md:mb-16 md:mt-24" />
39+
<RegisterToday className="mt-8 md:mb-16 md:mt-24" />
40+
<WhatToExpectSection className="mt-8" />
3941
</div>
4042
<div className="container my-20 flex flex-col gap-20 md:my-32 md:gap-32">
4143
<Intro />

0 commit comments

Comments
 (0)