# accesdistance/site-publication architecture

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

- Interactive diagram: https://gitdiagram.com/accesdistance/site-publication
- Repository: https://github.com/accesdistance/site-publication

## Overview

AccesDistance is a product landing page for a private, LAN-based phone-to-PC remote-control system. Visitors browse its feature, gesture, and usage demonstrations, then follow download links for the mobile app or PC server; the page also fetches each project’s latest GitHub release. The source excerpts show page composition and release handling, but not the remote-control products themselves, so those are represented only through the site’s demonstrations and documentation.

Main entry points: [`src/App.tsx`](https://github.com/accesdistance/site-publication/blob/main/src/App.tsx) (Page coordinator), [`src/components/ReleaseCard.tsx`](https://github.com/accesdistance/site-publication/blob/main/src/components/ReleaseCard.tsx) (Release card), [`src/components/Downloads.tsx`](https://github.com/accesdistance/site-publication/blob/main/src/components/Downloads.tsx) (Release downloads), [`src/main.tsx`](https://github.com/accesdistance/site-publication/blob/main/src/main.tsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Product presentation"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Page coordinator<br/>[App.tsx]"]
  node_navbar["Navigation<br/>[Navbar.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_features["Feature overview<br/>[Features.tsx]"]
  node_gestures["Gesture guide<br/>[Gestures.tsx]"]
  node_showcase["Product showcase<br/>[Showcase.tsx]"]
  node_docs["Setup documentation<br/>[Documentation.tsx]"]
  node_about["Project and author<br/>[About.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_downloads["Release downloads"]
  node_downloads["Release downloads<br/>[Downloads.tsx]"]
  node_release_card["Release card<br/>[ReleaseCard.tsx]"]
end

subgraph group_shared["Shared UI and data"]
  node_flipcard["Flip card<br/>[FlipCard.tsx]"]
  node_accordion["Accordion item<br/>[AccordionItem.tsx]"]
  node_icons["Brand icons<br/>[BrandIcons.tsx]"]
  node_release_types["Release types and defaults<br/>[types.ts]"]
end

node_visitor(("Site visitor"))
node_github["GitHub Releases API"]

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_hero
node_app -->|"renders"| node_features
node_app -->|"renders"| node_gestures
node_app -->|"renders"| node_showcase
node_app -->|"renders"| node_downloads
node_app -->|"renders"| node_docs
node_app -->|"renders"| node_about
node_app -->|"renders"| node_footer
node_app -->|"fetches latest releases"| node_github
node_app -->|"uses release defaults"| node_release_types
node_app -->|"passes release state"| node_downloads
node_gestures -->|"renders"| node_flipcard
node_docs -->|"renders"| node_accordion
node_about -->|"renders"| node_icons
node_downloads -->|"renders"| node_release_card
node_release_card -->|"formats release data"| node_release_types
node_release_card -->|"renders"| node_icons

click node_entry "https://github.com/accesdistance/site-publication/blob/main/src/main.tsx"
click node_app "https://github.com/accesdistance/site-publication/blob/main/src/App.tsx"
click node_navbar "https://github.com/accesdistance/site-publication/blob/main/src/components/Navbar.tsx"
click node_hero "https://github.com/accesdistance/site-publication/blob/main/src/components/Hero.tsx"
click node_features "https://github.com/accesdistance/site-publication/blob/main/src/components/Features.tsx"
click node_gestures "https://github.com/accesdistance/site-publication/blob/main/src/components/Gestures.tsx"
click node_showcase "https://github.com/accesdistance/site-publication/blob/main/src/components/Showcase.tsx"
click node_docs "https://github.com/accesdistance/site-publication/blob/main/src/components/Documentation.tsx"
click node_about "https://github.com/accesdistance/site-publication/blob/main/src/components/About.tsx"
click node_footer "https://github.com/accesdistance/site-publication/blob/main/src/components/Footer.tsx"
click node_flipcard "https://github.com/accesdistance/site-publication/blob/main/src/components/FlipCard.tsx"
click node_accordion "https://github.com/accesdistance/site-publication/blob/main/src/components/AccordionItem.tsx"
click node_icons "https://github.com/accesdistance/site-publication/blob/main/src/components/BrandIcons.tsx"
click node_release_types "https://github.com/accesdistance/site-publication/blob/main/src/lib/types.ts"
click node_downloads "https://github.com/accesdistance/site-publication/blob/main/src/components/Downloads.tsx"
click node_release_card "https://github.com/accesdistance/site-publication/blob/main/src/components/ReleaseCard.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_app,node_navbar,node_hero,node_features,node_gestures,node_showcase,node_docs,node_about,node_footer toneBlue
class node_downloads,node_release_card toneAmber
class node_flipcard,node_accordion,node_icons,node_release_types,node_github toneMint
class node_visitor toneIndigo
```

## Components

### Product presentation

- [React entry](https://github.com/accesdistance/site-publication/blob/main/src/main.tsx): `src/main.tsx`
- [Page coordinator](https://github.com/accesdistance/site-publication/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation](https://github.com/accesdistance/site-publication/blob/main/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Hero](https://github.com/accesdistance/site-publication/blob/main/src/components/Hero.tsx): `src/components/Hero.tsx`
- [Feature overview](https://github.com/accesdistance/site-publication/blob/main/src/components/Features.tsx): `src/components/Features.tsx`
- [Gesture guide](https://github.com/accesdistance/site-publication/blob/main/src/components/Gestures.tsx): `src/components/Gestures.tsx`
- [Product showcase](https://github.com/accesdistance/site-publication/blob/main/src/components/Showcase.tsx): `src/components/Showcase.tsx`
- [Setup documentation](https://github.com/accesdistance/site-publication/blob/main/src/components/Documentation.tsx): `src/components/Documentation.tsx`
- [Project and author](https://github.com/accesdistance/site-publication/blob/main/src/components/About.tsx): `src/components/About.tsx`
- [Footer](https://github.com/accesdistance/site-publication/blob/main/src/components/Footer.tsx): `src/components/Footer.tsx`

### Release downloads

- [Release downloads](https://github.com/accesdistance/site-publication/blob/main/src/components/Downloads.tsx): `src/components/Downloads.tsx`
- [Release card](https://github.com/accesdistance/site-publication/blob/main/src/components/ReleaseCard.tsx): `src/components/ReleaseCard.tsx`

### Shared UI and data

- [Flip card](https://github.com/accesdistance/site-publication/blob/main/src/components/FlipCard.tsx): `src/components/FlipCard.tsx`
- [Accordion item](https://github.com/accesdistance/site-publication/blob/main/src/components/AccordionItem.tsx): `src/components/AccordionItem.tsx`
- [Brand icons](https://github.com/accesdistance/site-publication/blob/main/src/components/BrandIcons.tsx): `src/components/BrandIcons.tsx`
- [Release types and defaults](https://github.com/accesdistance/site-publication/blob/main/src/lib/types.ts): `src/lib/types.ts`

### Other components

- **Site visitor**
- **GitHub Releases API**

## Connections

- Site visitor → React entry: opens site
- React entry → Page coordinator: renders (evidence: `src/main.tsx`)
- Page coordinator → Navigation: renders (evidence: `src/App.tsx`)
- Page coordinator → Hero: renders (evidence: `src/App.tsx`)
- Page coordinator → Feature overview: renders (evidence: `src/App.tsx`)
- Page coordinator → Gesture guide: renders (evidence: `src/App.tsx`)
- Page coordinator → Product showcase: renders (evidence: `src/App.tsx`)
- Page coordinator → Release downloads: renders (evidence: `src/App.tsx`)
- Page coordinator → Setup documentation: renders (evidence: `src/App.tsx`)
- Page coordinator → Project and author: renders (evidence: `src/App.tsx`)
- Page coordinator → Footer: renders (evidence: `src/App.tsx`)
- Page coordinator → GitHub Releases API: fetches latest releases (evidence: `src/App.tsx`)
- Page coordinator → Release types and defaults: uses release defaults (evidence: `src/App.tsx`)
- Page coordinator → Release downloads: passes release state (evidence: `src/App.tsx`)
- Gesture guide → Flip card: renders (evidence: `src/components/Gestures.tsx`)
- Setup documentation → Accordion item: renders (evidence: `src/components/Documentation.tsx`)
- Project and author → Brand icons: renders (evidence: `src/components/About.tsx`)
- Release downloads → Release card: renders (evidence: `src/components/Downloads.tsx`)
- Release card → Release types and defaults: formats release data (evidence: `src/components/ReleaseCard.tsx`)
- Release card → Brand icons: renders (evidence: `src/components/ReleaseCard.tsx`)
