Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: prettier

Dillion Verma64c24c5a5b07
diff --git a/components/sections/hero.tsx b/components/sections/hero.tsx
index 6a413cfa..0f2ed58b 100644
--- a/components/sections/hero.tsx
+++ b/components/sections/hero.tsx
@@ -12,7 +12,7 @@ export default async function Hero() {
const post = allDocs
.filter(
(post) =>
- post.date && post.date <= new Date().toISOString() && post.published
+ post.date && post.date <= new Date().toISOString() && post.published,
)
.sort((a, b) => {
if (!a.date && !b.date) return 0; // Both dates are undefined, keep original order
@@ -34,7 +34,7 @@ export default async function Hero() {
variant: "outline",
size: "sm",
}),
- "rounded-full"
+ "rounded-full",
)}
>
🎉 <Separator className="mx-2 h-4" orientation="vertical" />
@@ -47,7 +47,7 @@ export default async function Hero() {
"text-black dark:text-white",
"relative mx-0 max-w-[43.5rem] pt-5 md:mx-auto md:px-4 md:py-2",
"text-balance text-left font-semibold tracking-tighter md:text-center",
- "text-5xl sm:text-7xl md:text-7xl lg:text-7xl"
+ "text-5xl sm:text-7xl md:text-7xl lg:text-7xl",
)}
>
UI library for Design Engineers
@@ -72,7 +72,7 @@ export default async function Hero() {
variant: "rainbow",
size: "lg",
}),
- "w-full gap-2"
+ "w-full gap-2",
)}
>
Browse Components
@@ -85,7 +85,7 @@ export default async function Hero() {
size: "lg",
variant: "rainbow-outline",
}),
- "w-full gap-2"
+ "w-full gap-2",
)}
>
Browse Templates
diff --git a/components/site-header.tsx b/components/site-header.tsx
index 110d1123..486e2258 100644
--- a/components/site-header.tsx
+++ b/components/site-header.tsx
@@ -27,7 +27,7 @@ export async function SiteHeader() {
next: {
revalidate: 3600,
},
- }
+ },
);
if (response.ok) {
@@ -41,7 +41,7 @@ export async function SiteHeader() {
return (
<header
className={cn(
- "supports-backdrop-blur:bg-background/90 sticky top-0 z-40 w-full bg-background/40 backdrop-blur-lg"
+ "supports-backdrop-blur:bg-background/90 sticky top-0 z-40 w-full bg-background/40 backdrop-blur-lg",
)}
>
<div className="container flex h-16 items-center">
@@ -53,7 +53,7 @@ export async function SiteHeader() {
buttonVariants({
variant: "rainbow",
}),
- "hidden md:inline-flex"
+ "hidden md:inline-flex",
)}
target="_blank"
href={siteConfig.links.github}
@@ -86,7 +86,7 @@ export async function SiteHeader() {
buttonVariants({
variant: "ghost",
}),
- "w-9 px-0"
+ "w-9 px-0",
)}
>
<Icons.discord className="size-4" />
@@ -103,7 +103,7 @@ export async function SiteHeader() {
buttonVariants({
variant: "ghost",
}),
- "w-9 px-0"
+ "w-9 px-0",
)}
>
<Icons.gitHub className="size-4" />
@@ -120,7 +120,7 @@ export async function SiteHeader() {
buttonVariants({
variant: "ghost",
}),
- "w-9 px-0"
+ "w-9 px-0",
)}
>
<Icons.twitter className="size-4 fill-current" />
diff --git a/components/ui/button.tsx b/components/ui/button.tsx
index b0915a7e..ba16dfa9 100644
--- a/components/ui/button.tsx
+++ b/components/ui/button.tsx
@@ -35,7 +35,7 @@ const buttonVariants = cva(
variant: "default",
size: "default",
},
- }
+ },
);
export interface ButtonProps
@@ -54,7 +54,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
{...props}
/>
);
- }
+ },
);
Button.displayName = "Button";