# sajaniprathibha/paws-future architecture

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

- Interactive diagram: https://gitdiagram.com/sajaniprathibha/paws-future
- Repository: https://github.com/sajaniprathibha/paws-future

## Overview

Paws Future is a React frontend for a dog-rescue and adoption initiative. Visitors enter a single-page landing experience to learn about the mission, adoption benefits and help options, browse dogs, and submit an adoption request; separate routes provide dog information and donation appeals. The graph emphasizes this visitor journey and the evidenced UI composition. Donation actions are currently alerts, and adoption submissions are logged locally rather than sent to a service. Unexcerpted pages are represented only where the route or composition is documented by the source index.

Main entry points: [`frontend/src/App.jsx`](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/App.jsx) (Application router), [`frontend/src/pages/LandingPage.jsx`](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/LandingPage.jsx) (Landing composition), [`frontend/src/pages/Donate.jsx`](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Donate.jsx) (Donation appeal), [`frontend/src/pages/Dogs.jsx`](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Dogs.jsx) (Available dogs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App navigation"]
  node_app["Application router<br/>[App.jsx]"]
end

subgraph group_landing["Landing experience"]
  node_landing["Landing composition<br/>[LandingPage.jsx]"]
  node_home["Mission home<br/>[Home.jsx]"]
  node_reasons["Adoption reasons<br/>[AdoptReasons.jsx]"]
  node_help["Help options<br/>[Help.jsx]"]
  node_contact["Contact page<br/>[Contact.jsx]"]
  node_flip["Mission flipcard<br/>[FlipCard.jsx]"]
end

subgraph group_adoption["Adoption journey"]
  node_dogs["Available dogs<br/>[Dogs.jsx]"]
  node_dogcards["Dog card grid<br/>[DogCardGrid.jsx]"]
  node_adoptintro["Adoption section<br/>[AdoptDog.jsx]"]
  node_slider["Dog image slider<br/>[Slider.jsx]"]
  node_application["Adoption application<br/>[AdoptionForm.jsx]"]
end

subgraph group_support["Care and giving"]
  node_info["Dog care information<br/>[Info.jsx]"]
  node_donate["Donation appeal<br/>[Donate.jsx]"]
end

subgraph group_shared["Shared UI"]
  node_navbar["Landing navigation<br/>[NavBar.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
  node_back["Floating back control"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_info
node_app -->|"routes to"| node_donate
node_app -->|"routes to"| node_dogs
node_app -->|"routes to"| node_application
node_app -->|"renders"| node_back
node_landing -->|"renders"| node_home
node_landing -->|"renders"| node_reasons
node_landing -->|"renders"| node_help
node_landing -->|"renders"| node_adoptintro
node_landing -->|"renders"| node_contact
node_landing -->|"renders"| node_footer
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_flip
node_adoptintro -->|"uses"| node_slider
node_info -->|"navigates to"| node_dogs
node_info -->|"renders"| node_footer
node_dogs -->|"renders"| node_dogcards
node_dogs -->|"renders"| node_footer
node_donate -->|"renders"| node_navbar
node_donate -->|"renders"| node_dogcards
node_donate -->|"renders"| node_footer
node_application -->|"collects details"| node_visitor

click node_app "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/App.jsx"
click node_landing "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/LandingPage.jsx"
click node_home "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Home.jsx"
click node_reasons "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptReasons.jsx"
click node_help "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Help.jsx"
click node_contact "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Contact.jsx"
click node_flip "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/FlipCard.jsx"
click node_dogs "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Dogs.jsx"
click node_dogcards "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/DogCardGrid.jsx"
click node_adoptintro "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptDog.jsx"
click node_slider "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Slider.jsx"
click node_application "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptionForm.jsx"
click node_info "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Info.jsx"
click node_donate "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Donate.jsx"
click node_navbar "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/NavBar.jsx"
click node_footer "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/Footer.jsx"
click node_back "https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/FloatingBackButton.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_app toneBlue
class node_landing,node_home,node_reasons,node_help,node_contact,node_flip toneAmber
class node_dogs,node_dogcards,node_adoptintro,node_slider,node_application toneMint
class node_info,node_donate toneRose
class node_navbar,node_footer,node_back,node_visitor toneIndigo
```

## Components

### App navigation

- [Application router](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`

### Landing experience

- [Landing composition](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/LandingPage.jsx): `frontend/src/pages/LandingPage.jsx`
- [Mission home](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Home.jsx): `frontend/src/pages/Home.jsx`
- [Adoption reasons](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptReasons.jsx): `frontend/src/pages/AdoptReasons.jsx`
- [Help options](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Help.jsx): `frontend/src/pages/Help.jsx`
- [Contact page](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Contact.jsx): `frontend/src/pages/Contact.jsx`
- [Mission flipcard](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/FlipCard.jsx): `frontend/src/pages/FlipCard.jsx`

### Adoption journey

- [Available dogs](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Dogs.jsx): `frontend/src/pages/Dogs.jsx`
- [Dog card grid](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/DogCardGrid.jsx): `frontend/src/pages/DogCardGrid.jsx`
- [Adoption section](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptDog.jsx): `frontend/src/pages/AdoptDog.jsx`
- [Dog image slider](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Slider.jsx): `frontend/src/pages/Slider.jsx`
- [Adoption application](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/AdoptionForm.jsx): `frontend/src/pages/AdoptionForm.jsx`

### Care and giving

- [Dog care information](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Info.jsx): `frontend/src/pages/Info.jsx`
- [Donation appeal](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/pages/Donate.jsx): `frontend/src/pages/Donate.jsx`

### Shared UI

- [Landing navigation](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/NavBar.jsx): `frontend/src/components/NavBar.jsx`
- [Site footer](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/Footer.jsx): `frontend/src/components/Footer.jsx`
- [Floating back control](https://github.com/sajaniprathibha/paws-future/blob/main/frontend/src/components/FloatingBackButton.jsx): `frontend/src/components/FloatingBackButton.jsx`

### Other components

- **Visitor**

## Connections

- Visitor → Application router: opens
- Application router → Landing composition: routes to (evidence: `frontend/src/App.jsx`)
- Application router → Dog care information: routes to (evidence: `frontend/src/App.jsx`)
- Application router → Donation appeal: routes to (evidence: `frontend/src/App.jsx`)
- Application router → Available dogs: routes to (evidence: `frontend/src/App.jsx`)
- Application router → Adoption application: routes to (evidence: `frontend/src/App.jsx`)
- Application router → Floating back control: renders (evidence: `frontend/src/App.jsx`)
- Landing composition → Mission home: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Landing composition → Adoption reasons: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Landing composition → Help options: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Landing composition → Adoption section: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Landing composition → Contact page: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Landing composition → Site footer: renders (evidence: `frontend/src/pages/LandingPage.jsx`)
- Mission home → Landing navigation: renders (evidence: `frontend/src/pages/Home.jsx`)
- Mission home → Mission flipcard: renders (evidence: `frontend/src/pages/Home.jsx`)
- Adoption section → Dog image slider: uses (evidence: `frontend/src/pages/AdoptDog.jsx`)
- Dog care information → Available dogs: navigates to (evidence: `frontend/src/pages/Info.jsx`)
- Dog care information → Site footer: renders (evidence: `frontend/src/pages/Info.jsx`)
- Available dogs → Dog card grid: renders (evidence: `frontend/src/pages/Dogs.jsx`)
- Available dogs → Site footer: renders (evidence: `frontend/src/pages/Dogs.jsx`)
- Donation appeal → Landing navigation: renders (evidence: `frontend/src/pages/Donate.jsx`)
- Donation appeal → Dog card grid: renders (evidence: `frontend/src/pages/Donate.jsx`)
- Donation appeal → Site footer: renders (evidence: `frontend/src/pages/Donate.jsx`)
- Adoption application → Visitor: collects details (evidence: `frontend/src/pages/AdoptionForm.jsx`)
