How yuvarajsakthi/yuvi-portfolio works
Project Type and Purpose
• This is a front-end only, static website built purely with HTML, CSS, and vanilla JavaScript (no frameworks or libraries).
• The site is a single-page application (SPA) that pulls its design from a Figma prototype and is hosted at https://yuvi.js.tnhost.in/.
File Structure Analysis
• Top-level files:
• index.html – entry point and SPA container
• script.js – application logic and interactivity
• style.css, animations.css, initial.css, responsive.css – styling (base, animations, resets, responsive rules)
• assets/ – images, fonts or other static media
• readme.md – project documentation
• No backend directories, configuration, or build scripts—this is purely static.
Key Insights from README
• Confirms “ONLY HTML, CSS AND JS AND NO THIRD PARTY LIBRARY.”
• Provides Figma design link (source of truth for UI/UX).
Main Components and Their Relationships
a. Client (Web Browser)
• Renders index.html
• Applies CSS (style, initial, animations, responsive)
• Executes script.js for UI behavior
b. Static Web Server / CDN
• Hosts and serves index.html, CSS files, JS file, and assets/ folder
c. External Design Source (Figma)
• Reference for UI components—no runtime integration, but informs developer workstream.
• Browser (Client)
• Static Hosting Server / CDN
• Assets (images, fonts)
• Figma (annotated as “Design Reference”)
• Flows & Interactions:
1. Browser → HTTP GET → Server: requests index.html
2. Server → HTTP 200 → Browser: returns HTML
3. Browser parses HTML and issues HTTP GETs for CSS/JS/assets
4. Server → returns CSS/JS/assets
5. Browser applies CSS rules, runs script.js, fetches design details from Figma manually (out of band)
• Architectural Patterns:
• Single-Page Application (static)
• Resource bundling via directory structure
• Responsive design handled by responsive.css
Technologies & Roles
• HTML5: Markup (index.html)
• CSS3: styling (style.css, animations.css, initial.css, responsive.css)
• JavaScript (ES6+): interactivity (script.js)
• Static Hosting (TNHost or similar CDN)
• Design Tool: Figma (for developer reference)