How sushant-nautiyal/dhriti-yogshala works
1. Overall architecture
- Dhriti Yogshala is a static, multi-page website for a yoga studio.
- There is no server-side application, database, or build pipeline; the browser loads HTML, CSS, JavaScript, images, and a few content JSON files directly from the repo.
2. Page layer
- The main user-facing entry points are the standalone HTML pages: index.html, about.html, classes.html, schedule.html, gallery.html, blog.html, testimonials.html, contact.html, and privacy.html.
- Each page is a self-contained route, likely sharing a common navigation/footer pattern for consistent site-wide movement.
3. Content and information architecture
- The site is organized around a studio-funnel structure: home → about/classes/schedule → gallery/testimonials → contact.
- blog.html appears to be a lightweight placeholder for updates rather than a fully featured content system.
- privacy.html supports trust/compliance rather than a user workflow.
4. Presentation layer
- Styling is centralized in assets/css/styles.css.
- This file defines the visual identity: calm editorial layout, spacing, typography, responsive sections, and overall brand feel.
- Because the site is static, design consistency depends heavily on this shared stylesheet rather than component-based rendering.
5. Client-side behavior
- assets/js/main.js provides minimal browser-side interactivity.
- Based on the README, its responsibilities include mobile navigation, dynamic year rendering, and booking/contact link handling.
- This keeps the site lightweight while still supporting a responsive user experience.
6. Data/content files
- public/data/classes.json, public/data/schedule.json, and public/data/testimonials.json act as structured content sources or sample data.
- These are the only explicit data artifacts in the repo and represent a content layer separate from the page markup.
- Since there is no backend, any dynamic usage of these files would happen entirely in the browser or during future static generation.
7. Media and asset layer
- assets/images/ contains branding and photography used across pages.
- The visual experience depends on these assets for atmosphere and credibility, especially on the homepage, gallery, and testimonial sections.
- The assets/images/README.md suggests image usage guidance or organization support.
8. Contact and conversion flows
- The primary conversion path is contact/booking, with WhatsApp and a registration form called out in the README.
- The form destination and WhatsApp number are expected to be configured in assets/js/main.js.
- This is an important boundary: user submissions likely leave the site through external services rather than being processed locally.
9. SEO and web app metadata
- sitemap.xml and robots.txt support crawlability and indexing.
- manifest.json adds PWA-style metadata, likely for installability/home-screen branding.
- These files are part of the delivery/runtime layer, not the interactive application layer.
10. Hosting and runtime model
- The project is designed for static hosting such as GitHub Pages.
- Local preview uses a simple HTTP server, reinforcing that all functionality runs in the browser.
- The architectural boundary is therefore: static assets served by a web host, browser executes HTML/CSS/JS, external links/forms handle lead capture.
Main entry points: sitemap.xml Sitemap · styles.css Site CSS · main.js Main JS · index.html Home
Components 18
Pages
Standalone HTML entry points for the studio site.
- Home · Primary landing page.
index.html - About · Studio background and positioning.
about.html - Classes · Class offerings and descriptions.
classes.html - Schedule · Timetable and session availability.
schedule.html - Gallery · Visual showcase page.
gallery.html - Blog · Lightweight updates or placeholder content.
blog.html - Testimonials · Student feedback and social proof.
testimonials.html - Contact · Booking and inquiry entry point.
contact.html - Privacy · Trust and policy information.
privacy.html
Assets
Shared presentation, behavior, and media resources.
Content Data
Structured browser-consumed content files.
- Classes Data · Structured class content for browser-side use.
public/data/classes.json - Schedule Data · Structured schedule content for browser-side use.
public/data/schedule.json - Testimonials Data · Structured testimonial content for browser-side use.
public/data/testimonials.json
Connections 35
- Home → Site CSS: shared UI · All pages use the centralized stylesheet.
- Home → Main JS: behavior · Homepage loads shared browser interactivity.
- Home → Images: media · Homepage uses shared photography and branding assets.
- About → Site CSS: shared UI · About page uses the centralized stylesheet.
- About → Main JS: behavior · About page loads shared browser interactivity.
- About → Images: media · About page uses shared photography and branding assets.
- Classes → Site CSS: shared UI · Classes page uses the centralized stylesheet.
- Classes → Main JS: behavior · Classes page loads shared browser interactivity.
- Classes → Classes Data: content · Classes page can draw from structured class data.
- Schedule → Site CSS: shared UI · Schedule page uses the centralized stylesheet.
- Schedule → Main JS: behavior · Schedule page loads shared browser interactivity.
- Schedule → Schedule Data: content · Schedule page can draw from structured schedule data.
- Gallery → Site CSS: shared UI · Gallery page uses the centralized stylesheet.
- Gallery → Main JS: behavior · Gallery page loads shared browser interactivity.
- Gallery → Images: media · Gallery page depends heavily on image assets.
- Blog → Site CSS: shared UI · Blog page uses the centralized stylesheet.
- Blog → Main JS: behavior · Blog page loads shared browser interactivity.
- Testimonials → Site CSS: shared UI · Testimonials page uses the centralized stylesheet.
- Testimonials → Main JS: behavior · Testimonials page loads shared browser interactivity.
- Testimonials → Testimonials Data: content · Testimonials page can draw from structured testimonial data.
- Contact → Site CSS: shared UI · Contact page uses the centralized stylesheet.
- Contact → Main JS: behavior · Contact page loads shared browser interactivity.
- Privacy → Site CSS: shared UI · Privacy page uses the centralized stylesheet.
- Privacy → Main JS: behavior · Privacy page loads shared browser interactivity.
- Home → Sitemap: crawlability · Homepage is part of the crawlable site map.
- About → Sitemap: crawlability · About page is part of the crawlable site map.
- Classes → Sitemap: crawlability · Classes page is part of the crawlable site map.
- Schedule → Sitemap: crawlability · Schedule page is part of the crawlable site map.
- Gallery → Sitemap: crawlability · Gallery page is part of the crawlable site map.
- Blog → Sitemap: crawlability · Blog page is part of the crawlable site map.
- Testimonials → Sitemap: crawlability · Testimonials page is part of the crawlable site map.
- Contact → Sitemap: crawlability · Contact page is part of the crawlable site map.
- Privacy → Sitemap: crawlability · Privacy page is part of the crawlable site map.
- Robots → Sitemap: guides · Crawler policy complements the site map.
- Manifest → Home: entry · Manifest supports the main site entry and branding.