Skip to content

Commit d3bd75c

Browse files
committed
Tweak the top minds for medium screens
1 parent 8796373 commit d3bd75c

File tree

1 file changed

+11
-10
lines changed
  • src/app/conf/2025/components/top-minds

1 file changed

+11
-10
lines changed

src/app/conf/2025/components/top-minds/index.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ export default function TopMindsSection({
2424
return (
2525
<section
2626
className={clsx(
27-
"gql-conf-section flex justify-center max-md:flex-col",
27+
"gql-conf-section flex justify-center max-md:flex-col [@media(767px<width<807px)]:px-6 [@media(807px<=width<858px)]:px-12",
2828
className,
2929
)}
3030
{...rest}
3131
>
32-
<div className="flex flex-wrap max-sm:flex-col [@media(width<=743px)]:justify-center [@media(width>=970px)]:*:border-b-0">
32+
<div className="flex grid-cols-2 flex-wrap [@media(444px<width<743px)]:grid [@media(width<=444px)]:flex-col [@media(width<=743px)]:justify-center [@media(width>=970px)]:*:border-b-0">
3333
{/* todo: remaining socials */}
3434
<h3 className="mr-auto flex w-full grow text-pretty pb-6 pr-6 typography-h2 [@media(width>857px)]:basis-0">
3535
Meet the top industry minds
@@ -46,6 +46,7 @@ export default function TopMindsSection({
4646
title="Netflix — CTO"
4747
src={elizabethStone}
4848
linkedin="elizabeth-stone-608a754"
49+
className="[@media(width<=742px)]:border-l"
4950
/>
5051
<div className="flex grow border-sec-dark [@media(width<970px)]:contents [@media(width>=970px)]:border-t [@media(width>=970px)]:*:border-t-0">
5152
<SpeakerCard
@@ -61,7 +62,7 @@ export default function TopMindsSection({
6162
title="Atlassian — CTO"
6263
src={rajeevRajan}
6364
linkedin="rajeev-rajan"
64-
className="[@media(744px<=width<=970px)]:border-l"
65+
className="[@media(639px<=width<=970px)]:border-l"
6566
/>
6667
<SpeakerCard
6768
name="Tanmai Gopal"
@@ -71,7 +72,7 @@ export default function TopMindsSection({
7172
linkedin="tanmaig"
7273
className="[@media(width<744px)]:border-l"
7374
/>
74-
<div className="mt-6 flex shrink-0 basis-[content] items-end justify-stretch max-lg:w-full max-sm:*:w-full sm:justify-end sm:pl-6 [@media(640px<=width<=855px)]:basis-[236px] [@media(width>855px)]:grow">
75+
<div className="mt-6 flex shrink-0 basis-[content] items-end justify-stretch max-lg:w-full [@media(640px<=width<=855px)]:basis-[236px] [@media(width<=444px)]:*:w-full [@media(width>742px)]:justify-end [@media(width>742px)]:pl-6 [@media(width>855px)]:grow">
7576
{hasSpeakersPage ? (
7677
<Button variant="secondary" href="/conf/2025/speakers/">
7778
View all speakers
@@ -106,24 +107,24 @@ function SpeakerCard({
106107
return (
107108
<article
108109
className={clsx(
109-
":border-r shrink-0 border-y border-r border-sec-dark first-of-type:border-l max-sm:border-l",
110+
"flex shrink-0 flex-col border-y border-r border-sec-dark first-of-type:border-l max-sm:border-l",
110111
className,
111112
)}
112113
>
113114
<Image
114115
src={src}
115116
alt=""
116-
width={236}
117-
height={236}
118-
className="aspect-square size-[312px] w-full object-cover transition-transform sm:size-[236px]"
117+
width={312}
118+
height={312}
119+
className="aspect-square size-[312px] w-full object-cover transition-transform sm:h-[236px]"
119120
/>
120-
<div className="flex items-stretch border-t border-sec-dark">
121+
<div className="flex flex-1 items-stretch border-t border-sec-dark">
121122
<div className="flex grow flex-col justify-center gap-1 p-3 sm:h-[80px]">
122123
<h4 className="typography-body-md">{name}</h4>
123124
<p className="text-neu-700 typography-body-xs">{title}</p>
124125
</div>
125126
{(linkedin || twitter) && (
126-
<div className="flex items-center border-l border-sec-dark max-sm:divide-x sm:flex-col sm:divide-y sm:border-l">
127+
<div className="flex border-l border-sec-dark max-sm:divide-x sm:flex-col sm:items-center sm:divide-y sm:border-l">
127128
{linkedin && (
128129
<a
129130
href={`https://www.linkedin.com/in/${linkedin}`}

0 commit comments

Comments
 (0)