@@ -19,7 +19,6 @@ export type HeroProps = {
19
19
bottom ?: React . ReactNode
20
20
colorScheme ?: "primary" | "neutral"
21
21
stripes ?: ReactNode
22
- secondColumn ?: ReactNode
23
22
} & (
24
23
| { year : string | number ; subtitle ?: never }
25
24
| { year ?: never ; subtitle : string }
@@ -63,20 +62,18 @@ export function Hero(props: HeroProps) {
63
62
</ span >
64
63
</ h1 >
65
64
) }
66
- { props . secondColumn || (
67
- < div className = "flex h-min items-center gap-4" >
68
- < span className = "typography-body-sm whitespace-pre" >
69
- hosted by
70
- </ span >
71
- < GraphQLFoundationWordmark
72
- width = { 128 }
73
- height = { 34.877 }
74
- className = {
75
- colorScheme === "neutral" ? "[&_path]:fill-primary" : ""
76
- }
77
- />
78
- </ div >
79
- ) }
65
+ < div className = "flex h-min items-center gap-4" >
66
+ < span className = "typography-body-sm whitespace-pre" >
67
+ hosted by
68
+ </ span >
69
+ < GraphQLFoundationWordmark
70
+ width = { 128 }
71
+ height = { 34.877 }
72
+ className = {
73
+ colorScheme === "neutral" ? "[&_path]:fill-primary" : ""
74
+ }
75
+ />
76
+ </ div >
80
77
</ div >
81
78
82
79
< div className = "flex flex-col gap-8" > { props . children } </ div >
@@ -87,24 +84,14 @@ export function Hero(props: HeroProps) {
87
84
)
88
85
}
89
86
90
- export function HeroDateAndLocation (
91
- props : React . HTMLAttributes < HTMLDivElement > ,
92
- ) {
87
+ export function HeroDateAndLocation ( ) {
93
88
return (
94
- < div
95
- { ...props }
96
- className = { clsx (
97
- "typography-body-md flex flex-col gap-4 md:flex-row md:gap-6" ,
98
- props . className ,
99
- ) }
100
- >
89
+ < div className = "typography-body-md flex flex-col gap-4 md:flex-row md:gap-6" >
101
90
< div className = "flex items-center gap-2" >
102
91
< CalendarIcon className = "size-5 sm:size-6" />
103
- < span >
104
- < time dateTime = "2025-09-08" > September 08</ time >
105
- < span > -</ span >
106
- < time dateTime = "2025-09-10" > 10, 2025</ time >
107
- </ span >
92
+ < time dateTime = "2025-09-08" > September 08</ time >
93
+ < span > -</ span >
94
+ < time dateTime = "2025-09-10" > 10, 2025</ time >
108
95
</ div >
109
96
< div className = "flex items-center gap-2" >
110
97
< PinIcon className = "size-5 sm:size-6" />
0 commit comments