feat(ui): redesign free browser trial tag, optimize phone/tablet responsiveness, integrate lenis smooth scroll, and focus copy strictly on effects & mobile apps
This commit is contained in:
+21
-1
@@ -3,6 +3,23 @@
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
/* Lenis Ultra-Smooth Fluid Scroll */
|
||||
html.lenis, html.lenis body {
|
||||
height: auto;
|
||||
}
|
||||
.lenis.lenis-smooth {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
.lenis.lenis-smooth [data-lenis-prevent] {
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.lenis.lenis-stopped {
|
||||
overflow: hidden;
|
||||
}
|
||||
.lenis.lenis-scrolling iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--color-primary-hover: #1D4ED8;
|
||||
@@ -15,6 +32,10 @@
|
||||
--theme-max-width: 1400px;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #0F172A;
|
||||
background-color: #FAF8F5;
|
||||
@@ -25,7 +46,6 @@
|
||||
background-attachment: fixed;
|
||||
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
|
||||
overflow-x: hidden;
|
||||
scroll-behavior: smooth;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import { getSiteConfig } from '@/lib/config/loader';
|
||||
import { Navbar } from '@/components/ui/Navbar';
|
||||
import { Footer } from '@/components/ui/Footer';
|
||||
import { CursorAura } from '@/components/ui/CursorAura';
|
||||
import { SmoothScroll } from '@/components/ui/SmoothScroll';
|
||||
|
||||
const sansFont = Plus_Jakarta_Sans({
|
||||
subsets: ['latin'],
|
||||
@@ -89,6 +90,7 @@ export default function RootLayout({
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative">
|
||||
<SmoothScroll />
|
||||
<CursorAura />
|
||||
<Navbar config={config} currentLocale="en" />
|
||||
<main className="flex-1">{children}</main>
|
||||
|
||||
Reference in New Issue
Block a user