Skip to content

Commit 4f0514f

Browse files
committed
Begin mobile version
1 parent 4de63a3 commit 4f0514f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/app/conf/2025/components/call-for-proposals.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function TabHeading({
2222

2323
function DatesTab() {
2424
return (
25-
<dl className="divide-y divide-neu-300 border border-neu-300">
25+
<dl className="divide-y divide-sec-dark border-neu-300 md:divide-neu-300 md:border">
2626
<DefinitionListItem term="CFP Opens" definition="Tuesday, 4 February" />
2727
<DefinitionListItem
2828
term="CFP Close"
@@ -58,11 +58,11 @@ function DefinitionListItem({
5858
definition: string
5959
}) {
6060
return (
61-
<div className={clsx(className, "flex border-neu-200 typography-body-md")}>
62-
<dt className="flex w-[184.5px] shrink-0 items-center whitespace-pre border-r border-neu-300 bg-white/[0.79] p-4">
61+
<div className={clsx(className, "flex typography-body-md max-md:flex-col")}>
62+
<dt className="flex w-[184.5px] shrink-0 items-center whitespace-pre border-neu-300 bg-white/[0.79] px-3 py-2 max-md:w-full md:border-r md:p-4">
6363
{term}
6464
</dt>
65-
<dd className="flex flex-1 items-center bg-white/[0.48] p-4 backdrop-blur-[3px]">
65+
<dd className="flex flex-1 items-center bg-white/[0.48] px-3 py-2 backdrop-blur-[3px] md:p-4">
6666
{definition}
6767
</dd>
6868
</div>
@@ -326,8 +326,8 @@ export function CallForProposals() {
326326

327327
return (
328328
<section id="speakers" className="gql-conf-section gql-conf-container">
329-
<div className="flex p-4 *:basis-1/2 max-md:flex-col">
330-
<div className="border-sec-dark bg-sec-light dark:border-sec-lighter md:border-r md:p-8 lg:p-16">
329+
<div className="flex *:basis-1/2 max-md:flex-col">
330+
<div className="border-sec-dark bg-sec-light p-4 dark:border-sec-lighter md:border-r md:p-8 lg:p-16">
331331
<h1 className="typography-h2">Call for Proposals</h1>
332332
<p className="mt-6 md:mt-10">
333333
Putting on an amazing conference depends on great content, which is
@@ -373,6 +373,7 @@ export function CallForProposals() {
373373
{buttonText}
374374
</Button>
375375
</div>
376+
{/* todo: this might need to be a grid on mobile */}
376377
<article className="flex h-auto flex-col bg-[#C6F267]">
377378
<div
378379
role="tablist"

0 commit comments

Comments
 (0)