How ruka-byte/amp-website works
This is a small static gym website. Visitors browse the page and can use its navigation, smooth in-page scrolling, reveal-on-scroll effects, and inquiry modal. The sampled JavaScript implements those interactions by querying and updating page elements. The HTML and CSS were not excerpted, so their detailed content and wiring to the script are not verified.
Main entry points: index.html Gym Page · amp.js Navigation
Components 6
Website
- Gym Page
index.html - Page Styles
amp.css
Page Interactions
- Navigation
amp.js - Scroll Effects
amp.js - Inquiry Modal
amp.js
Other components
- Visitor
Connections 5
- Navigation → Gym Page: scrolls and toggles
amp.js - Scroll Effects → Gym Page: reveals elements
amp.js - Inquiry Modal → Gym Page: opens and closes
amp.js - Visitor → Navigation: clicks links
amp.js - Visitor → Inquiry Modal: requests inquiry
amp.js