Skip to content

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

🐛 fix: layout fixes

Dillion Verma88ddc2bf5642
diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx
index 45e8bd9a..c457de69 100644
--- a/app/(marketing)/layout.tsx
+++ b/app/(marketing)/layout.tsx
@@ -15,7 +15,8 @@ export default async function MarketingLayout({
const user = await getCurrentUser();
return (
- <div className="relative flex min-h-screen flex-col">
+ <>
+ {/* // <div className="relative flex min-h-screen flex-col"> */}
<SiteHeader user={user} />
<main className="flex-1">{children}</main>
<SiteFooter />
@@ -32,7 +33,7 @@ export default async function MarketingLayout({
className={cn(
"absolute inset-0 h-screen w-screen fill-white/10 stroke-white/10",
"-z-50 [mask-image:linear-gradient(to_bottom_right,white,transparent,transparent)]",
- "inset-x-0 -top-[4rem] -z-50 skew-y-12",
+ "inset-x-0 -top-[1rem] -z-50 h-[80%] skew-y-12",
)}
/>
@@ -43,6 +44,6 @@ export default async function MarketingLayout({
to="rgba(0,0,0,0.0)"
direction="bottom right"
/>
- </div>
+ </>
);
}
diff --git a/app/layout.tsx b/app/layout.tsx
index a4722763..792f34a3 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -25,7 +25,7 @@ export default function RootLayout({
<head />
<body
className={cn(
- "min-h-screen scroll-smooth bg-background font-sans antialiased",
+ "relative flex min-h-screen w-full flex-col justify-center scroll-smooth bg-background font-sans antialiased",
fontSans.variable,
)}
>
diff --git a/components/site-footer.tsx b/components/site-footer.tsx
index 8a84da8a..5c7d3ec4 100644
--- a/components/site-footer.tsx
+++ b/components/site-footer.tsx
@@ -7,7 +7,7 @@ export function SiteFooter() {
className="absolute top-0 h-px w-full"
style={{
background:
- "radial-gradient(50% 100% at 50% 100%,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 100%)",
+ "radial-gradient(50% 100% at 50% 100%,rgba(255,255,255,.32) 0%,rgba(255,255,255,0) 100%)",
}}
></div>
<div className="container flex flex-col items-center justify-between gap-4 md:h-16 md:flex-row">