feat(ui): complete spacious light creamy redesign and retitle to The Creative Studio Suite
This commit is contained in:
@@ -67,7 +67,7 @@ export function BeforeAfterSlider({
|
||||
ref={containerRef}
|
||||
onMouseDown={() => setIsDragging(true)}
|
||||
onTouchStart={() => setIsDragging(true)}
|
||||
className={`relative w-full ${aspectRatio} rounded-2xl sm:rounded-3xl overflow-hidden select-none cursor-ew-resize shadow-2xl border border-white/[0.1] bg-[#07090E] group`}
|
||||
className={`relative w-full ${aspectRatio} rounded-2xl sm:rounded-3xl overflow-hidden select-none cursor-ew-resize shadow-md border border-slate-900/[0.08] bg-slate-950 group`}
|
||||
style={{ touchAction: 'pan-y' }}
|
||||
>
|
||||
{/* After Image (Background) */}
|
||||
@@ -93,15 +93,15 @@ export function BeforeAfterSlider({
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Split Divider Line with Neon Cyan Glow */}
|
||||
{/* Split Divider Line */}
|
||||
<div
|
||||
className="absolute top-0 bottom-0 w-0.5 bg-gradient-to-b from-cyan-300 via-white to-cyan-300 shadow-[0_0_15px_rgba(0,240,255,0.9)] z-20 pointer-events-none will-change-transform"
|
||||
className="absolute top-0 bottom-0 w-0.5 bg-white shadow-[0_0_12px_rgba(37,99,235,0.8)] z-20 pointer-events-none will-change-transform"
|
||||
style={{ left: `${sliderPosition}%` }}
|
||||
>
|
||||
{/* Center Circular Touch/Mouse Handle */}
|
||||
<div className="absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-8 h-8 sm:w-10 sm:h-10 rounded-full bg-[#0B0F17] border-2 border-cyan-400 shadow-[0_0_20px_rgba(0,240,255,0.6)] flex items-center justify-center pointer-events-auto cursor-ew-resize hover:scale-110 active:scale-95 transition-transform duration-150">
|
||||
<div className="absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-8 h-8 sm:w-10 sm:h-10 rounded-full bg-white border-2 border-blue-600 shadow-xl flex items-center justify-center pointer-events-auto cursor-ew-resize hover:scale-110 active:scale-95 transition-transform duration-150">
|
||||
<svg
|
||||
className="w-3.5 h-3.5 sm:w-4 sm:h-4 text-cyan-400"
|
||||
className="w-3.5 h-3.5 sm:w-4 sm:h-4 text-blue-600"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
@@ -112,23 +112,23 @@ export function BeforeAfterSlider({
|
||||
</div>
|
||||
|
||||
{/* Floating Badges */}
|
||||
<div className="absolute top-3 left-3 sm:top-4 sm:left-4 bg-[#05070B]/80 backdrop-blur-xl px-3 py-1.5 rounded-xl text-[11px] font-mono font-bold text-slate-300 border border-white/10 pointer-events-none z-10 flex items-center gap-1.5 shadow-md">
|
||||
<Eye className="w-3.5 h-3.5 text-slate-400" />
|
||||
<div className="absolute top-3 left-3 sm:top-4 sm:left-4 bg-slate-900/80 backdrop-blur-md px-3 py-1.5 rounded-xl text-[11px] font-mono font-bold text-white border border-white/10 pointer-events-none z-10 flex items-center gap-1.5 shadow-md">
|
||||
<Eye className="w-3.5 h-3.5 text-slate-300" />
|
||||
<span>{beforeLabel}</span>
|
||||
</div>
|
||||
<div className="absolute top-3 right-3 sm:top-4 sm:right-4 bg-gradient-to-r from-cyan-500/90 to-purple-600/90 backdrop-blur-xl px-3 py-1.5 rounded-xl text-[11px] font-mono font-bold text-white shadow-[0_0_20px_rgba(0,240,255,0.3)] border border-white/20 pointer-events-none z-10 flex items-center gap-1.5">
|
||||
<Sparkles className="w-3.5 h-3.5 text-cyan-200" />
|
||||
<div className="absolute top-3 right-3 sm:top-4 sm:right-4 bg-gradient-to-r from-blue-600 to-indigo-600 backdrop-blur-md px-3 py-1.5 rounded-xl text-[11px] font-mono font-bold text-white shadow-md border border-white/20 pointer-events-none z-10 flex items-center gap-1.5">
|
||||
<Sparkles className="w-3.5 h-3.5 text-white" />
|
||||
<span>{afterLabel}</span>
|
||||
</div>
|
||||
|
||||
{/* Bottom Helper Hint */}
|
||||
<div className="absolute bottom-3 left-1/2 -translate-x-1/2 bg-black/60 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-mono text-cyan-300/80 pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-200 border border-cyan-500/20">
|
||||
<div className="absolute bottom-3 left-1/2 -translate-x-1/2 bg-black/60 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-mono text-white/90 pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-200">
|
||||
Drag horizontally to inspect pore texture
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{caption && (
|
||||
<p className="mt-2.5 text-center text-xs font-mono text-slate-400">
|
||||
<p className="mt-2.5 text-center text-xs font-mono text-slate-500">
|
||||
{caption}
|
||||
</p>
|
||||
)}
|
||||
|
||||
@@ -27,53 +27,53 @@ export function BrandLogo({
|
||||
className="relative flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-105"
|
||||
style={{ width: iconDimensions.w, height: iconDimensions.h }}
|
||||
>
|
||||
{/* Ambient Radial Hover Glow */}
|
||||
<div className="absolute inset-0 rounded-full bg-gradient-to-tr from-cyan-500/20 via-purple-500/20 to-pink-500/20 blur-md opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none" />
|
||||
{/* Subtle Ambient Hover Glow */}
|
||||
<div className="absolute inset-0 rounded-full bg-gradient-to-tr from-blue-500/10 via-cyan-500/10 to-indigo-500/10 blur-md opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none" />
|
||||
|
||||
<svg
|
||||
viewBox="0 0 100 100"
|
||||
fill="none"
|
||||
className="w-full h-full drop-shadow-[0_0_12px_rgba(0,240,255,0.35)]"
|
||||
className="w-full h-full drop-shadow-[0_2px_8px_rgba(37,99,235,0.25)]"
|
||||
>
|
||||
<defs>
|
||||
<linearGradient id="bl-cyan" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#00F0FF" />
|
||||
<stop offset="100%" stopColor="#3B82F6" />
|
||||
<linearGradient id="bl-blue-cyan" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#2563EB" />
|
||||
<stop offset="100%" stopColor="#0284C7" />
|
||||
</linearGradient>
|
||||
<linearGradient id="bl-purple" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#7928CA" />
|
||||
<stop offset="100%" stopColor="#FF0080" />
|
||||
<linearGradient id="bl-purple-pink" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#7C3AED" />
|
||||
<stop offset="100%" stopColor="#EC4899" />
|
||||
</linearGradient>
|
||||
<linearGradient id="bl-emerald" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#10B981" />
|
||||
<stop offset="100%" stopColor="#00F0FF" />
|
||||
<linearGradient id="bl-teal-emerald" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stopColor="#059669" />
|
||||
<stop offset="100%" stopColor="#0284C7" />
|
||||
</linearGradient>
|
||||
<radialGradient id="bl-core" cx="50%" cy="50%" r="50%">
|
||||
<radialGradient id="bl-core-light" cx="50%" cy="50%" r="50%">
|
||||
<stop offset="0%" stopColor="#FFFFFF" />
|
||||
<stop offset="45%" stopColor="#00F0FF" stopOpacity="0.8" />
|
||||
<stop offset="100%" stopColor="#00F0FF" stopOpacity="0" />
|
||||
<stop offset="45%" stopColor="#38BDF8" stopOpacity="0.9" />
|
||||
<stop offset="100%" stopColor="#0284C7" stopOpacity="0" />
|
||||
</radialGradient>
|
||||
</defs>
|
||||
|
||||
{/* Precision outer neural ring */}
|
||||
<circle cx="50" cy="50" r="44" stroke="rgba(255, 255, 255, 0.12)" strokeWidth="1.5" strokeDasharray="3 5" />
|
||||
<circle cx="50" cy="50" r="44" stroke="rgba(15, 23, 42, 0.12)" strokeWidth="1.5" strokeDasharray="3 5" />
|
||||
|
||||
{/* Aperture Tri-blade Geometry */}
|
||||
<path d="M 50 14 C 68 14, 82 26, 84 44 C 74 38, 62 38, 50 44 C 42 34, 46 22, 50 14 Z" fill="url(#bl-cyan)" opacity="0.95" />
|
||||
<path d="M 84 56 C 80 74, 66 84, 50 86 C 54 74, 50 62, 40 54 C 52 48, 66 48, 84 56 Z" fill="url(#bl-purple)" opacity="0.95" />
|
||||
<path d="M 38 82 C 22 76, 14 62, 16 44 C 26 50, 38 48, 48 42 C 46 56, 44 70, 38 82 Z" fill="url(#bl-emerald)" opacity="0.95" />
|
||||
<path d="M 50 14 C 68 14, 82 26, 84 44 C 74 38, 62 38, 50 44 C 42 34, 46 22, 50 14 Z" fill="url(#bl-blue-cyan)" opacity="0.95" />
|
||||
<path d="M 84 56 C 80 74, 66 84, 50 86 C 54 74, 50 62, 40 54 C 52 48, 66 48, 84 56 Z" fill="url(#bl-purple-pink)" opacity="0.95" />
|
||||
<path d="M 38 82 C 22 76, 14 62, 16 44 C 26 50, 38 48, 48 42 C 46 56, 44 70, 38 82 Z" fill="url(#bl-teal-emerald)" opacity="0.95" />
|
||||
|
||||
{/* Neural Ray Intersections */}
|
||||
<path d="M 50 20 L 76 68 L 24 68 Z" stroke="rgba(255, 255, 255, 0.45)" strokeWidth="1.4" fill="none" />
|
||||
<path d="M 50 20 L 76 68 L 24 68 Z" stroke="#FFFFFF" strokeWidth="1.5" fill="none" opacity="0.8" />
|
||||
|
||||
{/* Glowing Optical Core */}
|
||||
<circle cx="50" cy="52" r="13" fill="url(#bl-core)" />
|
||||
<circle cx="50" cy="52" r="13" fill="url(#bl-core-light)" />
|
||||
<circle cx="50" cy="52" r="4" fill="#FFFFFF" />
|
||||
|
||||
{/* Apex Nodes */}
|
||||
<circle cx="50" cy="20" r="2.5" fill="#00F0FF" />
|
||||
<circle cx="76" cy="68" r="2.5" fill="#FF0080" />
|
||||
<circle cx="24" cy="68" r="2.5" fill="#10B981" />
|
||||
<circle cx="50" cy="20" r="2.5" fill="#0284C7" />
|
||||
<circle cx="76" cy="68" r="2.5" fill="#7C3AED" />
|
||||
<circle cx="24" cy="68" r="2.5" fill="#059669" />
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
@@ -81,14 +81,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-white via-cyan-200 to-cyan-400 tracking-[0.1em] ${iconDimensions.textScale}`}>
|
||||
<span className={`font-display font-black text-transparent bg-clip-text bg-gradient-to-r from-blue-700 to-indigo-600 tracking-[0.1em] ${iconDimensions.textScale}`}>
|
||||
CRE
|
||||
</span>
|
||||
<span className={`font-display font-semibold text-slate-100 tracking-[0.16em] ml-1.5 ${iconDimensions.textScale}`}>
|
||||
<span className={`font-display font-bold text-slate-900 tracking-[0.16em] ml-1.5 ${iconDimensions.textScale}`}>
|
||||
INNOVATIONS
|
||||
</span>
|
||||
</div>
|
||||
<span className={`font-mono text-cyan-400/90 tracking-[0.25em] uppercase font-medium mt-0.5 ${iconDimensions.subText}`}>
|
||||
<span className={`font-mono text-blue-600 tracking-[0.25em] uppercase font-semibold mt-0.5 ${iconDimensions.subText}`}>
|
||||
Neural Vision Studio
|
||||
</span>
|
||||
</div>
|
||||
@@ -98,7 +98,7 @@ export function BrandLogo({
|
||||
|
||||
if (asLink) {
|
||||
return (
|
||||
<Link href="/" className="inline-block outline-none focus-visible:ring-2 focus-visible:ring-cyan-500 rounded-lg">
|
||||
<Link href="/" className="inline-block outline-none focus-visible:ring-2 focus-visible:ring-blue-500 rounded-lg">
|
||||
{content}
|
||||
</Link>
|
||||
);
|
||||
|
||||
@@ -11,27 +11,27 @@ interface FooterProps {
|
||||
|
||||
export function Footer({ config, currentLocale }: FooterProps) {
|
||||
return (
|
||||
<footer className="bg-[#030508] text-slate-300 border-t border-white/[0.08] relative overflow-hidden">
|
||||
{/* Subtle background glow */}
|
||||
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-3/4 h-24 bg-gradient-to-b from-cyan-500/5 to-transparent blur-2xl pointer-events-none" />
|
||||
<footer className="bg-[#F5F2EB] text-slate-700 border-t border-slate-900/[0.08] relative overflow-hidden">
|
||||
{/* Subtle ambient light */}
|
||||
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-3/4 h-24 bg-gradient-to-b from-blue-500/5 to-transparent blur-2xl pointer-events-none" />
|
||||
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 lg:py-20 relative z-10">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 lg:py-24 relative z-10">
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 gap-12">
|
||||
{/* Brand & Mission */}
|
||||
<div className="md:col-span-2 space-y-5">
|
||||
<BrandLogo size="lg" />
|
||||
<p className="text-sm text-slate-400 max-w-md leading-relaxed">
|
||||
<p className="text-sm text-slate-600 max-w-md leading-relaxed">
|
||||
{resolveLocalised(config.brand.tagline, currentLocale)}. Ultra-low latency deep learning vision models for instant portrait retouching, hair-strand matting, 4K face enhancement, and vintage restoration.
|
||||
</p>
|
||||
|
||||
<div className="flex flex-wrap items-center gap-3 pt-2">
|
||||
<div className="inline-flex items-center gap-2 text-xs text-emerald-400 bg-emerald-950/40 border border-emerald-500/30 px-3.5 py-1.5 rounded-full font-mono">
|
||||
<ShieldCheck className="w-4 h-4 text-emerald-400" />
|
||||
<div className="inline-flex items-center gap-2 text-xs text-emerald-800 bg-emerald-100/70 border border-emerald-300 px-3.5 py-1.5 rounded-full font-mono">
|
||||
<ShieldCheck className="w-4 h-4 text-emerald-700" />
|
||||
<span>Zero-Storage Policy: Ephemeral RAM Streaming Only</span>
|
||||
</div>
|
||||
|
||||
<div className="inline-flex items-center gap-2 text-xs text-cyan-400 bg-cyan-950/40 border border-cyan-500/30 px-3 py-1.5 rounded-full font-mono">
|
||||
<Activity className="w-3.5 h-3.5 text-cyan-400" />
|
||||
<div className="inline-flex items-center gap-2 text-xs text-blue-800 bg-blue-100/70 border border-blue-300 px-3 py-1.5 rounded-full font-mono">
|
||||
<Activity className="w-3.5 h-3.5 text-blue-700" />
|
||||
<span>99.98% System Uptime</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,36 +39,36 @@ export function Footer({ config, currentLocale }: FooterProps) {
|
||||
|
||||
{/* Platform Suite */}
|
||||
<div className="space-y-4">
|
||||
<h4 className="text-xs font-mono font-bold uppercase tracking-widest text-slate-100 flex items-center gap-2">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400" />
|
||||
<h4 className="text-xs font-mono font-bold uppercase tracking-widest text-slate-900 flex items-center gap-2">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-blue-600" />
|
||||
<span>Platform Suite</span>
|
||||
</h4>
|
||||
<ul className="space-y-2.5 text-sm">
|
||||
<li>
|
||||
<Link href="/#tools-stack" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center gap-1.5">
|
||||
<span>Vertical Tools Stack</span>
|
||||
<Link href="/#studio-suite" className="text-slate-600 hover:text-blue-600 transition-colors flex items-center gap-1.5">
|
||||
<span>The Creative Studio Suite</span>
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/tools" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center gap-1.5">
|
||||
<Link href="/tools" className="text-slate-600 hover:text-blue-600 transition-colors flex items-center gap-1.5">
|
||||
<span>All Neural Vision Tools</span>
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/apps" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center gap-1.5">
|
||||
<Link href="/apps" className="text-slate-600 hover:text-blue-600 transition-colors flex items-center gap-1.5">
|
||||
<span>Mobile Applications</span>
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/pricing" className="text-slate-400 hover:text-cyan-400 transition-colors flex items-center gap-1.5">
|
||||
<Link href="/pricing" className="text-slate-600 hover:text-blue-600 transition-colors flex items-center gap-1.5">
|
||||
<span>Pricing & Licensing</span>
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/catalog-manager" className="text-slate-400 hover:text-cyan-400 transition-colors inline-flex items-center gap-1">
|
||||
<Terminal className="w-3.5 h-3.5 text-cyan-400" />
|
||||
<Link href="/catalog-manager" className="text-slate-600 hover:text-blue-600 transition-colors inline-flex items-center gap-1">
|
||||
<Terminal className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>Catalogue Inspector</span>
|
||||
<ArrowUpRight className="w-3 h-3 text-cyan-400" />
|
||||
<ArrowUpRight className="w-3 h-3 text-blue-600" />
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -76,23 +76,23 @@ export function Footer({ config, currentLocale }: FooterProps) {
|
||||
|
||||
{/* Trust & Architecture */}
|
||||
<div className="space-y-4">
|
||||
<h4 className="text-xs font-mono font-bold uppercase tracking-widest text-slate-100 flex items-center gap-2">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-purple-400" />
|
||||
<h4 className="text-xs font-mono font-bold uppercase tracking-widest text-slate-900 flex items-center gap-2">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-purple-600" />
|
||||
<span>Trust & Security</span>
|
||||
</h4>
|
||||
<ul className="space-y-2.5 text-sm">
|
||||
<li>
|
||||
<Link href="/trust" className="text-slate-400 hover:text-cyan-400 transition-colors">
|
||||
<Link href="/trust" className="text-slate-600 hover:text-blue-600 transition-colors">
|
||||
Security Architecture & Safeguards
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/privacy" className="text-slate-400 hover:text-cyan-400 transition-colors">
|
||||
<Link href="/privacy" className="text-slate-600 hover:text-blue-600 transition-colors">
|
||||
Zero-Storage Privacy Policy
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/terms" className="text-slate-400 hover:text-cyan-400 transition-colors">
|
||||
<Link href="/terms" className="text-slate-600 hover:text-blue-600 transition-colors">
|
||||
Commercial Terms of Service
|
||||
</Link>
|
||||
</li>
|
||||
@@ -101,11 +101,11 @@ export function Footer({ config, currentLocale }: FooterProps) {
|
||||
</div>
|
||||
|
||||
{/* Bottom Bar */}
|
||||
<div className="mt-16 pt-8 border-t border-white/[0.08] flex flex-col sm:flex-row items-center justify-between text-xs text-slate-500 gap-4">
|
||||
<div className="mt-16 pt-8 border-t border-slate-900/[0.08] flex flex-col sm:flex-row items-center justify-between text-xs text-slate-500 gap-4">
|
||||
<p className="font-mono">{config.footer.copyright}</p>
|
||||
<p className="flex items-center gap-2 font-mono text-slate-400">
|
||||
<p className="flex items-center gap-2 font-mono text-slate-600">
|
||||
<span>Powered by CRE Innovations Neural Vision Core v2.4</span>
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-cyan-400 animate-pulse" />
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-blue-600 animate-pulse" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { Menu, X, Smartphone, Layers, Sparkles, Activity } from 'lucide-react';
|
||||
import { Menu, X, Smartphone, Layers, Sparkles } from 'lucide-react';
|
||||
import { SiteConfig, resolveLocalised } from '@/types';
|
||||
import { BrandLogo } from './BrandLogo';
|
||||
|
||||
@@ -27,10 +27,10 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
|
||||
return (
|
||||
<header
|
||||
className={`sticky top-0 z-50 transition-all duration-300 px-4 sm:px-6 lg:px-8 py-3.5 ${
|
||||
className={`sticky top-0 z-50 transition-all duration-300 px-4 sm:px-6 lg:px-8 py-4 ${
|
||||
isScrolled
|
||||
? 'bg-[#05070B]/85 backdrop-blur-2xl shadow-2xl shadow-cyan-950/20 border-b border-white/[0.08]'
|
||||
: 'bg-transparent border-b border-white/[0.04]'
|
||||
? 'bg-[#FAF8F5]/90 backdrop-blur-2xl shadow-sm border-b border-slate-900/[0.07]'
|
||||
: 'bg-[#FAF8F5]/60 backdrop-blur-md border-b border-slate-900/[0.04]'
|
||||
}`}
|
||||
>
|
||||
<div className="max-w-7xl mx-auto flex items-center justify-between">
|
||||
@@ -38,7 +38,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
<BrandLogo size="md" />
|
||||
|
||||
{/* Center Navigation Links (Floating Glass Pill on Desktop) */}
|
||||
<nav className="hidden md:flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-white/[0.03] border border-white/[0.08] backdrop-blur-xl shadow-inner shadow-white/[0.02]">
|
||||
<nav className="hidden md:flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-slate-900/[0.03] border border-slate-900/[0.06] backdrop-blur-md shadow-inner shadow-black/[0.01]">
|
||||
{config.nav.header.map((item) => {
|
||||
const active = pathname === item.href;
|
||||
return (
|
||||
@@ -47,8 +47,8 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
href={item.href}
|
||||
className={`relative px-4 py-2 rounded-full text-xs font-semibold tracking-wide transition-all duration-200 ${
|
||||
active
|
||||
? 'text-cyan-300 bg-white/[0.08] shadow-[0_0_15px_rgba(0,240,255,0.2)] border border-cyan-500/30'
|
||||
: 'text-slate-300 hover:text-white hover:bg-white/[0.04]'
|
||||
? 'text-blue-600 bg-white shadow-sm border border-slate-900/[0.06]'
|
||||
: 'text-slate-600 hover:text-slate-900 hover:bg-slate-900/[0.04]'
|
||||
}`}
|
||||
>
|
||||
{resolveLocalised(item.label, currentLocale)}
|
||||
@@ -56,23 +56,23 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
);
|
||||
})}
|
||||
|
||||
{/* Direct Anchor to Vertical Tool Stack */}
|
||||
{/* Direct Anchor to Studio Suite */}
|
||||
<Link
|
||||
href="/#tools-stack"
|
||||
className="flex items-center gap-1.5 px-4 py-2 rounded-full text-xs font-semibold tracking-wide text-cyan-400 hover:text-cyan-300 hover:bg-cyan-500/10 transition-colors"
|
||||
href="/#studio-suite"
|
||||
className="flex items-center gap-1.5 px-4 py-2 rounded-full text-xs font-semibold tracking-wide text-blue-600 hover:text-blue-700 hover:bg-blue-50 transition-colors"
|
||||
>
|
||||
<Layers className="w-3.5 h-3.5 text-cyan-400" />
|
||||
<span>Tools Stack</span>
|
||||
<Layers className="w-3.5 h-3.5 text-blue-600" />
|
||||
<span>Creative Suite</span>
|
||||
</Link>
|
||||
</nav>
|
||||
|
||||
{/* Right Status & Action Items */}
|
||||
<div className="hidden lg:flex items-center space-x-4">
|
||||
{/* Live System Operational Indicator */}
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-full bg-emerald-950/40 border border-emerald-500/30 text-[11px] font-mono text-emerald-400 shadow-sm">
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-full bg-emerald-50 border border-emerald-200 text-[11px] font-mono text-emerald-700 shadow-sm">
|
||||
<span className="relative flex h-2 w-2">
|
||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"></span>
|
||||
<span className="relative inline-flex rounded-full h-2 w-2 bg-emerald-500"></span>
|
||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-500 opacity-75"></span>
|
||||
<span className="relative inline-flex rounded-full h-2 w-2 bg-emerald-600"></span>
|
||||
</span>
|
||||
<span>Neural Core v2.4 Active</span>
|
||||
</div>
|
||||
@@ -80,9 +80,9 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
{/* Primary CTA Button */}
|
||||
<Link
|
||||
href={config.nav.cta.href}
|
||||
className="group relative inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold text-black bg-gradient-to-r from-cyan-400 via-teal-300 to-cyan-300 hover:from-cyan-300 hover:to-teal-200 shadow-[0_0_25px_rgba(0,240,255,0.35)] hover:shadow-[0_0_35px_rgba(0,240,255,0.5)] transition-all duration-300 hover:-translate-y-0.5 active:translate-y-0"
|
||||
className="group relative inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-xs font-bold text-white bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 shadow-md shadow-blue-500/20 hover:shadow-lg hover:shadow-blue-500/30 transition-all duration-300 hover:-translate-y-0.5 active:translate-y-0"
|
||||
>
|
||||
<Smartphone className="w-4 h-4 text-black group-hover:rotate-6 transition-transform" />
|
||||
<Smartphone className="w-4 h-4 text-white group-hover:rotate-6 transition-transform" />
|
||||
<span>{resolveLocalised(config.nav.cta.label, currentLocale)}</span>
|
||||
</Link>
|
||||
</div>
|
||||
@@ -91,23 +91,23 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
<div className="flex md:hidden items-center space-x-2">
|
||||
<button
|
||||
onClick={() => setMobileMenuOpen(!mobileMenuOpen)}
|
||||
className="p-2.5 rounded-xl text-slate-200 bg-white/[0.05] border border-white/[0.1] hover:bg-white/[0.1] transition-colors"
|
||||
className="p-2.5 rounded-xl text-slate-700 bg-white border border-slate-200 hover:bg-slate-50 transition-colors shadow-sm"
|
||||
aria-label="Open menu"
|
||||
>
|
||||
{mobileMenuOpen ? <X className="w-5 h-5 text-cyan-400" /> : <Menu className="w-5 h-5" />}
|
||||
{mobileMenuOpen ? <X className="w-5 h-5 text-blue-600" /> : <Menu className="w-5 h-5" />}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Mobile Drawer */}
|
||||
{mobileMenuOpen && (
|
||||
<div className="md:hidden mt-3 rounded-2xl border border-white/[0.1] bg-[#07090E]/95 backdrop-blur-2xl p-5 space-y-3 shadow-2xl animate-in slide-in-from-top-4 duration-200">
|
||||
<div className="flex items-center justify-between pb-3 border-b border-white/[0.08]">
|
||||
<div className="flex items-center gap-2 text-xs font-mono text-emerald-400">
|
||||
<span className="h-2 w-2 rounded-full bg-emerald-400 animate-pulse" />
|
||||
<div className="md:hidden mt-3 rounded-2xl border border-slate-200 bg-[#FAF8F5]/98 backdrop-blur-2xl p-5 space-y-3 shadow-xl animate-in slide-in-from-top-4 duration-200">
|
||||
<div className="flex items-center justify-between pb-3 border-b border-slate-200">
|
||||
<div className="flex items-center gap-2 text-xs font-mono text-emerald-700">
|
||||
<span className="h-2 w-2 rounded-full bg-emerald-500 animate-pulse" />
|
||||
<span>Core v2.4 Active</span>
|
||||
</div>
|
||||
<span className="text-[10px] font-mono text-slate-400">RAM Streaming</span>
|
||||
<span className="text-[10px] font-mono text-slate-500">RAM Streaming</span>
|
||||
</div>
|
||||
|
||||
<div className="space-y-1">
|
||||
@@ -120,8 +120,8 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
className={`flex items-center justify-between px-4 py-3 rounded-xl text-sm font-semibold transition-colors ${
|
||||
active
|
||||
? 'text-cyan-400 bg-cyan-950/40 border border-cyan-500/30'
|
||||
: 'text-slate-300 hover:bg-white/[0.05]'
|
||||
? 'text-blue-700 bg-blue-50 border border-blue-200'
|
||||
: 'text-slate-700 hover:bg-slate-100'
|
||||
}`}
|
||||
>
|
||||
<span>{resolveLocalised(item.label, currentLocale)}</span>
|
||||
@@ -130,22 +130,22 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
||||
})}
|
||||
|
||||
<Link
|
||||
href="/#tools-stack"
|
||||
href="/#studio-suite"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
className="flex items-center justify-between px-4 py-3 rounded-xl text-sm font-semibold text-cyan-400 bg-white/[0.03] hover:bg-white/[0.06]"
|
||||
className="flex items-center justify-between px-4 py-3 rounded-xl text-sm font-semibold text-blue-700 bg-blue-50/60 hover:bg-blue-100/60"
|
||||
>
|
||||
<span className="flex items-center gap-2">
|
||||
<Layers className="w-4 h-4 text-cyan-400" />
|
||||
Tools Stack
|
||||
<Layers className="w-4 h-4 text-blue-600" />
|
||||
Creative Suite
|
||||
</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<div className="pt-3 border-t border-white/[0.08]">
|
||||
<div className="pt-3 border-t border-slate-200">
|
||||
<Link
|
||||
href={config.nav.cta.href}
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
className="flex items-center justify-center gap-2 w-full py-3.5 rounded-xl text-sm font-bold text-black bg-gradient-to-r from-cyan-400 to-teal-300 shadow-[0_0_20px_rgba(0,240,255,0.3)]"
|
||||
className="flex items-center justify-center gap-2 w-full py-3.5 rounded-xl text-sm font-bold text-white bg-gradient-to-r from-blue-600 to-indigo-600 shadow-md shadow-blue-500/20"
|
||||
>
|
||||
<Smartphone className="w-4 h-4" />
|
||||
<span>{resolveLocalised(config.nav.cta.label, currentLocale)}</span>
|
||||
|
||||
Reference in New Issue
Block a user