# lofilix/builditfelix architecture

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

- Interactive diagram: https://gitdiagram.com/lofilix/builditfelix
- Repository: https://github.com/lofilix/builditfelix

## Overview

builditfelix.dev is a personal portfolio site. The home page assembles navigation, an animated hero, project showcase, services timeline, About panel, contact section, and footer. Its interactive portfolio features use game-style audio and accessible controls; shared components provide ambient scenery and scroll reveals. The README also documents reduced-motion support and responsive, accessible content. Edges follow the page composition, sampled imports, or README; unsampled section details are represented only at the subsystem level, without inferred internal flows.

Main entry points: [`app/page.tsx`](https://github.com/lofilix/builditfelix/blob/main/app/page.tsx) (Home composition), [`components/sections/Services.tsx`](https://github.com/lofilix/builditfelix/blob/main/components/sections/Services.tsx) (Services timeline), [`components/ui/FloatingScene.tsx`](https://github.com/lofilix/builditfelix/blob/main/components/ui/FloatingScene.tsx) (Ambient scenery), [`components/sections/GBAProjects.tsx`](https://github.com/lofilix/builditfelix/blob/main/components/sections/GBAProjects.tsx) (Projects showcase)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Site shell"]
  node_home["Home composition<br/>[page.tsx]"]
  node_navigation["Navigation<br/>[Nav.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_booking["Booking link<br/>[constants.ts]"]
end

subgraph group_portfolio["Portfolio sections"]
  node_hero["Animated hero<br/>[Hero.tsx]"]
  node_projects["Projects showcase<br/>[GBAProjects.tsx]"]
  node_services["Services timeline<br/>[Services.tsx]"]
  node_about["About panel<br/>[About.tsx]"]
  node_contact["Contact section<br/>[Contact.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_scene["Ambient scenery<br/>[FloatingScene.tsx]"]
  node_reveal["Scroll reveals<br/>[RevealOnScroll.tsx]"]
  node_header["Section headers<br/>[SectionHeader.tsx]"]
  node_divider["Section divider<br/>[SectionDivider.tsx]"]
end

subgraph group_interaction["Interactive features"]
  node_ambient_pause["Ambient pause<br/>[useAmbientPause.ts]"]
  node_game_audio["Game audio<br/>[useGameAudio.ts]"]
  node_toolbar["Roving toolbar"]
  node_gsap["ScrollTrigger setup<br/>[gsap.ts]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_navigation
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_services
node_home -->|"renders"| node_about
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_divider
node_home -->|"renders"| node_footer
node_navigation -->|"reads URL"| node_booking
node_hero -->|"renders"| node_scene
node_hero -->|"pauses motion"| node_ambient_pause
node_projects -->|"renders"| node_scene
node_projects -->|"plays sounds"| node_game_audio
node_projects -->|"manages focus"| node_toolbar
node_services -->|"renders"| node_scene
node_services -->|"plays sounds"| node_game_audio
node_services -->|"uses triggers"| node_gsap
node_services -->|"renders"| node_header
node_about -->|"renders"| node_scene
node_about -->|"renders"| node_header
node_about -->|"wraps content"| node_reveal
node_contact -->|"renders"| node_scene
node_contact -->|"renders"| node_header
node_contact -->|"wraps content"| node_reveal
node_header -->|"wraps heading"| node_reveal

click node_home "https://github.com/lofilix/builditfelix/blob/main/app/page.tsx"
click node_navigation "https://github.com/lofilix/builditfelix/blob/main/components/layout/Nav.tsx"
click node_footer "https://github.com/lofilix/builditfelix/blob/main/components/layout/Footer.tsx"
click node_booking "https://github.com/lofilix/builditfelix/blob/main/lib/constants.ts"
click node_hero "https://github.com/lofilix/builditfelix/blob/main/components/sections/Hero.tsx"
click node_projects "https://github.com/lofilix/builditfelix/blob/main/components/sections/GBAProjects.tsx"
click node_services "https://github.com/lofilix/builditfelix/blob/main/components/sections/Services.tsx"
click node_about "https://github.com/lofilix/builditfelix/blob/main/components/sections/About.tsx"
click node_contact "https://github.com/lofilix/builditfelix/blob/main/components/sections/Contact.tsx"
click node_scene "https://github.com/lofilix/builditfelix/blob/main/components/ui/FloatingScene.tsx"
click node_reveal "https://github.com/lofilix/builditfelix/blob/main/components/ui/RevealOnScroll.tsx"
click node_header "https://github.com/lofilix/builditfelix/blob/main/components/ui/SectionHeader.tsx"
click node_divider "https://github.com/lofilix/builditfelix/blob/main/components/ui/SectionDivider.tsx"
click node_ambient_pause "https://github.com/lofilix/builditfelix/blob/main/hooks/useAmbientPause.ts"
click node_game_audio "https://github.com/lofilix/builditfelix/blob/main/hooks/useGameAudio.ts"
click node_toolbar "https://github.com/lofilix/builditfelix/blob/main/hooks/useRovingToolbar.ts"
click node_gsap "https://github.com/lofilix/builditfelix/blob/main/lib/gsap.ts"

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_footer,node_booking toneBlue
class node_hero,node_projects,node_services,node_about,node_contact toneAmber
class node_scene,node_reveal,node_header,node_divider toneMint
class node_ambient_pause,node_game_audio,node_toolbar,node_gsap toneRose
class node_visitor toneIndigo
```

## Components

### Site shell

- [Home composition](https://github.com/lofilix/builditfelix/blob/main/app/page.tsx): `app/page.tsx`
- [Navigation](https://github.com/lofilix/builditfelix/blob/main/components/layout/Nav.tsx): `components/layout/Nav.tsx`
- [Footer](https://github.com/lofilix/builditfelix/blob/main/components/layout/Footer.tsx): `components/layout/Footer.tsx`
- [Booking link](https://github.com/lofilix/builditfelix/blob/main/lib/constants.ts): `lib/constants.ts`

### Portfolio sections

- [Animated hero](https://github.com/lofilix/builditfelix/blob/main/components/sections/Hero.tsx): `components/sections/Hero.tsx`
- [Projects showcase](https://github.com/lofilix/builditfelix/blob/main/components/sections/GBAProjects.tsx): `components/sections/GBAProjects.tsx`
- [Services timeline](https://github.com/lofilix/builditfelix/blob/main/components/sections/Services.tsx): `components/sections/Services.tsx`
- [About panel](https://github.com/lofilix/builditfelix/blob/main/components/sections/About.tsx): `components/sections/About.tsx`
- [Contact section](https://github.com/lofilix/builditfelix/blob/main/components/sections/Contact.tsx): `components/sections/Contact.tsx`

### Shared presentation

- [Ambient scenery](https://github.com/lofilix/builditfelix/blob/main/components/ui/FloatingScene.tsx): `components/ui/FloatingScene.tsx`
- [Scroll reveals](https://github.com/lofilix/builditfelix/blob/main/components/ui/RevealOnScroll.tsx): `components/ui/RevealOnScroll.tsx`
- [Section headers](https://github.com/lofilix/builditfelix/blob/main/components/ui/SectionHeader.tsx): `components/ui/SectionHeader.tsx`
- [Section divider](https://github.com/lofilix/builditfelix/blob/main/components/ui/SectionDivider.tsx): `components/ui/SectionDivider.tsx`

### Interactive features

- [Ambient pause](https://github.com/lofilix/builditfelix/blob/main/hooks/useAmbientPause.ts): `hooks/useAmbientPause.ts`
- [Game audio](https://github.com/lofilix/builditfelix/blob/main/hooks/useGameAudio.ts): `hooks/useGameAudio.ts`
- [Roving toolbar](https://github.com/lofilix/builditfelix/blob/main/hooks/useRovingToolbar.ts): `hooks/useRovingToolbar.ts`
- [ScrollTrigger setup](https://github.com/lofilix/builditfelix/blob/main/lib/gsap.ts): `lib/gsap.ts`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home composition: opens (evidence: `README.md`)
- Home composition → Navigation: renders (evidence: `app/page.tsx`)
- Home composition → Animated hero: renders (evidence: `app/page.tsx`)
- Home composition → Projects showcase: renders (evidence: `app/page.tsx`)
- Home composition → Services timeline: renders (evidence: `app/page.tsx`)
- Home composition → About panel: renders (evidence: `app/page.tsx`)
- Home composition → Contact section: renders (evidence: `app/page.tsx`)
- Home composition → Section divider: renders (evidence: `app/page.tsx`)
- Home composition → Footer: renders (evidence: `app/page.tsx`)
- Navigation → Booking link: reads URL (evidence: `components/layout/Nav.tsx`)
- Animated hero → Ambient scenery: renders (evidence: `components/sections/Hero.tsx`)
- Animated hero → Ambient pause: pauses motion (evidence: `components/sections/Hero.tsx`)
- Projects showcase → Ambient scenery: renders (evidence: `components/sections/GBAProjects.tsx`)
- Projects showcase → Game audio: plays sounds (evidence: `components/sections/GBAProjects.tsx`)
- Projects showcase → Roving toolbar: manages focus (evidence: `components/sections/GBAProjects.tsx`)
- Services timeline → Ambient scenery: renders (evidence: `components/sections/Services.tsx`)
- Services timeline → Game audio: plays sounds (evidence: `components/sections/Services.tsx`)
- Services timeline → ScrollTrigger setup: uses triggers (evidence: `components/sections/Services.tsx`)
- Services timeline → Section headers: renders (evidence: `components/sections/Services.tsx`)
- About panel → Ambient scenery: renders (evidence: `components/sections/About.tsx`)
- About panel → Section headers: renders (evidence: `components/sections/About.tsx`)
- About panel → Scroll reveals: wraps content (evidence: `components/sections/About.tsx`)
- Contact section → Ambient scenery: renders (evidence: `components/sections/Contact.tsx`)
- Contact section → Section headers: renders (evidence: `components/sections/Contact.tsx`)
- Contact section → Scroll reveals: wraps content (evidence: `components/sections/Contact.tsx`)
- Section headers → Scroll reveals: wraps heading (evidence: `components/ui/SectionHeader.tsx`)
