File tree Expand file tree Collapse file tree
src/app/conf/2025/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import clsx from "clsx"
22import { HTMLAttributes } from "react"
33
4+ import { schedule , speakers } from "../_data"
5+
46interface WhatToExpectSectionProps extends HTMLAttributes < HTMLElement > { }
57
68export 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]" >
You can’t perform that action at this time.
0 commit comments