File tree Expand file tree Collapse file tree 3 files changed +30
-15
lines changed
Expand file tree Collapse file tree 3 files changed +30
-15
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export function RegisterToday({ className }: RegisterTodayProps) {
1414 return (
1515 < section
1616 className = { clsx (
17- "flex gap-10 px-4 max-lg:flex-col-reverse lg:px-12 xl:gap-x-24 xl:px-24" ,
17+ "flex gap-10 px-4 py-8 max-lg:flex-col-reverse lg:px-12 xl:gap-x-24 xl:px-24" ,
1818 className ,
1919 ) }
2020 >
@@ -28,10 +28,10 @@ export function RegisterToday({ className }: RegisterTodayProps) {
2828 />
2929 < div className = "flex flex-col justify-between" >
3030 < div >
31- < h2 className = "typography-h2 text-neu-900" >
31+ < h2 className = "text-neu-900 typography-h2 " >
3232 Let's celebrate 10 years of GraphQL together
3333 </ h2 >
34- < p className = "typography-h3 text-neu-800 mt-6 md:mt-10" >
34+ < p className = "mt-6 text-neu-800 typography-h3 md:mt-10" >
3535 Join three transformative days of expert insights and innovation to
3636 shape the next decade of APIs!
3737 </ p >
Original file line number Diff line number Diff line change @@ -8,16 +8,31 @@ export default function WhatToExpectSection({
88 ...rest
99} : WhatToExpectSectionProps ) {
1010 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 >
11+ < section
12+ className = { clsx (
13+ "flex gap-6 px-4 py-8 text-neu-900 max-md:flex-col lg:px-12 xl:gap-x-24 xl:px-24" ,
14+ className ,
15+ ) }
16+ { ...rest }
17+ >
18+ < h3 className = "typography-h2 md:flex-1" > What to expect</ h3 >
19+ < dl className = "flex flex-col gap-6 uppercase md:flex-1" >
20+ < ListItem number = "3" text = "days" />
21+ < ListItem number = "23" text = "speakers" />
22+ < ListItem number = "36" text = "panels & workshops" />
23+ < ListItem number = "1" text = "unique venue" />
2024 </ dl >
2125 </ section >
2226 )
2327}
28+
29+ function ListItem ( { number, text } : { number : string ; text : string } ) {
30+ return (
31+ < li className = "list-none bg-gradient-to-r from-[#CDF27E] p-6 dark:from-[#507501]" >
32+ < span className = "inline-block w-[87px] text-[72px]/none [text-box:trim-both_cap_alphabetic]" >
33+ { number }
34+ </ span > { " " }
35+ < span className = "ml-10 inline-block typography-menu" > { text } </ span >
36+ </ li >
37+ )
38+ }
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ export default function Page() {
3535 return (
3636 < main >
3737 < Hero />
38- < div className = "mx-auto max-w-[90rem] " >
39- < RegisterToday className = "mt-8 md:mb-16 md:mt-24" />
40- < WhatToExpectSection className = "mt-8 " />
38+ < div className = "gql-conf-container mx-auto " >
39+ < RegisterToday className = "md:mb-8 md:mt-24" />
40+ < WhatToExpectSection className = "md:mb-8 md:mt-24 " />
4141 </ div >
4242 < div className = "container my-20 flex flex-col gap-20 md:my-32 md:gap-32" >
4343 < Intro />
You can’t perform that action at this time.
0 commit comments