Skip to content

Commit 56dbd85

Browse files
committed
chore: Formatting code
1 parent 6810f9c commit 56dbd85

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+97
-97
lines changed

apps/docs/src/app/[locale]/(docs)/docs/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Layout({ children }: { children: ReactNode }) {
2222
...option,
2323
icon: (
2424
<div
25-
className="size-full rounded-lg max-md:border max-md:bg-(--tab-color)/10 max-md:p-1.5 [&_svg]:size-full"
25+
className="max-md:bg-(--tab-color)/10 size-full rounded-lg max-md:border max-md:p-1.5 [&_svg]:size-full"
2626
style={
2727
{
2828
color,

apps/docs/src/app/[locale]/(main)/(home)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export default function HomePage() {
2121
<div className="container">
2222
<section className="border-border/50 mt-6 flex flex-col justify-between gap-20 border-r bg-[linear-gradient(to_right,color-mix(in_oklab,var(--border)_75%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--border)_75%,transparent)_1px,transparent_1px)] bg-[size:63px_63px] px-6 py-10 sm:mt-10 sm:px-10 sm:py-20 lg:flex-row dark:bg-[linear-gradient(to_right,color-mix(in_oklab,var(--border)_50%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--border)_50%,transparent)_1px,transparent_1px)]">
2323
<div className="flex max-w-2xl flex-col">
24-
<h1 className="text-5xl font-semibold tracking-tight text-balance sm:text-6xl">
24+
<h1 className="text-balance text-5xl font-semibold tracking-tight sm:text-6xl">
2525
Extendable <span className="text-primary">Framework</span> for
2626
Building <span className="text-primary">Apps</span>
2727
</h1>
2828

29-
<p className="text-muted-foreground mt-6 leading-relaxed text-balance md:text-lg">
29+
<p className="text-muted-foreground mt-6 text-balance leading-relaxed md:text-lg">
3030
Simplifies development with a powerful Plugin System, Admin Control
3131
Panel and extensible architecture.
3232
</p>

apps/docs/src/app/[locale]/(main)/(home)/sections/admin/admin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export const AdminSection = () => {
1313
</h2>
1414
</div>
1515
<div className="relative rounded-3xl p-3 md:-mx-8 lg:col-span-3">
16-
<div className="relative aspect-88/36">
17-
<div className="from-background absolute inset-0 z-1 bg-linear-to-t to-transparent" />
16+
<div className="aspect-88/36 relative">
17+
<div className="from-background z-1 bg-linear-to-t absolute inset-0 to-transparent" />
1818
<Image
1919
alt="payments illustration dark"
2020
className="hidden dark:block"

apps/docs/src/app/[locale]/(main)/(home)/sections/call-to-action.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export const CallToActionSection = () => {
77
return (
88
<section className="py-16">
99
<Card className="flex flex-col items-center gap-4 px-6 py-16 text-center">
10-
<h2 className="text-4xl font-semibold tracking-tight text-balance sm:text-5xl">
10+
<h2 className="text-balance text-4xl font-semibold tracking-tight sm:text-5xl">
1111
Start <span className="text-primary">Building</span>
1212
</h2>
13-
<p className="text-muted-foreground leading-relaxed text-balance md:text-lg">
13+
<p className="text-muted-foreground text-balance leading-relaxed md:text-lg">
1414
Everything you need for modern web apps, zero config.
1515
</p>
1616

apps/docs/src/app/[locale]/(main)/(home)/sections/powering-by/logos/tailwindcss.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const TailwindCSSLogo = () => {
22
return (
33
<svg
44
aria-label="TailwindCSS logotype"
5-
className="h-8 w-42"
5+
className="w-42 h-8"
66
fill="none"
77
viewBox="0 0 262 33"
88
xmlns="http://www.w3.org/2000/svg"

apps/docs/src/app/[locale]/(main)/(home)/sections/powering-by/powering-by.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export const PoweringBySection = () => {
7979
</Link>
8080
</InfiniteSlider>
8181

82-
<div className="from-background absolute inset-y-0 left-0 w-20 bg-linear-to-r" />
83-
<div className="from-background absolute inset-y-0 right-0 w-20 bg-linear-to-l" />
82+
<div className="from-background bg-linear-to-r absolute inset-y-0 left-0 w-20" />
83+
<div className="from-background bg-linear-to-l absolute inset-y-0 right-0 w-20" />
8484
</div>
8585
</div>
8686
</div>

apps/docs/src/components/animated-beam/animated-beam.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const AnimatedBeam = ({
122122
return (
123123
<svg
124124
className={cn(
125-
"pointer-events-none absolute top-0 left-0 transform-gpu stroke-2",
125+
"pointer-events-none absolute left-0 top-0 transform-gpu stroke-2",
126126
className,
127127
)}
128128
fill="none"

apps/docs/src/examples/scroll-area.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function ScrollAreaDemo() {
1010
return (
1111
<ScrollArea className="h-72 w-48 rounded-md border">
1212
<div className="p-4">
13-
<h4 className="mb-4 text-sm leading-none font-medium">Tags</h4>
13+
<h4 className="mb-4 text-sm font-medium leading-none">Tags</h4>
1414
{tags.map(tag => (
1515
<React.Fragment key={tag}>
1616
<div className="text-sm">{tag}</div>

apps/docs/src/examples/separator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default function ProgressDemo() {
44
return (
55
<div>
66
<div className="space-y-1">
7-
<h4 className="text-sm leading-none font-medium">Radix Primitives</h4>
7+
<h4 className="text-sm font-medium leading-none">Radix Primitives</h4>
88
<p className="text-muted-foreground text-sm">
99
An open-source UI component library.
1010
</p>

packages/vitnode/src/components/form/auto-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function AutoForm<
142142
return (
143143
<div key={item.id}>
144144
{item.label && (
145-
<span className="text-xl leading-none font-semibold tracking-tight">
145+
<span className="text-xl font-semibold leading-none tracking-tight">
146146
{item.label}
147147
</span>
148148
)}

0 commit comments

Comments
 (0)