Skip to content

Commit 7d1fcce

Browse files
committed
style(web): convert self-closing div tags to self-closing syntax
1 parent c341af2 commit 7d1fcce

10 files changed

Lines changed: 28 additions & 28 deletions

File tree

web/src/app/docs/api-reference/components/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function ComponentsPage() {
2020
className="relative group h-full overflow-hidden rounded-xl p-px block"
2121
>
2222
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
23-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
23+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
2424
<div className="relative z-10">
2525
<div className="flex items-start justify-between">
2626
<div>
@@ -53,7 +53,7 @@ export default async function ComponentsPage() {
5353
className="relative group h-full overflow-hidden rounded-xl p-px block"
5454
>
5555
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
56-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
56+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
5757
<div className="relative z-10">
5858
<div className="flex items-start justify-between">
5959
<div>

web/src/app/docs/api-reference/functions/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function FunctionsPage() {
2020
className="relative group h-full overflow-hidden rounded-xl p-px block"
2121
>
2222
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
23-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
23+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
2424
<div className="relative z-10">
2525
<div className="flex items-start justify-between">
2626
<div>

web/src/app/docs/api-reference/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default async function ApiReferencePage() {
1919
className="relative group h-full overflow-hidden rounded-xl p-px block"
2020
>
2121
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
22-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
22+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
2323
<div className="relative z-10">
2424
<h2 className="text-xl font-semibold mb-2">
2525
<span className="text-[#f0f6fc]">Components</span>
@@ -48,7 +48,7 @@ export default async function ApiReferencePage() {
4848
className="relative group h-full overflow-hidden rounded-xl p-px block"
4949
>
5050
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
51-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
51+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
5252
<div className="relative z-10">
5353
<h2 className="text-xl font-semibold mb-2">
5454
<span className="text-[#f0f6fc]">Functions</span>

web/src/app/enterprise/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export default async function EnterprisePage() {
55
return (
66
<div className="min-h-screen bg-[#0d1117] text-white">
77
<div className="relative overflow-hidden w-full min-h-[70vh] flex items-center">
8-
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent"></div>
9-
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none"></div>
8+
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent" />
9+
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none" />
1010

1111
<div className="relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-20 w-full">
1212
<div className="text-center mb-12">
@@ -62,7 +62,7 @@ export default async function EnterprisePage() {
6262
<div className="w-full py-16 lg:py-24">
6363
<div className="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
6464
<div className="relative">
65-
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20"></div>
65+
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20" />
6666
<div className="relative bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-2xl p-8 lg:p-12">
6767
<div className="grid md:grid-cols-3 gap-8">
6868
<div className="text-center">
@@ -131,7 +131,7 @@ export default async function EnterprisePage() {
131131
].map(feature => (
132132
<div key={feature.id} className="relative group h-full overflow-hidden rounded-xl p-px">
133133
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
134-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
134+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
135135
<div className="relative z-10">
136136
<h3 className="relative text-xl font-semibold mb-3">
137137
<span className="text-[#f0f6fc]">{feature.title}</span>
@@ -201,7 +201,7 @@ export default async function EnterprisePage() {
201201
<div className="w-full py-16 lg:py-24">
202202
<div className="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
203203
<div className="relative">
204-
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20"></div>
204+
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20" />
205205
<div className="relative bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-2xl p-8 lg:p-12 text-center">
206206
<h2 className="text-3xl lg:text-4xl font-bold text-[#f0f6fc] mb-4">
207207
Ready to accelerate your development?

web/src/app/enterprise/sponsors/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ function TierCard({ tier }: { tier: Tier }) {
202202
className={`relative group h-full overflow-hidden rounded-xl p-px block ${tier.highlight ? 'md:scale-105' : ''}`}
203203
>
204204
{tier.highlight && (
205-
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-xl blur opacity-30 group-hover:opacity-40 transition-opacity"></div>
205+
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-xl blur opacity-30 group-hover:opacity-40 transition-opacity" />
206206
)}
207207
<div className={`relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border ${tier.highlight ? 'border-[#fd7e14]' : 'border-[#30363d]'} rounded-xl p-6 flex flex-col transition-all duration-300 group-hover:border-transparent`}>
208-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
208+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
209209
<div className="relative z-10 flex flex-col h-full">
210210
<div className="mb-4">
211211
<h3 className="text-2xl font-bold text-[#f0f6fc] mb-2">{tier.name}</h3>
@@ -246,7 +246,7 @@ function OneTimeTierCard({ tier }: { tier: Tier }) {
246246
className="relative group h-full overflow-hidden rounded-xl p-px block"
247247
>
248248
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
249-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
249+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
250250
<div className="relative z-10 flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4">
251251
<div className="flex-1">
252252
<h3 className="text-xl font-bold text-[#f0f6fc] mb-2">{tier.name}</h3>
@@ -276,8 +276,8 @@ export default async function SponsorsPage() {
276276
return (
277277
<div className="min-h-screen bg-[#0d1117] text-white">
278278
<div className="relative overflow-hidden w-full flex items-center">
279-
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent"></div>
280-
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none"></div>
279+
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent" />
280+
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none" />
281281

282282
<div className="relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-20 w-full">
283283
<div className="text-center">
@@ -442,7 +442,7 @@ export default async function SponsorsPage() {
442442
</div>
443443

444444
<div className="relative">
445-
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20"></div>
445+
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20" />
446446
<div className="relative bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-2xl p-8 lg:p-12 text-center">
447447
<p className="text-xl text-gray-400 mb-8">
448448
Join Neon in supporting rari!

web/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export default async function HomePage() {
1212
<div className="w-full py-16 lg:py-24">
1313
<div className="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
1414
<div className="relative">
15-
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20"></div>
15+
<div className="absolute -inset-0.5 bg-linear-to-r from-[#fd7e14] to-[#e8590c] rounded-2xl blur opacity-20" />
1616

1717
<div className="relative bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-2xl p-8 lg:p-12">
1818
<div className="flex items-center gap-3 mb-8">
19-
<div className="w-1 h-8 bg-linear-to-b from-[#fd7e14] to-[#e8590c] rounded-full"></div>
19+
<div className="w-1 h-8 bg-linear-to-b from-[#fd7e14] to-[#e8590c] rounded-full" />
2020
<h2 className="text-3xl lg:text-4xl font-bold text-[#f0f6fc]">
2121
Quick Start
2222
</h2>

web/src/components/FeatureCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function FeatureCard({ title, description, icon }: FeatureCardPro
2828
return (
2929
<div className="relative group h-full overflow-hidden rounded-xl p-px">
3030
<div className="relative z-10 h-full bg-linear-to-br from-[#161b22] to-[#0d1117] border border-[#30363d] rounded-xl p-6 transition-all duration-300 group-hover:border-transparent">
31-
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl"></div>
31+
<div className="absolute inset-0 bg-linear-to-br from-[#fd7e14]/10 via-[#e8590c]/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 rounded-xl" />
3232
<div className="relative z-10">
3333
<div className="text-4xl mb-4 transform group-hover:scale-110 transition-transform duration-300">{renderedIcon}</div>
3434
<h3 className="relative text-xl font-semibold mb-3">

web/src/components/HeroSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import Terminal from './icons/Terminal'
55
export default function HeroSection() {
66
return (
77
<div className="relative overflow-hidden w-full min-h-screen flex items-center">
8-
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent"></div>
9-
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none"></div>
8+
<div className="absolute inset-0 bg-linear-to-b from-[#161b22]/30 via-transparent to-transparent" />
9+
<div className="absolute bottom-0 left-0 right-0 h-40 bg-linear-to-t from-[#0d1117] to-transparent pointer-events-none" />
1010

1111
<div className="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 w-full">
1212
<div className="text-center mb-12">

web/src/components/Sidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export default function Sidebar({ version }: SidebarProps) {
512512

513513
<div className="p-6">
514514
<div className="flex flex-row items-center lg:justify-between mb-8 pb-4 border-b border-[#30363d]/50 relative gap-3">
515-
<div className="absolute inset-x-0 bottom-0 h-px bg-linear-to-r from-transparent via-[#fd7e14]/30 to-transparent"></div>
515+
<div className="absolute inset-x-0 bottom-0 h-px bg-linear-to-r from-transparent via-[#fd7e14]/30 to-transparent" />
516516
<a
517517
href="/"
518518
className="hover:opacity-80 transition-opacity"
@@ -547,7 +547,7 @@ export default function Sidebar({ version }: SidebarProps) {
547547
</ul>
548548

549549
<div className="mt-8 pt-6 border-t border-[#30363d]/50 relative">
550-
<div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-[#fd7e14]/30 to-transparent"></div>
550+
<div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-[#fd7e14]/30 to-transparent" />
551551
<ul className="space-y-3">
552552
<li className="flex items-center justify-center gap-3">
553553
<a

web/src/components/SidebarSkeleton.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ export default function SidebarSkeleton() {
22
return (
33
<nav className="fixed lg:relative -translate-x-full lg:translate-x-0 h-screen bg-[#0d1117] overflow-y-auto w-64 shrink-0">
44
<div className="p-6 h-full flex flex-col">
5-
<div className="w-12 h-12 bg-[#21262d] rounded-xl animate-pulse mb-8"></div>
5+
<div className="w-12 h-12 bg-[#21262d] rounded-xl animate-pulse mb-8" />
66
<div className="flex-1 w-full space-y-2">
7-
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse"></div>
8-
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse"></div>
9-
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse"></div>
7+
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse" />
8+
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse" />
9+
<div className="h-10 bg-[#21262d] rounded-lg animate-pulse" />
1010
</div>
1111
<div className="w-full mt-8">
12-
<div className="h-8 bg-[#21262d] rounded animate-pulse"></div>
12+
<div className="h-8 bg-[#21262d] rounded animate-pulse" />
1313
</div>
1414
</div>
1515
</nav>

0 commit comments

Comments
 (0)