File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/app/conf/2025/components Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
import clsx from "clsx"
2
2
import { HTMLAttributes } from "react"
3
3
4
+ import { schedule , speakers } from "../_data"
5
+
4
6
interface WhatToExpectSectionProps extends HTMLAttributes < HTMLElement > { }
5
7
6
8
export default function WhatToExpectSection ( {
@@ -14,16 +16,16 @@ export default function WhatToExpectSection({
14
16
>
15
17
< h3 className = "typography-h2 md:flex-1" > What to expect</ h3 >
16
18
< 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" />
19
22
< ListItem number = "7" text = "workshops" />
20
- < ListItem number = "1" text = "unique venue" />
21
23
</ ul >
22
24
</ section >
23
25
)
24
26
}
25
27
26
- function ListItem ( { number, text } : { number : string ; text : string } ) {
28
+ function ListItem ( { number, text } : { number : string | number ; text : string } ) {
27
29
return (
28
30
< li className = "list-none bg-gradient-to-r from-[#CDF27E] p-6 dark:from-[#507501]" >
29
31
< 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