# soupychan8/pritha-souparna-engagement-invitation architecture

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

- Interactive diagram: https://gitdiagram.com/soupychan8/pritha-souparna-engagement-invitation
- Repository: https://github.com/soupychan8/pritha-souparna-engagement-invitation

## Overview

This is a single-page wedding invitation for guests. The main workflow is opening the invitation to explore event details and reminders, then optionally downloading a PDF; the page also includes scroll-driven presentation and music. The sampled code shows the app entry point, PDF generation, and PDF links to map and calendar services. Most interactive invitation features live in one large component, so they are represented together. Unsampled source was not inspected; the README describes setup, not additional product features.

Main entry points: [`src/App.tsx`](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/App.tsx) (Wedding invitation), [`src/PdfDocument.tsx`](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/PdfDocument.tsx) (PDF invitation), [`src/main.tsx`](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/main.tsx) (App entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_entry["App entry<br/>[main.tsx]"]
  node_invitation["Wedding invitation<br/>[App.tsx]"]
end

subgraph group_document["Invitation document"]
  node_pdf["PDF invitation<br/>[PdfDocument.tsx]"]
end

subgraph group_external["External destinations"]
  node_maps["Map service"]
  node_calendar["Calendar service"]
end

node_guest(("Guest"))
node_browser["Browser download"]

node_guest -->|"opens"| node_entry
node_entry -->|"renders"| node_invitation
node_invitation -->|"generates PDF"| node_pdf
node_invitation -->|"downloads PDF"| node_browser
node_pdf -->|"links to"| node_maps
node_pdf -->|"links to"| node_calendar

click node_entry "https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/main.tsx"
click node_invitation "https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/App.tsx"
click node_pdf "https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/PdfDocument.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_entry,node_invitation,node_browser toneBlue
class node_pdf toneAmber
class node_maps,node_calendar toneMint
class node_guest toneIndigo
```

## Components

### Web experience

- [App entry](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/main.tsx): `src/main.tsx`
- [Wedding invitation](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/App.tsx): `src/App.tsx`

### Invitation document

- [PDF invitation](https://github.com/soupychan8/pritha-souparna-engagement-invitation/blob/main/src/PdfDocument.tsx): `src/PdfDocument.tsx`

### External destinations

- **Map service**
- **Calendar service**

### Other components

- **Guest**
- **Browser download**

## Connections

- Guest → App entry: opens (evidence: `src/main.tsx`)
- App entry → Wedding invitation: renders (evidence: `src/main.tsx`)
- Wedding invitation → PDF invitation: generates PDF (evidence: `src/App.tsx`)
- Wedding invitation → Browser download: downloads PDF (evidence: `src/App.tsx`)
- PDF invitation → Map service: links to (evidence: `src/PdfDocument.tsx`)
- PDF invitation → Calendar service: links to (evidence: `src/PdfDocument.tsx`)
