@@ -25,7 +25,7 @@ export default function TopMindsSection({
25
25
) }
26
26
{ ...rest }
27
27
>
28
- < div className = "flex flex-wrap max-sm:flex-col" >
28
+ < div className = "flex flex-wrap max-sm:flex-col sm:*:border-b-0 " >
29
29
{ /* todo: look up socials */ }
30
30
< h3 className = "grow pb-6 pr-6 typography-h2" >
31
31
Meet the top industry minds
@@ -34,14 +34,16 @@ export default function TopMindsSection({
34
34
name = "Uri Goldshtein"
35
35
title = "The Guild — Founder"
36
36
src = { uriGoldshtein }
37
+ linkedin = "urigo"
38
+ twitter = "UriGoldshtein"
37
39
/>
38
40
< SpeakerCard
39
41
name = "Elizabeth Stone"
40
42
title = "Netflix — CTO"
41
43
src = { elizabethStone }
42
- linkedinHref = "https://www.linkedin.com/in/ elizabeth-stone-608a754/ "
44
+ linkedin = " elizabeth-stone-608a754"
43
45
/>
44
- < div className = "flex grow max-sm:contents" >
46
+ < div className = "flex grow border-t border-sec-dark *:border-t-0 max-sm:contents" >
45
47
< SpeakerCard
46
48
name = "Kamil Kisiela"
47
49
title = "The Guild — Developer"
@@ -51,11 +53,14 @@ export default function TopMindsSection({
51
53
name = "Rajeev Rajan"
52
54
title = "Atlassian — CTO"
53
55
src = { rajeevRajan }
56
+ linkedin = "rajeev-rajan"
54
57
/>
55
58
< SpeakerCard
56
59
name = "Tenmai Gopal"
57
60
title = "Hasura — CEO & Co-Founder"
58
61
src = { tenmaiGopal }
62
+ twitter = "tanmaigo"
63
+ linkedin = "tanmaig"
59
64
/>
60
65
< div className = "mt-6 flex grow items-end justify-end pl-6" >
61
66
< Button variant = "secondary" > View all speakers</ Button >
@@ -70,15 +75,15 @@ function SpeakerCard({
70
75
name,
71
76
title,
72
77
src,
73
- twitterHref ,
74
- linkedinHref ,
78
+ twitter ,
79
+ linkedin ,
75
80
className,
76
81
} : {
77
82
name : string
78
83
title : string
79
84
src : string | StaticImageData
80
- twitterHref ?: string
81
- linkedinHref ?: string
85
+ twitter ?: string
86
+ linkedin ?: string
82
87
className ?: string
83
88
} ) {
84
89
return (
@@ -96,28 +101,28 @@ function SpeakerCard({
96
101
className = "aspect-square size-[236px] w-full object-cover transition-transform"
97
102
/>
98
103
< div className = "flex items-stretch border-t border-sec-dark" >
99
- < div className = "flex grow flex-col gap-1 p-3" >
104
+ < div className = "flex h-[80px] grow flex-col justify-center gap-1 p-3" >
100
105
< h4 className = "typography-body-md" > { name } </ h4 >
101
106
< p className = "text-neu-700 typography-body-xs" > { title } </ p >
102
107
</ div >
103
- { ( linkedinHref || twitterHref ) && (
108
+ { ( linkedin || twitter ) && (
104
109
< div className = "flex items-center border-l border-sec-dark sm:flex-col sm:border-l" >
105
- { linkedinHref && (
110
+ { linkedin && (
106
111
< a
107
- href = { linkedinHref }
112
+ href = { `https://www.linkedin.com/in/ ${ linkedin } ` }
108
113
target = "_blank"
109
114
rel = "noopener noreferrer"
110
- className = "flex grow items-center justify-center p-4 transition-colors hover:text -neu-700 dark: hover:text-neu-400 sm:p-2"
115
+ className = "flex grow items-center justify-center p-4 transition-colors hover:bg -neu-900/10 hover:text-neu-700 sm:p-2"
111
116
>
112
117
< LinkedInIcon />
113
118
</ a >
114
119
) }
115
- { twitterHref && (
120
+ { twitter && (
116
121
< a
117
- href = { twitterHref }
122
+ href = { `https://x.com/ ${ twitter } ` }
118
123
target = "_blank"
119
124
rel = "noopener noreferrer"
120
- className = "flex grow items-center justify-center p-4 transition-colors hover:text -neu-700 dark: hover:text-neu-400 sm:p-2"
125
+ className = "flex grow items-center justify-center p-4 transition-colors hover:bg -neu-900/10 hover:text-neu-700 sm:p-2"
121
126
>
122
127
< TwitterIcon className = "size-6" />
123
128
</ a >
0 commit comments