Skip to content

Sujal-Sule/Liquid-Glass-Portfolio

Repository files navigation

🌊 Liquid Glass Portfolio

💎 LIQUID GLASS PORTFOLIO 💎

🔮 A Cinematic, High-Performance 3D Glassmorphic Interface

React Vite Framer Motion Tailwind CSS

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.


💧 The Liquid Glass Design Spec (Aesthetic Core)

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
Loading

🧬 Liquid Glass Design Token System

  • 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 (spring presets) that mimic the tensile resilience of organic fluids on hover.

🚀 Performance Engineering (Core Web Vitals)

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 @import statements 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" and decoding="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.

🛠️ Architecture & Technologies

  • 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

⚡ Setup & Local Development

1. Replicate Codebase

git clone https://github.com/<YOUR-USERNAME>/Liquid-Glass-Portfolio.git
cd Liquid-Glass-Portfolio
npm install

2. Configure Local Environment (.env)

Create 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"

3. Run Dev Server

# Starts both the React SPA and the Node SMTP service
npm run dev

4. Build Production Target

npm run build

Creates static frontend assets inside dist/ and compiles the high-speed server into dist/server.cjs.


💧 Crafted with absolute visual precision and core engineering efficiency. 💧

About

A cinematic, ultra-smooth 3D liquid-glass developer portfolio built with React 19, Vite, Framer Motion, and Tailwind CSS. Features GPU-accelerated background video lazy-loading, a physics-based custom cursor, custom Brave-optimized scrollbar styling, and an optimized SMTP connection-pooled contact server.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors