How haridevex/j-visula-studio works
1. Repository shape
- This is a single Next.js App Router application built with React + TypeScript.
- The source tree is very small and presentation-focused: one app shell, one landing page, and a set of reusable section components.
2. Overall architecture
- The app behaves like a section-based marketing/portfolio site rather than a data-driven product.
- There is no visible API layer, database access, auth system, or server-side business service in the source tree.
3. Application shell
- src/app/layout.tsx is the root wrapper for the application.
- src/app/globals.css defines the global baseline styling applied across the site.
- The layout is where Next.js root document structure and global assets/fonts are established.
4. Page composition
- src/app/page.tsx is the main entry point and likely assembles the homepage by composing the section components.
- src/app/page.module.css provides page-level styling for overall layout and spacing.
5. Section/component boundaries
- The main UI is broken into focused components under src/components/:
- Hero
- Services
- FeaturedWork
- Portfolio
- Transformations
- BeforeAfter
- Testimonials
- TrustProof
- About
- Contact
- Each section has its own .module.css, so styling is strongly component-scoped.
6. Shared chrome and navigation
- Header, Footer, and FloatingWhatsApp are the cross-page/shared UI pieces.
- Header and Footer define the persistent site chrome.
- FloatingWhatsApp is a notable interaction boundary: it links users out to WhatsApp as an external contact channel.
7. User flow / data flow
- The primary data flow is top-down rendering: layout → page → individual sections.
- User interaction is mostly navigation and conversion-driven: scroll through sections, use CTA elements, contact via the Contact section or WhatsApp link.
- Content appears to be embedded in the UI components rather than fetched from an external CMS or API.
8. Styling model
- Styling is split between:
- globals.css for base/global rules
- CSS Modules per component for isolated visual treatment
- This keeps each section self-contained and reduces cross-component style coupling.
9. Rendering/runtime characteristics
- The build artifacts in .next/ confirm a standard Next.js production build with server and client bundles.
- The source tree suggests a mostly static or lightly interactive site; any interactivity would be localized to individual components rather than centralized in a state store.
10. Assets and static content
- public/ is the place for static assets served directly by Next.js.
- The repo does not show a separate content pipeline, so images/media are likely managed as local static assets or inline component content.
11. Operational boundary
- The important architectural boundary is between source code (src/) and generated build output (.next/).
- For architecture diagrams, the source side should be shown as the system under design; .next is build/runtime output, not a source subsystem.
12. Practical diagram takeaway
- Model this as a Next.js frontend-only site with:
- a root app shell,
- a single composed homepage,
- isolated content sections,
- shared chrome/CTA utilities,
- and no visible backend dependency in the repository.
Main entry points: page.tsx Home Page · layout.tsx Root Layout · Header.tsx Header · FloatingWhatsApp.tsx WhatsApp CTA
Components 17
App Shell
Next.js root shell and page composition
- Root Layout · Root document wrapper for the app and shared providers/assets
src/app/layout.tsx - Home Page · Main landing page that assembles the section-based experience
src/app/page.tsx
Homepage Sections
Self-contained marketing sections rendered on the landing page
- Hero · Primary opening message and conversion hook
src/components/Hero.tsx - Services · Summarizes services or capabilities
src/components/Services.tsx - Featured Work · Highlighted projects or selected work
src/components/FeaturedWork.tsx - Portfolio · Broader project gallery or case collection
src/components/Portfolio.tsx - Transformations · Before-and-after style outcome presentation
src/components/Transformations.tsx - Before/After · Side-by-side comparison of change or improvement
src/components/BeforeAfter.tsx - Testimonials · Client quotes and credibility signals
src/components/Testimonials.tsx - Trust Proof · Logos, stats, or other trust-building evidence
src/components/TrustProof.tsx - About · Background and positioning for the studio
src/components/About.tsx - Contact · Direct contact and inquiry entry point
src/components/Contact.tsx
Shared Chrome
Persistent navigation, footer, and contact CTA layer
- Header · Persistent top navigation and brand area
src/components/Header.tsx - Footer · Persistent bottom site footer
src/components/Footer.tsx - WhatsApp CTA · Floating action button that routes users to WhatsApp
src/components/FloatingWhatsApp.tsx
Styling
Global and component-scoped CSS
- Global CSS · Site-wide baseline styling and resets
src/app/globals.css - Page CSS · Layout and spacing rules for the homepage
src/app/page.module.css
Connections 18
- Root Layout → Global CSS: loads · Applies global baseline styles
- Root Layout → Header: renders · Includes persistent site header
- Root Layout → Footer: renders · Includes persistent site footer
- Root Layout → WhatsApp CTA: mounts · Adds floating external contact CTA
- Root Layout → Home Page: hosts · Provides the main app frame for the page route
- Home Page → Page CSS: styles with · Uses page-scoped layout styling
- Home Page → Hero: composes · First homepage section
- Home Page → Services: composes · Section block on the landing page
- Home Page → Featured Work: composes · Section block on the landing page
- Home Page → Portfolio: composes · Section block on the landing page
- Home Page → Transformations: composes · Section block on the landing page
- Home Page → Before/After: composes · Section block on the landing page
- Home Page → Testimonials: composes · Section block on the landing page
- Home Page → Trust Proof: composes · Section block on the landing page
- Home Page → About: composes · Section block on the landing page
- Home Page → Contact: composes · Final conversion section
- Header → Home Page: anchors · Supports top-level navigation through the single page
- WhatsApp CTA → Contact: duplicates channel · Provides an alternate contact route outside the page form