# mohanraj-vd/mj architecture

> Architecture diagram of the GitHub repository mohanraj-vd/mj, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mohanraj-vd/mj
- Repository: https://github.com/mohanraj-vd/mj

## Overview

This is a React wedding-invitation website. A visitor opens the animated cover to reveal the invitation, which presents the couple, event details and countdown, ritual meanings, venue and directions, and a closing message. The graph preserves the documented countdown and map capabilities. Several indexed components are included, but their use is not established by the available excerpts; their relationships are therefore left unspecified.

Main entry points: [`src/pages/Home.jsx`](https://github.com/mohanraj-vd/mj/blob/master/src/pages/Home.jsx) (Invitation page), [`src/App.jsx`](https://github.com/mohanraj-vd/mj/blob/master/src/App.jsx) (Invitation flow), [`src/components/Cover.jsx`](https://github.com/mohanraj-vd/mj/blob/master/src/components/Cover.jsx) (Opening cover), [`src/components/Hero.jsx`](https://github.com/mohanraj-vd/mj/blob/master/src/components/Hero.jsx) (Couple introduction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_mount["React mount<br/>[main.jsx]"]
  node_app["Invitation flow<br/>[App.jsx]"]
end

subgraph group_invitation["Invitation presentation"]
  node_cover["Opening cover<br/>[Cover.jsx]"]
  node_home["Invitation page<br/>[Home.jsx]"]
  node_hero["Couple introduction<br/>[Hero.jsx]"]
  node_couple["Couple content<br/>[Couple.jsx]"]
  node_footer["Closing message<br/>[Footer.jsx]"]
end

subgraph group_event["Event information"]
  node_details["Event details<br/>[Details.jsx]"]
  node_countdown["Countdown<br/>[Countdown.jsx]"]
  node_venue["Venue and map<br/>[Venue.jsx]"]
  node_gallery["Ritual meanings<br/>[Gallery.jsx]"]
  node_weddingdetails["Wedding details<br/>[WeddingDetails.jsx]"]
end

subgraph group_visuals["Visual elements"]
  node_animatedtext["Animated text<br/>[AnimatedText.jsx]"]
  node_orbs["Floating orbs<br/>[FloatingOrbs.jsx]"]
  node_divider["Section divider<br/>[Divider.jsx]"]
  node_heart["Heart icon<br/>[Heart.jsx]"]
end

node_visitor(("Visitor"))
node_maps["Google Maps"]

node_visitor -->|"views"| node_app
node_mount -->|"renders"| node_app
node_app -->|"shows until opened"| node_cover
node_app -->|"shows after opening"| node_home
node_cover -->|"calls open callback"| node_app
node_cover -->|"renders"| node_orbs
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_divider
node_home -->|"renders"| node_countdown
node_home -->|"renders"| node_details
node_home -->|"renders"| node_gallery
node_home -->|"renders"| node_venue
node_home -->|"renders"| node_footer
node_home -->|"renders"| node_orbs
node_hero -->|"renders"| node_animatedtext
node_footer -->|"renders"| node_heart
node_venue -->|"embeds map"| node_maps

click node_mount "https://github.com/mohanraj-vd/mj/blob/master/src/main.jsx"
click node_app "https://github.com/mohanraj-vd/mj/blob/master/src/App.jsx"
click node_cover "https://github.com/mohanraj-vd/mj/blob/master/src/components/Cover.jsx"
click node_home "https://github.com/mohanraj-vd/mj/blob/master/src/pages/Home.jsx"
click node_hero "https://github.com/mohanraj-vd/mj/blob/master/src/components/Hero.jsx"
click node_couple "https://github.com/mohanraj-vd/mj/blob/master/src/components/Couple.jsx"
click node_details "https://github.com/mohanraj-vd/mj/blob/master/src/components/Details.jsx"
click node_countdown "https://github.com/mohanraj-vd/mj/blob/master/src/components/Countdown.jsx"
click node_venue "https://github.com/mohanraj-vd/mj/blob/master/src/components/Venue.jsx"
click node_gallery "https://github.com/mohanraj-vd/mj/blob/master/src/components/Gallery.jsx"
click node_footer "https://github.com/mohanraj-vd/mj/blob/master/src/components/Footer.jsx"
click node_animatedtext "https://github.com/mohanraj-vd/mj/blob/master/src/components/AnimatedText.jsx"
click node_orbs "https://github.com/mohanraj-vd/mj/blob/master/src/components/FloatingOrbs.jsx"
click node_divider "https://github.com/mohanraj-vd/mj/blob/master/src/components/Divider.jsx"
click node_heart "https://github.com/mohanraj-vd/mj/blob/master/src/components/Heart.jsx"
click node_weddingdetails "https://github.com/mohanraj-vd/mj/blob/master/src/components/WeddingDetails.jsx"

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_mount,node_app toneBlue
class node_cover,node_home,node_hero,node_couple,node_footer toneAmber
class node_details,node_countdown,node_venue,node_gallery,node_weddingdetails toneMint
class node_animatedtext,node_orbs,node_divider,node_heart toneRose
class node_visitor,node_maps toneIndigo
```

## Components

### App entry

- [React mount](https://github.com/mohanraj-vd/mj/blob/master/src/main.jsx): `src/main.jsx`
- [Invitation flow](https://github.com/mohanraj-vd/mj/blob/master/src/App.jsx): `src/App.jsx`

### Invitation presentation

- [Opening cover](https://github.com/mohanraj-vd/mj/blob/master/src/components/Cover.jsx): `src/components/Cover.jsx`
- [Invitation page](https://github.com/mohanraj-vd/mj/blob/master/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Couple introduction](https://github.com/mohanraj-vd/mj/blob/master/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Couple content](https://github.com/mohanraj-vd/mj/blob/master/src/components/Couple.jsx): `src/components/Couple.jsx`
- [Closing message](https://github.com/mohanraj-vd/mj/blob/master/src/components/Footer.jsx): `src/components/Footer.jsx`

### Event information

- [Event details](https://github.com/mohanraj-vd/mj/blob/master/src/components/Details.jsx): `src/components/Details.jsx`
- [Countdown](https://github.com/mohanraj-vd/mj/blob/master/src/components/Countdown.jsx): `src/components/Countdown.jsx`
- [Venue and map](https://github.com/mohanraj-vd/mj/blob/master/src/components/Venue.jsx): `src/components/Venue.jsx`
- [Ritual meanings](https://github.com/mohanraj-vd/mj/blob/master/src/components/Gallery.jsx): `src/components/Gallery.jsx`
- [Wedding details](https://github.com/mohanraj-vd/mj/blob/master/src/components/WeddingDetails.jsx): `src/components/WeddingDetails.jsx`

### Visual elements

- [Animated text](https://github.com/mohanraj-vd/mj/blob/master/src/components/AnimatedText.jsx): `src/components/AnimatedText.jsx`
- [Floating orbs](https://github.com/mohanraj-vd/mj/blob/master/src/components/FloatingOrbs.jsx): `src/components/FloatingOrbs.jsx`
- [Section divider](https://github.com/mohanraj-vd/mj/blob/master/src/components/Divider.jsx): `src/components/Divider.jsx`
- [Heart icon](https://github.com/mohanraj-vd/mj/blob/master/src/components/Heart.jsx): `src/components/Heart.jsx`

### Other components

- **Visitor**
- **Google Maps**

## Connections

- Visitor → Invitation flow: views
- React mount → Invitation flow: renders (evidence: `src/main.jsx`)
- Invitation flow → Opening cover: shows until opened (evidence: `src/App.jsx`)
- Invitation flow → Invitation page: shows after opening (evidence: `src/App.jsx`)
- Opening cover → Invitation flow: calls open callback (evidence: `src/App.jsx`)
- Opening cover → Floating orbs: renders (evidence: `src/components/Cover.jsx`)
- Invitation page → Couple introduction: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Section divider: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Countdown: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Event details: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Ritual meanings: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Venue and map: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Closing message: renders (evidence: `src/pages/Home.jsx`)
- Invitation page → Floating orbs: renders (evidence: `src/pages/Home.jsx`)
- Couple introduction → Animated text: renders (evidence: `src/components/Hero.jsx`)
- Closing message → Heart icon: renders (evidence: `src/components/Footer.jsx`)
- Venue and map → Google Maps: embeds map (evidence: `src/components/Venue.jsx`)
