Skip to content

Commit 68a2f9a

Browse files
[autofix.ci] apply automated fixes
1 parent 42d7834 commit 68a2f9a

File tree

13 files changed

+102
-344
lines changed

13 files changed

+102
-344
lines changed

apps/www/app/globals.css

Lines changed: 37 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -3,91 +3,63 @@
33
@tailwind utilities;
44

55
.bg-yt-button-gradient {
6-
background: linear-gradient(
7-
243deg,
8-
rgba(255, 255, 255, 0.6) 0%,
9-
rgba(255, 255, 255, 0) 100%
10-
);
6+
background: linear-gradient(243deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
117
backdrop-filter: blur(5px);
128
}
139

1410
.section-title-heading-gradient {
15-
background: linear-gradient(
16-
86deg,
17-
#fff 27.24%,
18-
rgba(255, 255, 255, 0.4) 66.97%
19-
);
11+
background: linear-gradient(86deg, #fff 27.24%, rgba(255, 255, 255, 0.4) 66.97%);
2012
background-clip: text;
2113
-webkit-background-clip: text;
2214
-webkit-text-fill-color: transparent;
2315
}
2416

2517
.usage-bento-bg-gradient {
26-
background: linear-gradient(
27-
180deg,
28-
rgba(17, 17, 17, 0.7) 0%,
29-
rgba(0, 0, 0, 0.5) 100%
30-
);
18+
background: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
3119
backdrop-filter: blur(150px);
3220
}
3321

3422
.stats-border-gradient {
35-
background:
36-
linear-gradient(#010101, #010101) padding-box,
23+
background: linear-gradient(#010101, #010101) padding-box,
3724
radial-gradient(
38-
17.42% 100% at 71.66% 0%,
39-
rgba(255, 255, 255, 0.15) 0%,
40-
rgba(255, 255, 255, 0.01) 100%
41-
)
42-
border-box,
25+
17.42% 100% at 71.66% 0%,
26+
rgba(255, 255, 255, 0.15) 0%,
27+
rgba(255, 255, 255, 0.01) 100%
28+
)
29+
border-box,
4330
radial-gradient(
44-
595.89% 141.42% at 100% 0%,
45-
rgba(255, 255, 255, 0.12) 0%,
46-
rgba(255, 255, 255, 0.06) 50%,
47-
rgba(255, 255, 255, 0) 100%
48-
)
49-
border-box;
31+
595.89% 141.42% at 100% 0%,
32+
rgba(255, 255, 255, 0.12) 0%,
33+
rgba(255, 255, 255, 0.06) 50%,
34+
rgba(255, 255, 255, 0) 100%
35+
)
36+
border-box;
5037
border-radius: 32px;
5138
border: 0.75px solid transparent;
5239
}
5340

5441
.stats-number-gradient {
55-
background: linear-gradient(
56-
to right,
57-
rgba(255, 255, 255, 1) 0%,
58-
rgba(255, 255, 255, 0.3) 80%
59-
);
42+
background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.3) 80%);
6043
background-clip: text;
6144
-webkit-background-clip: text;
6245
-webkit-text-fill-color: transparent;
6346
}
6447

6548
.editor-top-gradient {
66-
background:
67-
linear-gradient(
49+
background: linear-gradient(
6850
180deg,
6951
rgba(255, 255, 255, 0.08) 0%,
7052
rgba(255, 255, 255, 0) 50%,
7153
rgba(255, 255, 255, 0) 100%
72-
),
73-
#000;
54+
), #000;
7455
}
7556

