# haridevex/j-visula-studio architecture

> Architecture diagram of the GitHub repository haridevex/j-visula-studio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-04-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/haridevex/j-visula-studio
- Repository: https://github.com/haridevex/j-visula-studio

## Overview

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: [`src/app/page.tsx`](https://github.com/haridevex/j-visula-studio/blob/main/src/app/page.tsx) (Home Page), [`src/app/layout.tsx`](https://github.com/haridevex/j-visula-studio/blob/main/src/app/layout.tsx) (Root Layout), [`src/components/Header.tsx`](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Header.tsx) (Header), [`src/components/FloatingWhatsApp.tsx`](https://github.com/haridevex/j-visula-studio/blob/main/src/components/FloatingWhatsApp.tsx) (WhatsApp CTA)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_group_app["App Shell"]
  node_node_layout["Root Layout<br/>Next.js shell<br/>[layout.tsx]"]
  node_node_page["Home Page<br/>App Router page<br/>[page.tsx]"]
end

subgraph group_group_sections["Homepage Sections"]
  node_node_hero["Hero<br/>landing section<br/>[Hero.tsx]"]
  node_node_services["Services<br/>offerings section<br/>[Services.tsx]"]
  node_node_featured["Featured Work<br/>showcase section<br/>[FeaturedWork.tsx]"]
  node_node_portfolio["Portfolio<br/>gallery section<br/>[Portfolio.tsx]"]
  node_node_transformations["Transformations<br/>results section"]
  node_node_beforeafter["Before/After<br/>comparison section<br/>[BeforeAfter.tsx]"]
  node_node_testimonials["Testimonials<br/>social proof<br/>[Testimonials.tsx]"]
  node_node_trustproof["Trust Proof<br/>credibility section<br/>[TrustProof.tsx]"]
  node_node_about["About<br/>profile section<br/>[About.tsx]"]
  node_node_contact["Contact<br/>conversion section<br/>[Contact.tsx]"]
end

subgraph group_group_chrome["Shared Chrome"]
  node_node_header["Header<br/>site chrome<br/>[Header.tsx]"]
  node_node_footer["Footer<br/>site chrome<br/>[Footer.tsx]"]
  node_node_whatsapp(("WhatsApp CTA<br/>external contact"))
end

subgraph group_group_style["Styling"]
  node_node_globals_css["Global CSS<br/>base styles<br/>[globals.css]"]
  node_node_page_css["Page CSS<br/>page styles<br/>[page.module.css]"]
end

node_node_layout -->|"loads"| node_node_globals_css
node_node_layout -->|"renders"| node_node_header
node_node_layout -->|"renders"| node_node_footer
node_node_layout -->|"mounts"| node_node_whatsapp
node_node_layout -->|"hosts"| node_node_page
node_node_page -->|"styles with"| node_node_page_css
node_node_page -->|"composes"| node_node_hero
node_node_page -->|"composes"| node_node_services
node_node_page -->|"composes"| node_node_featured
node_node_page -->|"composes"| node_node_portfolio
node_node_page -->|"composes"| node_node_transformations
node_node_page -->|"composes"| node_node_beforeafter
node_node_page -->|"composes"| node_node_testimonials
node_node_page -->|"composes"| node_node_trustproof
node_node_page -->|"composes"| node_node_about
node_node_page -->|"composes"| node_node_contact
node_node_header -.->|"anchors"| node_node_page
node_node_whatsapp -.->|"duplicates channel"| node_node_contact

click node_node_layout "https://github.com/haridevex/j-visula-studio/blob/main/src/app/layout.tsx"
click node_node_page "https://github.com/haridevex/j-visula-studio/blob/main/src/app/page.tsx"
click node_node_globals_css "https://github.com/haridevex/j-visula-studio/blob/main/src/app/globals.css"
click node_node_page_css "https://github.com/haridevex/j-visula-studio/blob/main/src/app/page.module.css"
click node_node_header "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Header.tsx"
click node_node_footer "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Footer.tsx"
click node_node_whatsapp "https://github.com/haridevex/j-visula-studio/blob/main/src/components/FloatingWhatsApp.tsx"
click node_node_hero "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Hero.tsx"
click node_node_services "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Services.tsx"
click node_node_featured "https://github.com/haridevex/j-visula-studio/blob/main/src/components/FeaturedWork.tsx"
click node_node_portfolio "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Portfolio.tsx"
click node_node_transformations "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Transformations.tsx"
click node_node_beforeafter "https://github.com/haridevex/j-visula-studio/blob/main/src/components/BeforeAfter.tsx"
click node_node_testimonials "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Testimonials.tsx"
click node_node_trustproof "https://github.com/haridevex/j-visula-studio/blob/main/src/components/TrustProof.tsx"
click node_node_about "https://github.com/haridevex/j-visula-studio/blob/main/src/components/About.tsx"
click node_node_contact "https://github.com/haridevex/j-visula-studio/blob/main/src/components/Contact.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_node_layout,node_node_page toneBlue
class node_node_hero,node_node_services,node_node_featured,node_node_portfolio,node_node_transformations,node_node_beforeafter,node_node_testimonials,node_node_trustproof,node_node_about,node_node_contact toneAmber
class node_node_header,node_node_footer,node_node_whatsapp toneMint
class node_node_globals_css,node_node_page_css toneRose
```

## Components

### App Shell

Next.js root shell and page composition

- [Root Layout](https://github.com/haridevex/j-visula-studio/blob/main/src/app/layout.tsx): Next.js shell · Root document wrapper for the app and shared providers/assets · `src/app/layout.tsx`
- [Home Page](https://github.com/haridevex/j-visula-studio/blob/main/src/app/page.tsx): App Router 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](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Hero.tsx): landing section · Primary opening message and conversion hook · `src/components/Hero.tsx`
- [Services](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Services.tsx): offerings section · Summarizes services or capabilities · `src/components/Services.tsx`
- [Featured Work](https://github.com/haridevex/j-visula-studio/blob/main/src/components/FeaturedWork.tsx): showcase section · Highlighted projects or selected work · `src/components/FeaturedWork.tsx`
- [Portfolio](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Portfolio.tsx): gallery section · Broader project gallery or case collection · `src/components/Portfolio.tsx`
- [Transformations](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Transformations.tsx): results section · Before-and-after style outcome presentation · `src/components/Transformations.tsx`
- [Before/After](https://github.com/haridevex/j-visula-studio/blob/main/src/components/BeforeAfter.tsx): comparison section · Side-by-side comparison of change or improvement · `src/components/BeforeAfter.tsx`
- [Testimonials](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Testimonials.tsx): social proof · Client quotes and credibility signals · `src/components/Testimonials.tsx`
- [Trust Proof](https://github.com/haridevex/j-visula-studio/blob/main/src/components/TrustProof.tsx): credibility section · Logos, stats, or other trust-building evidence · `src/components/TrustProof.tsx`
- [About](https://github.com/haridevex/j-visula-studio/blob/main/src/components/About.tsx): profile section · Background and positioning for the studio · `src/components/About.tsx`
- [Contact](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Contact.tsx): conversion section · Direct contact and inquiry entry point · `src/components/Contact.tsx`

### Shared Chrome

Persistent navigation, footer, and contact CTA layer

- [Header](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Header.tsx): site chrome · Persistent top navigation and brand area · `src/components/Header.tsx`
- [Footer](https://github.com/haridevex/j-visula-studio/blob/main/src/components/Footer.tsx): site chrome · Persistent bottom site footer · `src/components/Footer.tsx`
- [WhatsApp CTA](https://github.com/haridevex/j-visula-studio/blob/main/src/components/FloatingWhatsApp.tsx): external contact · Floating action button that routes users to WhatsApp · `src/components/FloatingWhatsApp.tsx`

### Styling

Global and component-scoped CSS

- [Global CSS](https://github.com/haridevex/j-visula-studio/blob/main/src/app/globals.css): base styles · Site-wide baseline styling and resets · `src/app/globals.css`
- [Page CSS](https://github.com/haridevex/j-visula-studio/blob/main/src/app/page.module.css): page styles · Layout and spacing rules for the homepage · `src/app/page.module.css`

## Connections

- 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
