# janul69/athlyq-landing architecture

> Architecture diagram of the GitHub repository janul69/athlyq-landing, 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/janul69/athlyq-landing
- Repository: https://github.com/janul69/athlyq-landing

## Overview

This repository is a single-page AthletyQ marketing site for an athlete-and-coach platform, not the platform’s operational backend. The visitor-facing path is the home page, which presents the workflow, features, coaches, testimonials, pricing, company information, and contact form. The contact form is the clearest interaction, but the excerpts do not establish a submission service or other backend result. Component relationships come from the page imports/rendering and sampled imports; operational platform capabilities are described only by marketing content.

Main entry points: [`app/page.tsx`](https://github.com/janul69/athlyq-landing/blob/main/app/page.tsx) (Home page), [`components/contact.tsx`](https://github.com/janul69/athlyq-landing/blob/main/components/contact.tsx) (Contact form), [`components/ui/button.tsx`](https://github.com/janul69/athlyq-landing/blob/main/components/ui/button.tsx) (Button primitive), [`components/navigation.tsx`](https://github.com/janul69/athlyq-landing/blob/main/components/navigation.tsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Marketing site"]
  node_home["Home page<br/>[page.tsx]"]
  node_navigation["Navigation<br/>[navigation.tsx]"]
  node_hero["Hero<br/>[hero.tsx]"]
  node_footer["Footer<br/>[footer.tsx]"]
end

subgraph group_story["Product story"]
  node_how["How it works<br/>[how-it-works.tsx]"]
  node_features["Features<br/>[features.tsx]"]
  node_coaches["Featured coaches"]
  node_testimonials["Testimonials<br/>[testimonials.tsx]"]
  node_about["About us<br/>[about-us.tsx]"]
end

subgraph group_conversion["Conversion"]
  node_pricing["Pricing<br/>[pricing.tsx]"]
  node_cta["Call to action<br/>[cta.tsx]"]
  node_contact["Contact form<br/>[contact.tsx]"]
end

subgraph group_ui["Shared UI"]
  node_button["Button primitive<br/>[button.tsx]"]
  node_input["Input primitive<br/>[input.tsx]"]
  node_textarea["Textarea primitive<br/>[textarea.tsx]"]
  node_label["Label primitive<br/>[label.tsx]"]
  node_toast_hook["Toast state hook<br/>[use-toast.ts]"]
  node_toast_ui["Toast primitives<br/>[toast.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"visits"| node_home
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_how
node_home -->|"renders"| node_features
node_home -->|"renders"| node_coaches
node_home -->|"renders"| node_testimonials
node_home -->|"renders"| node_pricing
node_home -->|"renders"| node_cta
node_home -->|"renders"| node_about
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_navigation -->|"uses"| node_button
node_hero -->|"uses"| node_button
node_coaches -->|"uses"| node_button
node_cta -->|"uses"| node_button
node_contact -->|"uses"| node_button
node_contact -->|"uses"| node_input
node_contact -->|"uses"| node_textarea
node_contact -->|"uses"| node_label
node_toast_hook -->|"uses types"| node_toast_ui

click node_home "https://github.com/janul69/athlyq-landing/blob/main/app/page.tsx"
click node_navigation "https://github.com/janul69/athlyq-landing/blob/main/components/navigation.tsx"
click node_hero "https://github.com/janul69/athlyq-landing/blob/main/components/hero.tsx"
click node_how "https://github.com/janul69/athlyq-landing/blob/main/components/how-it-works.tsx"
click node_features "https://github.com/janul69/athlyq-landing/blob/main/components/features.tsx"
click node_coaches "https://github.com/janul69/athlyq-landing/blob/main/components/featured-coaches.tsx"
click node_testimonials "https://github.com/janul69/athlyq-landing/blob/main/components/testimonials.tsx"
click node_pricing "https://github.com/janul69/athlyq-landing/blob/main/components/pricing.tsx"
click node_cta "https://github.com/janul69/athlyq-landing/blob/main/components/cta.tsx"
click node_about "https://github.com/janul69/athlyq-landing/blob/main/components/about-us.tsx"
click node_contact "https://github.com/janul69/athlyq-landing/blob/main/components/contact.tsx"
click node_footer "https://github.com/janul69/athlyq-landing/blob/main/components/footer.tsx"
click node_button "https://github.com/janul69/athlyq-landing/blob/main/components/ui/button.tsx"
click node_input "https://github.com/janul69/athlyq-landing/blob/main/components/ui/input.tsx"
click node_textarea "https://github.com/janul69/athlyq-landing/blob/main/components/ui/textarea.tsx"
click node_label "https://github.com/janul69/athlyq-landing/blob/main/components/ui/label.tsx"
click node_toast_hook "https://github.com/janul69/athlyq-landing/blob/main/hooks/use-toast.ts"
click node_toast_ui "https://github.com/janul69/athlyq-landing/blob/main/components/ui/toast.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_home,node_navigation,node_hero,node_footer toneBlue
class node_how,node_features,node_coaches,node_testimonials,node_about toneAmber
class node_pricing,node_cta,node_contact toneMint
class node_button,node_input,node_textarea,node_label,node_toast_hook,node_toast_ui toneRose
class node_visitor toneIndigo
```

## Components

### Marketing site

- [Home page](https://github.com/janul69/athlyq-landing/blob/main/app/page.tsx): `app/page.tsx`
- [Navigation](https://github.com/janul69/athlyq-landing/blob/main/components/navigation.tsx): `components/navigation.tsx`
- [Hero](https://github.com/janul69/athlyq-landing/blob/main/components/hero.tsx): `components/hero.tsx`
- [Footer](https://github.com/janul69/athlyq-landing/blob/main/components/footer.tsx): `components/footer.tsx`

### Product story

- [How it works](https://github.com/janul69/athlyq-landing/blob/main/components/how-it-works.tsx): `components/how-it-works.tsx`
- [Features](https://github.com/janul69/athlyq-landing/blob/main/components/features.tsx): `components/features.tsx`
- [Featured coaches](https://github.com/janul69/athlyq-landing/blob/main/components/featured-coaches.tsx): `components/featured-coaches.tsx`
- [Testimonials](https://github.com/janul69/athlyq-landing/blob/main/components/testimonials.tsx): `components/testimonials.tsx`
- [About us](https://github.com/janul69/athlyq-landing/blob/main/components/about-us.tsx): `components/about-us.tsx`

### Conversion

- [Pricing](https://github.com/janul69/athlyq-landing/blob/main/components/pricing.tsx): `components/pricing.tsx`
- [Call to action](https://github.com/janul69/athlyq-landing/blob/main/components/cta.tsx): `components/cta.tsx`
- [Contact form](https://github.com/janul69/athlyq-landing/blob/main/components/contact.tsx): `components/contact.tsx`

### Shared UI

- [Button primitive](https://github.com/janul69/athlyq-landing/blob/main/components/ui/button.tsx): `components/ui/button.tsx`
- [Input primitive](https://github.com/janul69/athlyq-landing/blob/main/components/ui/input.tsx): `components/ui/input.tsx`
- [Textarea primitive](https://github.com/janul69/athlyq-landing/blob/main/components/ui/textarea.tsx): `components/ui/textarea.tsx`
- [Label primitive](https://github.com/janul69/athlyq-landing/blob/main/components/ui/label.tsx): `components/ui/label.tsx`
- [Toast state hook](https://github.com/janul69/athlyq-landing/blob/main/hooks/use-toast.ts): `hooks/use-toast.ts`
- [Toast primitives](https://github.com/janul69/athlyq-landing/blob/main/components/ui/toast.tsx): `components/ui/toast.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home page: visits
- Home page → Navigation: renders (evidence: `app/page.tsx`)
- Home page → Hero: renders (evidence: `app/page.tsx`)
- Home page → How it works: renders (evidence: `app/page.tsx`)
- Home page → Features: renders (evidence: `app/page.tsx`)
- Home page → Featured coaches: renders (evidence: `app/page.tsx`)
- Home page → Testimonials: renders (evidence: `app/page.tsx`)
- Home page → Pricing: renders (evidence: `app/page.tsx`)
- Home page → Call to action: renders (evidence: `app/page.tsx`)
- Home page → About us: renders (evidence: `app/page.tsx`)
- Home page → Contact form: renders (evidence: `app/page.tsx`)
- Home page → Footer: renders (evidence: `app/page.tsx`)
- Navigation → Button primitive: uses (evidence: `components/navigation.tsx`)
- Hero → Button primitive: uses (evidence: `components/hero.tsx`)
- Featured coaches → Button primitive: uses (evidence: `components/featured-coaches.tsx`)
- Call to action → Button primitive: uses (evidence: `components/cta.tsx`)
- Contact form → Button primitive: uses (evidence: `components/contact.tsx`)
- Contact form → Input primitive: uses (evidence: `components/contact.tsx`)
- Contact form → Textarea primitive: uses (evidence: `components/contact.tsx`)
- Contact form → Label primitive: uses (evidence: `components/contact.tsx`)
- Toast state hook → Toast primitives: uses types (evidence: `hooks/use-toast.ts`)