7657
.analytics-linear-gradient {
77-
background: linear-gradient(
78-
to bottom,
79-
#11111199 0%,
80-
#11111199 40%,
81-
rgba(0, 0, 0, 50%) 100%
82-
);
58+
background: linear-gradient(to bottom, #11111199 0%, #11111199 40%, rgba(0, 0, 0, 50%) 100%);
8359
}
8460

8561
.analytics-background-gradient::before {
86-
background: radial-gradient(
87-
520% 82.5% at 10.25% 85%,
88-
black,
89-
rgba(200, 200, 200, 0.08)
90-
);
62+
background: radial-gradient(520% 82.5% at 10.25% 85%, black, rgba(200, 200, 200, 0.08));
9163
content: "";
9264
border-bottom-left-radius: 24px;
9365
border-bottom-right-radius: 24px;
@@ -99,11 +71,7 @@
9971
}
10072

10173
.analytics-dashboard-gradient::before {
102-
background: radial-gradient(
103-
300% 82.5% at 10.25% 100%,
104-
black,
105-
rgba(200, 200, 200, 0.08)
106-
);
74+
background: radial-gradient(300% 82.5% at 10.25% 100%, black, rgba(200, 200, 200, 0.08));
10775
content: "";
10876
border-bottom-right-radius: 24px;
10977
border-top-left-radius: 24px;
@@ -134,36 +102,21 @@
134102
}
135103

136104
.blog-breadcrumb-gradient {
137-
background: linear-gradient(
138-
100deg,
139-
#fff 0%,
140-
#fff 54.36%,
141-
rgba(255, 255, 255, 0.6) 108.72%
142-
);
105+
background: linear-gradient(100deg, #fff 0%, #fff 54.36%, rgba(255, 255, 255, 0.6) 108.72%);
143106
background-clip: text;
144107
-webkit-background-clip: text;
145108
-webkit-text-fill-color: transparent;
146109
}
147110

148111
.blog-heading-gradient {
149-
background: linear-gradient(
150-
100.35deg,
151-
#ffffff 0%,
152-
#ffffff 37.45%,
153-
rgba(255, 255, 255, 0.6) 74.9%
154-
);
112+
background: linear-gradient(100.35deg, #ffffff 0%, #ffffff 37.45%, rgba(255, 255, 255, 0.6) 74.9%);
155113
background-clip: text;
156114
-webkit-background-clip: text;
157115
-webkit-text-fill-color: transparent;
158116
}
159117

160118
.usage-item-gradient {
161-
background:
162-
linear-gradient(
163-
90deg,
164-
rgba(255, 255, 255, 0.08) 0%,
165-
rgba(255, 255, 255, 0.01) 100%
166-
),
119+
background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%),
167120
#000;
168121
}
169122

@@ -202,9 +155,7 @@ li > p {
202155
}
203156

204157
.audit-logs-bg-gradient {
205-
background:
206-
linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%),
207-
#000;
158+
background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%), #000;
208159
}
209160

