feat(ui): implement authentic floating liquid glass navbar inspired by squared-media.nl with specular sheen and refraction blur

This commit is contained in:
2026-11-03 14:30:31 +05:30
parent ea722c09be
commit 308396c859
3 changed files with 80 additions and 40 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ export function HeroSection({
if (variant === 'tryit' && tool) {
return (
<section className="relative overflow-hidden pt-12 pb-20 sm:pt-20 sm:pb-28 lg:pt-24 lg:pb-32 bg-[#FAF8F5]">
<section className="relative overflow-hidden pt-24 pb-20 sm:pt-32 sm:pb-28 lg:pt-36 lg:pb-32 bg-[#FAF8F5]">
{/* Ambient Radial Lighting Glow */}
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-[450px] bg-gradient-to-b from-blue-500/[0.04] via-indigo-500/[0.03] to-transparent blur-3xl pointer-events-none -z-10" />
@@ -138,7 +138,7 @@ export function HeroSection({
// Centered Hero for Tools/Apps/Pricing pages
return (
<section className="relative overflow-hidden pt-16 pb-20 sm:pt-24 sm:pb-28 text-center bg-[#FAF8F5] border-b border-slate-900/[0.07]">
<section className="relative overflow-hidden pt-28 pb-20 sm:pt-36 sm:pb-28 text-center bg-[#FAF8F5] border-b border-slate-900/[0.07]">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-96 bg-gradient-to-b from-blue-500/[0.04] to-transparent blur-3xl pointer-events-none -z-10" />
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6 relative z-10">