fix(hero+tools+navbar): uncrop complete image, dial down white gradient, vertical mobile tools list, and opaque solid mobile navbar
This commit is contained in:
@@ -170,14 +170,14 @@ export function BrandLogo({
|
||||
{showWordmark && (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex items-center tracking-tight leading-none">
|
||||
<span className={`font-display font-black text-transparent bg-clip-text bg-gradient-to-r from-blue-400 via-indigo-300 to-cyan-400 tracking-[0.1em] text-3d-gradient ${iconDimensions.textScale}`}>
|
||||
<span className={`font-display font-black text-blue-600 tracking-[0.08em] ${iconDimensions.textScale}`}>
|
||||
CRE
|
||||
</span>
|
||||
<span className={`font-display font-bold ${isDark ? 'text-white' : 'text-slate-900'} tracking-[0.16em] ml-1.5 transition-colors duration-200 ${iconDimensions.textScale}`}>
|
||||
<span className={`font-display font-black ${isDark ? 'text-white' : 'text-slate-950'} tracking-[0.14em] ml-1.5 transition-colors duration-200 ${iconDimensions.textScale}`}>
|
||||
INNOVATIONS
|
||||
</span>
|
||||
</div>
|
||||
<span className={`font-mono ${isDark ? 'text-blue-400' : 'text-blue-600'} tracking-[0.25em] uppercase font-semibold mt-0.5 transition-colors duration-200 ${iconDimensions.subText}`}>
|
||||
<span className={`font-mono ${isDark ? 'text-blue-400' : 'text-blue-700'} tracking-[0.22em] uppercase font-bold mt-0.5 transition-colors duration-200 ${iconDimensions.subText}`}>
|
||||
Neural Vision Studio
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -77,7 +77,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
? 'bg-[#FAF8F5] border-b border-slate-200/90 shadow-2xs py-2.5 sm:py-3'
|
||||
: isTextOnlyMode
|
||||
? 'bg-transparent border-b border-transparent py-3 sm:py-4'
|
||||
: 'bg-[#FAF8F5]/96 backdrop-blur-sm border-b border-slate-200/90 shadow-2xs py-2 sm:py-2.5'
|
||||
: 'bg-[#FAF8F5] md:bg-[#FAF8F5]/98 md:backdrop-blur-md border-b border-slate-200/90 shadow-2xs py-2 sm:py-2.5'
|
||||
}`}
|
||||
>
|
||||
<div className="max-w-[1640px] mx-auto px-4 sm:px-6 lg:px-10 flex items-center justify-between">
|
||||
@@ -86,14 +86,14 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
<BrandLogo size="md" />
|
||||
</div>
|
||||
|
||||
{/* Center Navigation Links: Clean text buttons matching site.config.json */}
|
||||
{/* Center Navigation Links: Clean, high-contrast text buttons */}
|
||||
<nav className="hidden md:flex items-center gap-6 lg:gap-8 relative z-20">
|
||||
<Link
|
||||
href="/"
|
||||
className={`text-sm font-semibold transition-colors ${
|
||||
className={`text-sm font-bold tracking-tight transition-colors ${
|
||||
pathname === '/'
|
||||
? 'text-blue-600 font-bold'
|
||||
: 'text-slate-800 hover:text-blue-600'
|
||||
? 'text-blue-600'
|
||||
: 'text-slate-900 hover:text-blue-600'
|
||||
}`}
|
||||
>
|
||||
Home
|
||||
@@ -101,10 +101,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
|
||||
<Link
|
||||
href="/tools"
|
||||
className={`text-sm font-semibold transition-colors ${
|
||||
className={`text-sm font-bold tracking-tight transition-colors ${
|
||||
pathname.startsWith('/tools')
|
||||
? 'text-blue-600 font-bold'
|
||||
: 'text-slate-800 hover:text-blue-600'
|
||||
? 'text-blue-600'
|
||||
: 'text-slate-900 hover:text-blue-600'
|
||||
}`}
|
||||
>
|
||||
Tools
|
||||
@@ -112,10 +112,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
|
||||
<Link
|
||||
href="/apps"
|
||||
className={`text-sm font-semibold transition-colors ${
|
||||
className={`text-sm font-bold tracking-tight transition-colors ${
|
||||
pathname.startsWith('/apps')
|
||||
? 'text-blue-600 font-bold'
|
||||
: 'text-slate-800 hover:text-blue-600'
|
||||
? 'text-blue-600'
|
||||
: 'text-slate-900 hover:text-blue-600'
|
||||
}`}
|
||||
>
|
||||
Apps
|
||||
@@ -123,10 +123,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
|
||||
<Link
|
||||
href="/pricing"
|
||||
className={`text-sm font-semibold transition-colors ${
|
||||
className={`text-sm font-bold tracking-tight transition-colors ${
|
||||
pathname.startsWith('/pricing')
|
||||
? 'text-blue-600 font-bold'
|
||||
: 'text-slate-800 hover:text-blue-600'
|
||||
? 'text-blue-600'
|
||||
: 'text-slate-900 hover:text-blue-600'
|
||||
}`}
|
||||
>
|
||||
Pricing
|
||||
@@ -134,10 +134,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
|
||||
<Link
|
||||
href="/trust"
|
||||
className={`text-sm font-semibold transition-colors ${
|
||||
className={`text-sm font-bold tracking-tight transition-colors ${
|
||||
pathname.startsWith('/trust')
|
||||
? 'text-blue-600 font-bold'
|
||||
: 'text-slate-800 hover:text-blue-600'
|
||||
? 'text-blue-600'
|
||||
: 'text-slate-900 hover:text-blue-600'
|
||||
}`}
|
||||
>
|
||||
Trust & Privacy
|
||||
@@ -160,13 +160,13 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
|
||||
className={`transition-all duration-300 active:scale-95 ${
|
||||
isTextOnlyMode && !mobileMenuOpen
|
||||
? 'p-2 text-slate-800 hover:text-blue-600 bg-transparent border-transparent'
|
||||
: 'p-2.5 rounded-xl border text-slate-800 bg-white hover:bg-slate-50 border-slate-200/90 shadow-2xs'
|
||||
? 'p-2 text-slate-900 hover:text-blue-600 bg-transparent border-transparent'
|
||||
: 'p-2.5 rounded-xl border text-slate-900 bg-white hover:bg-slate-50 border-slate-200/90 shadow-2xs'
|
||||
}`}
|
||||
aria-label={mobileMenuOpen ? 'Close navigation menu' : 'Open navigation menu'}
|
||||
aria-expanded={mobileMenuOpen}
|
||||
>
|
||||
{mobileMenuOpen ? <X className="w-5 h-5 text-blue-600" /> : <Menu className="w-5 h-5" />}
|
||||
{mobileMenuOpen ? <X className="w-5 h-5 text-blue-600" /> : <Menu className="w-5 h-5 text-slate-900" />}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user