Skip to content

Commit a5b2ea5

Browse files
committed
Tweak the copy in What to Expect section
1 parent 0a847c7 commit a5b2ea5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/app/conf/2025/components/what-to-expect.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import clsx from "clsx"
22
import { HTMLAttributes } from "react"
33

4+
import { schedule, speakers } from "../_data"
5+
46
interface WhatToExpectSectionProps extends HTMLAttributes<HTMLElement> {}
57

68
export default function WhatToExpectSection({
@@ -14,16 +16,16 @@ export default function WhatToExpectSection({
1416
>
1517
<h3 className="typography-h2 md:flex-1">What to expect</h3>
1618
<ul className="flex flex-col gap-6 uppercase md:flex-1">
17-
<ListItem number="75+" text="talks" />
18-
<ListItem number="42" text="sessions" />
19+
<ListItem number={schedule.length} text="sessions" />
20+
<ListItem number={speakers.length} text="speakers" />
21+
<ListItem number="9" text="lightning talks" />
1922
<ListItem number="7" text="workshops" />
20-
<ListItem number="1" text="unique venue" />
2123
</ul>
2224
</section>
2325
)
2426
}
2527

26-
function ListItem({ number, text }: { number: string; text: string }) {
28+
function ListItem({ number, text }: { number: string | number; text: string }) {
2729
return (
2830
<li className="list-none bg-gradient-to-r from-[#CDF27E] p-6 dark:from-[#507501]">
2931
<span className="inline-block w-[87px] text-[72px]/none [text-box:trim-both_cap_alphabetic]">

0 commit comments

Comments
 (0)