# raoroger380/rogersite architecture

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

## Overview

This is a Chinese-language personal portfolio site, delivered as a statically exported Next.js application. The visitor enters the home page, whose navigator presents a sequence of profile, age, project, travel-map, photo-album, hobbies, signature, and contact screens; navigation and visual effects support that browsing experience. The README documents profile, projects, skills, hobbies, signature, and contact, while the sampled page wiring shows newer age and travel sections instead of a skills section. Unsampled components are included where the README or source index establishes their role; their internal behavior is not inferred.

Main entry points: [`src/app/page.tsx`](https://github.com/raoroger380/rogersite/blob/master/src/app/page.tsx) (Home composition), [`src/components/PageNavigator.tsx`](https://github.com/raoroger380/rogersite/blob/master/src/components/PageNavigator.tsx) (Page navigator), [`src/components/Navbar.tsx`](https://github.com/raoroger380/rogersite/blob/master/src/components/Navbar.tsx) (Navigation and theme), [`src/app/layout.tsx`](https://github.com/raoroger380/rogersite/blob/master/src/app/layout.tsx) (Root layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Page shell"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_home["Home composition<br/>[page.tsx]"]
  node_navigator["Page navigator<br/>[PageNavigator.tsx]"]
end

subgraph group_presentation["Portfolio content"]
  node_hero["Introduction<br/>[Hero.tsx]"]
  node_about["About profile<br/>[About.tsx]"]
  node_age["Age page<br/>[AgePage.tsx]"]
  node_projects["Project showcase<br/>[Projects.tsx]"]
  node_hobbies["Hobbies<br/>[Hobbies.tsx]"]
  node_signature["Signature<br/>[Signature.tsx]"]
  node_contact["Contact<br/>[Contact.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_travel["Travel features"]
  node_footprints["Travel map<br/>[Footprints.tsx]"]
  node_album["Photo album"]
end

subgraph group_experience["Interaction and effects"]
  node_navbar["Navigation and theme<br/>[Navbar.tsx]"]
  node_background["Liquid background"]
  node_pointer["Glass pointer<br/>[GlassPointer.tsx]"]
  node_flight["Flight transition"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_home
node_layout -->|"wraps"| node_home
node_home -->|"supplies pages"| node_navigator
node_home -->|"renders"| node_background
node_home -->|"renders"| node_pointer
node_home -->|"renders"| node_navbar
node_home -->|"provides page"| node_hero
node_home -->|"provides page"| node_about
node_home -->|"provides page"| node_age
node_home -->|"provides page"| node_projects
node_home -->|"provides page"| node_footprints
node_home -->|"provides page"| node_album
node_home -->|"provides page"| node_hobbies
node_home -->|"provides page"| node_signature
node_home -->|"provides page"| node_contact
node_navigator -->|"renders transition"| node_flight
node_navbar -.->|"changes page hash"| node_navigator

click node_layout "https://github.com/raoroger380/rogersite/blob/master/src/app/layout.tsx"
click node_home "https://github.com/raoroger380/rogersite/blob/master/src/app/page.tsx"
click node_navigator "https://github.com/raoroger380/rogersite/blob/master/src/components/PageNavigator.tsx"
click node_hero "https://github.com/raoroger380/rogersite/blob/master/src/components/Hero.tsx"
click node_about "https://github.com/raoroger380/rogersite/blob/master/src/components/About.tsx"
click node_age "https://github.com/raoroger380/rogersite/blob/master/src/components/AgePage.tsx"
click node_projects "https://github.com/raoroger380/rogersite/blob/master/src/components/Projects.tsx"
click node_hobbies "https://github.com/raoroger380/rogersite/blob/master/src/components/Hobbies.tsx"
click node_signature "https://github.com/raoroger380/rogersite/blob/master/src/components/Signature.tsx"
click node_contact "https://github.com/raoroger380/rogersite/blob/master/src/components/Contact.tsx"
click node_footer "https://github.com/raoroger380/rogersite/blob/master/src/components/Footer.tsx"
click node_footprints "https://github.com/raoroger380/rogersite/blob/master/src/components/Footprints.tsx"
click node_album "https://github.com/raoroger380/rogersite/blob/master/src/components/FootprintsAlbum.tsx"
click node_navbar "https://github.com/raoroger380/rogersite/blob/master/src/components/Navbar.tsx"
click node_background "https://github.com/raoroger380/rogersite/blob/master/src/components/LiquidBackground.tsx"
click node_pointer "https://github.com/raoroger380/rogersite/blob/master/src/components/GlassPointer.tsx"
click node_flight "https://github.com/raoroger380/rogersite/blob/master/src/components/A350FlightTransition.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_layout,node_home,node_navigator toneBlue
class node_hero,node_about,node_age,node_projects,node_hobbies,node_signature,node_contact,node_footer toneAmber
class node_footprints,node_album toneMint
class node_navbar,node_background,node_pointer,node_flight toneRose
class node_visitor toneIndigo
```

## Components

### Page shell

- [Root layout](https://github.com/raoroger380/rogersite/blob/master/src/app/layout.tsx): `src/app/layout.tsx`
- [Home composition](https://github.com/raoroger380/rogersite/blob/master/src/app/page.tsx): `src/app/page.tsx`
- [Page navigator](https://github.com/raoroger380/rogersite/blob/master/src/components/PageNavigator.tsx): `src/components/PageNavigator.tsx`

### Portfolio content

- [Introduction](https://github.com/raoroger380/rogersite/blob/master/src/components/Hero.tsx): `src/components/Hero.tsx`
- [About profile](https://github.com/raoroger380/rogersite/blob/master/src/components/About.tsx): `src/components/About.tsx`
- [Age page](https://github.com/raoroger380/rogersite/blob/master/src/components/AgePage.tsx): `src/components/AgePage.tsx`
- [Project showcase](https://github.com/raoroger380/rogersite/blob/master/src/components/Projects.tsx): `src/components/Projects.tsx`
- [Hobbies](https://github.com/raoroger380/rogersite/blob/master/src/components/Hobbies.tsx): `src/components/Hobbies.tsx`
- [Signature](https://github.com/raoroger380/rogersite/blob/master/src/components/Signature.tsx): `src/components/Signature.tsx`
- [Contact](https://github.com/raoroger380/rogersite/blob/master/src/components/Contact.tsx): `src/components/Contact.tsx`
- [Footer](https://github.com/raoroger380/rogersite/blob/master/src/components/Footer.tsx): `src/components/Footer.tsx`

### Travel features

- [Travel map](https://github.com/raoroger380/rogersite/blob/master/src/components/Footprints.tsx): `src/components/Footprints.tsx`
- [Photo album](https://github.com/raoroger380/rogersite/blob/master/src/components/FootprintsAlbum.tsx): `src/components/FootprintsAlbum.tsx`

### Interaction and effects

- [Navigation and theme](https://github.com/raoroger380/rogersite/blob/master/src/components/Navbar.tsx): `src/components/Navbar.tsx`
- [Liquid background](https://github.com/raoroger380/rogersite/blob/master/src/components/LiquidBackground.tsx): `src/components/LiquidBackground.tsx`
- [Glass pointer](https://github.com/raoroger380/rogersite/blob/master/src/components/GlassPointer.tsx): `src/components/GlassPointer.tsx`
- [Flight transition](https://github.com/raoroger380/rogersite/blob/master/src/components/A350FlightTransition.tsx): `src/components/A350FlightTransition.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Home composition: opens (evidence: `README.md`)
- Root layout → Home composition: wraps (evidence: `src/app/layout.tsx`)
- Home composition → Page navigator: supplies pages (evidence: `src/app/page.tsx`)
- Home composition → Liquid background: renders (evidence: `src/app/page.tsx`)
- Home composition → Glass pointer: renders (evidence: `src/app/page.tsx`)
- Home composition → Navigation and theme: renders (evidence: `src/app/page.tsx`)
- Home composition → Introduction: provides page (evidence: `src/app/page.tsx`)
- Home composition → About profile: provides page (evidence: `src/app/page.tsx`)
- Home composition → Age page: provides page (evidence: `src/app/page.tsx`)
- Home composition → Project showcase: provides page (evidence: `src/app/page.tsx`)
- Home composition → Travel map: provides page (evidence: `src/app/page.tsx`)
- Home composition → Photo album: provides page (evidence: `src/app/page.tsx`)
- Home composition → Hobbies: provides page (evidence: `src/app/page.tsx`)
- Home composition → Signature: provides page (evidence: `src/app/page.tsx`)
- Home composition → Contact: provides page (evidence: `src/app/page.tsx`)
- Page navigator → Flight transition: renders transition (evidence: `src/components/PageNavigator.tsx`)
- Navigation and theme → Page navigator: changes page hash