210161
.audit-logs-fade-gradient {
@@ -213,11 +164,7 @@ li > p {
213164

214165
.audit-logs-fade-gradient::after {
215166
position: absolute;
216-
background: radial-gradient(
217-
300% 82.5% at 10.25% 100%,
218-
black,
219-
rgba(200, 200, 200, 0.08)
220-
);
167+
background: radial-gradient(300% 82.5% at 10.25% 100%, black, rgba(200, 200, 200, 0.08));
221168
display: block;
222169
content: "";
223170
height: 340px;
@@ -236,11 +183,7 @@ li > p {
236183
}
237184

238185
.ip-blur-gradient::before {
239-
background: radial-gradient(
240-
300% 82.5% at 10.25% 100%,
241-
black,
242-
rgba(200, 200, 200, 0)
243-
);
186+
background: radial-gradient(300% 82.5% at 10.25% 100%, black, rgba(200, 200, 200, 0));
244187
content: "";
245188
border-top-right-radius: 24px;
246189
border-top-left-radius: 24px;
@@ -261,12 +204,7 @@ li > p {
261204
}
262205

263206
.ratelimits-editor-bg-gradient-2 {
264-
background:
265-
linear-gradient(
266-
0deg,
267-
rgba(255, 255, 255, 0.05) 0%,
268-
rgba(255, 255, 255, 0) 95.37%
269-
),
207+
background: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 95.37%),
270208
#000;
271209
}
272210

@@ -276,11 +214,7 @@ li > p {
276214

277215
.ratelimits-fade-gradient::after {
278216
position: absolute;
279-
background: radial-gradient(
280-
100% 92.5% at 10.25% 90%,
281-
black,
282-
rgba(200, 200, 200, 0.02)
283-
);
217+
background: radial-gradient(100% 92.5% at 10.25% 90%, black, rgba(200, 200, 200, 0.02));
284218
display: block;
285219
content: "";
286220
height: 100%;
@@ -299,9 +233,7 @@ li > p {
299233
}
300234

301235
.ratelimits-key-icon {
302-
fill:
303-
linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%),
304-
#3ceeae;
236+
fill: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%), #3ceeae;
305237
stroke-width: 0.75px;
306238
stroke: rgba(255, 255, 255, 0.1);
307239
filter: drop-shadow(0px 0px 30px #3ceeae);
@@ -327,14 +259,7 @@ li > p {
327259
width: 200%;
328260
/* Make the gradient twice as wide to allow for smooth scrolling */
329261
height: 100%;
330-
background: linear-gradient(
331-
to right,
332-
#02fcf1,
333-
#02defc,
334-
#7002fc,
335-
#0239fc,
336-
#02fcf1
337-
);
262+
background: linear-gradient(to right, #02fcf1, #02defc, #7002fc, #0239fc, #02fcf1);
338263
/* Extend the gradient for smoothness */
339264
z-index: -1;
340265
}
@@ -395,11 +320,7 @@ li > p {
395320

396321
@media only screen and (min-width: 960px) {
397322
.analytics-background-gradient::before {
398-
background: radial-gradient(
399-
520% 82.5% at 10.25% 85%,
400-
black,
401-
rgba(200, 200, 200, 0.08)
402-
);
323+
background: radial-gradient(520% 82.5% at 10.25% 85%, black, rgba(200, 200, 200, 0.08));
403324
content: "";
404325
border-bottom-left-radius: 24px;
405326
border-bottom-right-radius: 24px;
@@ -418,31 +339,18 @@ li > p {
418339
}
419340

420341
.code-inline-gradient {
421-
background:
422-
linear-gradient(
423-
180deg,
424-
rgba(255, 255, 255, 0.06) 0%,
425-
rgba(255, 255, 255, 0.08) 100%
426-
),
342+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.08) 100%),
427343
linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
428344
border: 0.75px solid;
429345
border-color: rgba(255, 255, 255, 0.08);
430346
}
431347

432348
.blog-footer-radial-gradient {
433-
background: radial-gradient(
434-
at top center,
435-
rgba(255, 255, 255, 0.04) 0%,
436-
rgba(0, 0, 0, 0) 40%
437-
);
349+
background: radial-gradient(at top center, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0) 40%);
438350
}
439351

440352
.mobile-blog-footer-radial {
441-
background: radial-gradient(
442-
at top center,
443-
rgba(255, 255, 255, 0.13) 0%,
444-
rgba(0, 0, 0, 0) 70%
445-
);
353+
background: radial-gradient(at top center, rgba(255, 255, 255, 0.13) 0%, rgba(0, 0, 0, 0) 70%);
446354
}
447355

448356
.changelog-gradient {
@@ -455,23 +363,15 @@ li > p {
455363
height: 100%;
456364
width: 100%;
457365
content: "";
458-
background: linear-gradient(
459-
to top,
460-
rgba(0, 0, 0, 1) 20%,
461-
rgba(1, 1, 1, 0) 80%
462-
);
366+
background: linear-gradient(to top, rgba(0, 0, 0, 1) 20%, rgba(1, 1, 1, 0) 80%);
463367
pointer-events: none;
464368
}
465369

466370
.bar-chart {
467371
height: 200px;
468372
/* Adjust based on your requirements */
469373
width: 100%;
470-
background-image: linear-gradient(
471-
to bottom,
472-
rgba(255, 255, 255, 0.1) 0.75px,
473-
transparent 1px
474-
);
374+
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0.75px, transparent 1px);
475375
background-size: 100% 30px;
476376
/* This controls the spacing of the lines */
477377
}

apps/www/app/layout.tsx

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ import type { Metadata } from "next";
88
import dynamic from "next/dynamic";
99
import "./globals.css";
1010

11-
const PostHogPageView = dynamic(
12-
() => import("@/providers/posthog/PostHogPageView"),
13-
{
14-
ssr: false,
15-
},
16-
);
11+
const PostHogPageView = dynamic(() => import("@/providers/posthog/PostHogPageView"), {
12+
ssr: false,
13+
});
1714

1815
const parsedEnv = env();
1916

@@ -60,24 +57,12 @@ export default function RootLayout({
6057
{children}
6158
{process.env.NODE_ENV !== "production" ? (
6259
<div className="fixed bottom-0 right-0 flex items-center justify-center w-6 h-6 p-3 m-8 font-mono text-xs text-black bg-white rounded-lg pointer-events-none ">
63-
<div className="block sm:hidden md:hidden lg:hidden xl:hidden 2xl:hidden">
64-
al
65-
</div>
66-
<div className="hidden sm:block md:hidden lg:hidden xl:hidden 2xl:hidden">
67-
sm
68-
</div>
69-
<div className="hidden sm:hidden md:block lg:hidden xl:hidden 2xl:hidden">
70-
md
71-
</div>
72-
<div className="hidden sm:hidden md:hidden lg:block xl:hidden 2xl:hidden">
73-
lg
74-
</div>
75-
<div className="hidden sm:hidden md:hidden lg:hidden xl:block 2xl:hidden">
76-
xl
77-
</div>
78-
<div className="hidden sm:hidden md:hidden lg:hidden xl:hidden 2xl:block">
79-
2xl
80-
</div>
60+
<div className="block sm:hidden md:hidden lg:hidden xl:hidden 2xl:hidden">al</div>
61+
<div className="hidden sm:block md:hidden lg:hidden xl:hidden 2xl:hidden">sm</div>
62+
<div className="hidden sm:hidden md:block lg:hidden xl:hidden 2xl:hidden">md</div>
63+
<div className="hidden sm:hidden md:hidden lg:block xl:hidden 2xl:hidden">lg</div>
64+
<div className="hidden sm:hidden md:hidden lg:hidden xl:block 2xl:hidden">xl</div>
65+
<div className="hidden sm:hidden md:hidden lg:hidden xl:hidden 2xl:block">2xl</div>
8166
</div>
8267
) : null}
8368
</div>

0 commit comments

Comments
 (0)