An immersive digital showroom designed to blend deep space-ambient aesthetics with high-fidelity liquid glassmorphism, physical micro-interactions, and flawless 60 FPS hardware performance.
Unlike generic flat designs, the Liquid Glass theme simulates physical light interaction, surface depth, and fluid motion using state-of-the-art CSS and animation structures.
graph TD
classDef glass fill:#18181b,stroke:#ffffff,stroke-width:2px,color:#ffffff;
classDef highlight fill:#ffffff,stroke:#38B2AC,stroke-width:1px,color:#000000;
classDef anim fill:#1f0015,stroke:#F107A3,stroke-width:1px,color:#ffffff;
A["✨ Specular Top Light <br> 'inset 0 1px 0 rgba(255,255,255,0.35)'"]:::highlight --> B["🧬 Frosted Glass Core <br> 'backdrop-blur-3xl / rgba(255,255,255,0.06)'"]:::glass
B --> C["🌈 Directional Border Gradient <br> 'bright white top / faint bottom'"]:::glass
C --> D["🌊 Physics-based Spring <br> 'stiffness: 350 / damping: 30'"]:::anim
- Refraction (Blur):
backdrop-filter: blur(24px) saturate(180%)to diffuse complex background video particles. - Surface Coating:
linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06))giving a three-dimensional curvature. - Border Profile: High-contrast top-lit borders fading dynamically to transparent at the lower boundary.
- Light Traps: Dual-layer inner shadows (
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35)) capturing ambient light along the edges. - Organic Motion: Interactive physics-based scales (
springpresets) that mimic the tensile resilience of organic fluids on hover.
This portfolio is built to achieve perfect lighthouse metrics while running intensive cinematic media assets.
Tip
GPU-Composited Virtualization:
Running multiple HTML5 background videos simultaneously creates severe rendering lag. We engineered a custom virtualized player (FadingVideo) using a native IntersectionObserver that completely unmounts/pauses offscreen videos, keeping layout cycles clean and lock-in at a solid 60 FPS scroll speed.
Important
Asynchronous Resource Pipelines:
- Font Preconnecting: Render-blocking
@importstatements were stripped out of the CSS stylesheet and replaced with parallel, preconnected HTML<link>headers to speed up initial font render times. - Image Deferrals: Project screenshots utilize
loading="lazy"anddecoding="async"to prevent offscreen assets from competing for network connections during first paint. - Optimistic Contact API: The custom contact form bypasses traditional loading states, immediately displaying a success checkmark and resetting fields, while dispatches are sent asynchronously over a pooled SMTP transporter connection.
- Frontend Framework:
React 19 (TypeScript) - Vite Bundler: Highly optimized tree-shaking and dynamic module preloading
- Styling Engine:
Tailwind CSS 4.0& Custom Vanilla variables - Composited Motion:
Framer Motion (motion/react) - Node SMTP Server: Express, Nodemailer with persistent SMTP Connection Pooling for millisecond-level background delivery
git clone https://github.com/<YOUR-USERNAME>/Liquid-Glass-Portfolio.git
cd Liquid-Glass-Portfolio
npm installCreate a .env file in the root workspace directory:
VITE_HERO_VIDEO_URL="your-hero-video-url"
VITE_EXPERT_VIDEO_URL="your-expertise-video-url"
VITE_PROJECTS_VIDEO_URL="your-projects-video-url"
VITE_HACKATHONS_VIDEO_URL="your-hackathons-video-url"
GMAIL_USER="your-email@gmail.com"
GMAIL_PASS="your-gmail-16-char-app-password"# Starts both the React SPA and the Node SMTP service
npm run devnpm run buildCreates static frontend assets inside dist/ and compiles the high-speed server into dist/server.cjs.