Skip to content

Commit 20247e9

Browse files
committed
more responsive
1 parent 73951f7 commit 20247e9

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

pilot.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ import { Button } from '/snippets/button.mdx';
504504
</div>
505505

506506
<div
507-
className="relative w-full flex items-center justify-between"
507+
className="footer-section relative w-full flex items-center justify-between"
508508
style={{
509509
marginTop: '3rem',
510510
height: '14rem',
@@ -541,11 +541,11 @@ import { Button } from '/snippets/button.mdx';
541541
}}
542542
/>
543543
{/* Content */}
544-
<div style={{ position: 'relative', zIndex: 1 }} className="flex flex-col text-gray-900 text-3xl dark:text-gray-200 font-branded">
544+
<div style={{ position: 'relative', zIndex: 1 }} className="footer-text flex flex-col text-gray-900 text-3xl dark:text-gray-200 font-branded">
545545
<p>Ready to join the pilot?</p>
546546
<p>Start using the pay-per-use model today.</p>
547547
</div>
548-
<div style={{ position: 'relative', zIndex: 1 }} className="flex flex-row gap-6 items-center">
548+
<div style={{ position: 'relative', zIndex: 1 }} className="footer-buttons flex flex-row gap-6 items-center">
549549
<div className="not-prose group">
550550
<a href="/pilot-application" >
551551
<button className="flex items-center space-x-2.5 py-4 px-8 bg-primary-dark dark:bg-white text-lg text-white dark:text-gray-950 rounded-xl group-hover:opacity-[0.9] font-medium">

style.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,34 @@ td[data-label="Free Limit"] strong {
119119
.step {
120120
padding-right: 0 !important;
121121
}
122+
}
123+
124+
@media (max-width: 768px) {
125+
.footer-section {
126+
flex-direction: column;
127+
justify-content: center;
128+
padding-left: 2rem;
129+
padding-right: 2rem;
130+
height: auto;
131+
gap: 2rem;
132+
}
133+
134+
.footer-text {
135+
text-align: center;
136+
font-size: 1.5rem;
137+
}
138+
139+
.footer-buttons {
140+
justify-content: center;
141+
gap: 1rem;
142+
flex-wrap: wrap;
143+
}
144+
145+
.footer-buttons .not-prose.group button {
146+
padding-top: 0.75rem;
147+
padding-bottom: 0.75rem;
148+
padding-left: 1.5rem;
149+
padding-right: 1.5rem;
150+
font-size: 1rem;
151+
}
122152
}

0 commit comments

Comments
 (0)