Skip to content

Commit fc30f2d

Browse files
committed
if this fixes the issues ill marry cursor
1 parent 09886a9 commit fc30f2d

2 files changed

Lines changed: 98 additions & 16 deletions

File tree

pilot.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mode: 'custom'
77
import { Button } from '/snippets/button.mdx';
88

99
<div
10-
className="relative w-full flex items-center justify-center"
10+
className="pilot-hero relative w-full flex items-center justify-center"
1111
style={{
1212
minHeight: '28rem',
1313
backgroundColor: 'black',
@@ -76,13 +76,13 @@ import { Button } from '/snippets/button.mdx';
7676
</div>
7777

7878
<div
79-
className="relative w-full flex flex-col items-center justify-center"
79+
className="pilot-section relative w-full flex flex-col items-center justify-center"
8080
style={{paddingTop: '6rem', paddingBottom: '6rem', maxWidth: '70rem', marginLeft: 'auto',
8181
marginRight: 'auto', paddingLeft: '1.25rem',
8282
paddingRight: '1.25rem', backgroundColor: 'black' }}
8383
>
8484
<div
85-
className="text-gray-900 dark:text-gray-200 font-branded"
85+
className="pilot-section-title text-gray-900 dark:text-gray-200 font-branded"
8686
style={{
8787
textAlign: 'center',
8888
fontSize: '24px',
@@ -119,7 +119,7 @@ import { Button } from '/snippets/button.mdx';
119119
</div>
120120

121121
<div
122-
className="relative w-full flex flex-col items-center justify-center"
122+
className="pilot-section relative w-full flex flex-col items-center justify-center"
123123
style={{
124124
paddingTop: '6rem',
125125
paddingBottom: '6rem',
@@ -161,7 +161,7 @@ import { Button } from '/snippets/button.mdx';
161161
{/* Content */}
162162
<div style={{ position: 'relative', maxWidth: '70rem', zIndex: 1 }}>
163163
<div
164-
className="text-gray-900 dark:text-gray-200 font-branded"
164+
className="pilot-section-title text-gray-900 dark:text-gray-200 font-branded"
165165
style={{
166166
textAlign: 'center',
167167
fontSize: '24px',
@@ -245,14 +245,14 @@ import { Button } from '/snippets/button.mdx';
245245
</div>
246246

247247
<div
248-
className="relative w-full flex flex-col items-center justify-center"
248+
className="pilot-section relative w-full flex flex-col items-center justify-center"
249249
style={{paddingTop: '6rem', paddingBottom: '6rem', maxWidth: '70rem', marginLeft: 'auto',
250250
marginRight: 'auto', paddingLeft: '1.25rem',
251251
paddingRight: '1.25rem', backgroundColor: 'black' }}
252252
>
253253
<div style={{maxWidth: '70rem'}}>
254254
<div
255-
className="text-gray-900 dark:text-gray-200 font-branded"
255+
className="pilot-section-title text-gray-900 dark:text-gray-200 font-branded"
256256
style={{
257257
textAlign: 'center',
258258
fontSize: '24px',
@@ -262,10 +262,10 @@ import { Button } from '/snippets/button.mdx';
262262
Credit Consumption Details
263263
</div>
264264
<div
265-
className="rounded-lg overflow-hidden border border-zinc-500/20"
265+
className="pilot-table-container rounded-lg overflow-hidden border border-zinc-500/20"
266266
style={{ marginTop: '1rem' }}
267267
>
268-
<table className="w-full text-left text-white" style={{maxWidth: '70rem'}}>
268+
<table className="pilot-table w-full text-left text-white" style={{maxWidth: '70rem'}}>
269269
<thead className="bg-zinc-500/10 backdrop-blur-md border-b border-gray-500">
270270
<tr>
271271
<th className="p-4 font-semibold text-white">Resource</th>
@@ -322,7 +322,7 @@ import { Button } from '/snippets/button.mdx';
322322
</div>
323323

324324
<div
325-
className="relative w-full flex flex-col items-center justify-center"
325+
className="pilot-section relative w-full flex flex-col items-center justify-center"
326326
style={{
327327
paddingTop: '6rem',
328328
paddingBottom: '6rem',
@@ -364,7 +364,7 @@ import { Button } from '/snippets/button.mdx';
364364
{/* Content */}
365365
<div style={{ position: 'relative', maxWidth: '70rem', zIndex: 1 }}>
366366
<div
367-
className="text-gray-900 dark:text-gray-200 font-branded"
367+
className="pilot-section-title text-gray-900 dark:text-gray-200 font-branded"
368368
style={{
369369
textAlign: 'center',
370370
fontSize: '24px',
@@ -375,10 +375,10 @@ import { Button } from '/snippets/button.mdx';
375375
</div>
376376

377377
<div
378-
className="rounded-lg overflow-hidden border border-zinc-500/20"
378+
className="pilot-table-container rounded-lg overflow-hidden border border-zinc-500/20"
379379
style={{ marginTop: '1rem' }}
380380
>
381-
<table className="w-full text-left border-collapse text-white" style={{maxWidth: '70rem'}}>
381+
<table className="pilot-table w-full text-left border-collapse text-white" style={{maxWidth: '70rem'}}>
382382
<thead className="bg-zinc-500/10 backdrop-blur-md border-b border-gray-500">
383383
<tr>
384384
<th className="p-4 font-semibold text-white">Feature</th>
@@ -437,13 +437,13 @@ import { Button } from '/snippets/button.mdx';
437437
</div>
438438

439439
<div
440-
className="relative w-full flex flex-col items-center justify-center"
440+
className="pilot-section relative w-full flex flex-col items-center justify-center"
441441
style={{paddingTop: '6rem', paddingBottom: '6rem', maxWidth: '70rem', marginLeft: 'auto',
442442
marginRight: 'auto', paddingLeft: '1.25rem',
443443
paddingRight: '1.25rem', backgroundColor: 'black' }}
444444
>
445445
<div
446-
className="text-gray-900 dark:text-gray-200 font-branded"
446+
className="pilot-section-title text-gray-900 dark:text-gray-200 font-branded"
447447
style={{
448448
textAlign: 'center',
449449
fontSize: '24px',

style.css

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,86 @@ td[data-label="Free Limit"] strong {
149149
padding-right: 1.5rem;
150150
font-size: 1rem;
151151
}
152-
}
152+
}
153+
/* Pilot page responsive styles */
154+
.pilot-hero {
155+
min-height: 24rem;
156+
}
157+
158+
.pilot-section {
159+
padding-top: 4rem;
160+
padding-bottom: 4rem;
161+
}
162+
163+
.pilot-section-title {
164+
font-size: 20px;
165+
}
166+
167+
.pilot-table-container {
168+
overflow-x: auto;
169+
-webkit-overflow-scrolling: touch;
170+
}
171+
172+
.pilot-table {
173+
min-width: 600px;
174+
}
175+
176+
@media (max-width: 640px) {
177+
.pilot-hero {
178+
min-height: 20rem;
179+
padding-left: 1rem;
180+
padding-right: 1rem;
181+
}
182+
183+
.pilot-section {
184+
padding-top: 3rem;
185+
padding-bottom: 3rem;
186+
padding-left: 1rem;
187+
padding-right: 1rem;
188+
}
189+
190+
.pilot-section-title {
191+
font-size: 18px;
192+
}
193+
194+
.pilot-table th,
195+
.pilot-table td {
196+
padding: 0.75rem;
197+
font-size: 0.875rem;
198+
}
199+
200+
.text-hero {
201+
font-size: 1.75rem !important;
202+
line-height: 1.2;
203+
}
204+
}
205+
206+
@media (max-width: 480px) {
207+
.pilot-hero {
208+
min-height: 18rem;
209+
padding-left: 0.75rem;
210+
padding-right: 0.75rem;
211+
}
212+
213+
.pilot-section {
214+
padding-top: 2rem;
215+
padding-bottom: 2rem;
216+
padding-left: 0.75rem;
217+
padding-right: 0.75rem;
218+
}
219+
220+
.pilot-section-title {
221+
font-size: 16px;
222+
}
223+
224+
.pilot-table th,
225+
.pilot-table td {
226+
padding: 0.5rem;
227+
font-size: 0.8rem;
228+
}
229+
230+
.text-hero {
231+
font-size: 1.5rem !important;
232+
line-height: 1.1;
233+
}
234+
}

0 commit comments

Comments
 (0)