How meganathanyuvaraj037-png/demo_static_project works
This is a small static portfolio/demo site with separate pages for projects, skills, experience, contact, and a five-year roadmap. Its sampled runtime behavior is a theme switcher that initializes from saved preference or the system color scheme, updates the document and button label, and persists changes. Page contents and navigation are not shown in the available excerpts, so their relationships are left unspecified.
Main entry points: theme.js Theme switcher
Components 14
Portfolio pages
- Home page
index.html - Projects page
projects/projects.html - Skills page
skills.html - Experience page
experience.html - Contact page
contact.html
Roadmap pages
- Five-year roadmap
five-year-roadmap/five-year-roadmap.html
Presentation and theme
- Site styles
style.css - Contact styles
contact.css - Roadmap styles
five-year-roadmap/style.css - Theme switcher
theme.js
Other components
- Visitor
- Browser document
- Local storage
- Color preference
Connections 4
- Visitor → Theme switcher: clicks control
theme.js - Theme switcher → Browser document: updates theme
theme.js - Theme switcher → Local storage: reads and writes
theme.js - Theme switcher → Color preference: reads preference
theme.js