# lwwywang/aw4sr-academic-website-4-senior-researcher architecture

> Architecture diagram of the GitHub repository lwwywang/aw4sr-academic-website-4-senior-researcher, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lwwywang/aw4sr-academic-website-4-senior-researcher
- Repository: https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher

## Overview

This is a configurable academic website for senior researchers, presenting a profile, research, publications, portfolio projects, team, courses, news, and recruitment opportunities. Visitors browse the statically rendered pages; project links from research directions resolve to detail pages with project content and media. Content is edited in `content/`, while route and presentation components render it. The graph follows documented capabilities and relationships shown in the README and source index; unsampled routes and implementation details are represented only where the tree or documentation supports them.

Main entry points: [`components/ui/InlineLink.tsx`](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/ui/InlineLink.tsx) (Inline links and skeletons), [`app/about/page.tsx`](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/about/page.tsx) (About page), [`app/layout.tsx`](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/layout.tsx) (Layout and navigation), [`app/portfolio/page.tsx`](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/portfolio/page.tsx) (Portfolio page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site shell"]
  node_home["Home page<br/>[page.tsx]"]
  node_shell["Layout and navigation<br/>[layout.tsx]"]
  node_siteconfig["Site settings<br/>[site.ts]"]
  node_custom["Custom pages<br/>[page.tsx]"]
end

subgraph group_research["Research and projects"]
  node_about["About page<br/>[page.tsx]"]
  node_aboutcontent["Profile and research content<br/>[about.tsx]"]
  node_researchview["Research directions"]
  node_routes["Project route helpers<br/>[projectRoutes.ts]"]
  node_portfolio["Portfolio page<br/>[page.tsx]"]
  node_portfoliocontent["Portfolio content<br/>[portfolio.tsx]"]
  node_projectcards["Portfolio project cards<br/>[ProjectCard.tsx]"]
  node_projectdetail["Project detail page<br/>[page.tsx]"]
  node_projectcontent["Project detail content<br/>[projectDetails.tsx]"]
  node_mediagrid["Project media grid<br/>[MediaGrid.tsx]"]
  node_approach["Research approach"]
  node_contact["Contact section<br/>[ContactSection.tsx]"]
  node_portfoliohero["Portfolio hero<br/>[PortfolioHero.tsx]"]
end

subgraph group_academic["Academic content"]
  node_news["News pages<br/>[page.tsx]"]
  node_newscontent["News content<br/>[news.tsx]"]
  node_newsgrid["News grid<br/>[NewsGrid.tsx]"]
  node_publications["Publications page<br/>[page.tsx]"]
  node_pubcontent["Publication content<br/>[publications.tsx]"]
  node_pubcard["Publication cards"]
  node_courses["Courses page<br/>[page.tsx]"]
  node_coursecontent["Course content<br/>[courses.tsx]"]
  node_newsall["All news page<br/>[page.tsx]"]
  node_courseview["Course blocks<br/>[CourseBlock.tsx]"]
end

subgraph group_community["People and opportunities"]
  node_team["Team page<br/>[page.tsx]"]
  node_teamcontent["Team content<br/>[team.tsx]"]
  node_opportunities["Opportunities page<br/>[page.tsx]"]
  node_oppcontent["Recruitment content<br/>[opportunities.tsx]"]
  node_teamview["Team section<br/>[TeamSection.tsx]"]
end

subgraph group_presentation["Presentation components"]
  node_ui["Inline links and skeletons<br/>[InlineLink.tsx]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"browses"| node_shell
node_shell -->|"reads settings"| node_siteconfig
node_shell -.->|"frames pages"| node_home
node_shell -.->|"provides navigation"| node_custom
node_about -->|"reads content"| node_aboutcontent
node_about -->|"renders directions"| node_researchview
node_about -->|"renders approach"| node_approach
node_about -->|"renders contact"| node_contact
node_researchview -->|"gets project links"| node_routes
node_routes -->|"reads directions"| node_aboutcontent
node_portfolio -->|"reads content"| node_portfoliocontent
node_portfolio -->|"renders cards"| node_projectcards
node_portfolio -->|"renders hero"| node_portfoliohero
node_projectdetail -->|"resolves route"| node_routes
node_projectdetail -->|"reads details"| node_projectcontent
node_projectdetail -->|"renders media"| node_mediagrid
node_news -->|"reads items"| node_newscontent
node_news -->|"renders preview"| node_newsgrid
node_newsall -->|"reads items"| node_newscontent
node_newsall -->|"renders items"| node_newsgrid
node_publications -->|"reads entries"| node_pubcontent
node_publications -->|"renders cards"| node_pubcard
node_courses -->|"reads content"| node_coursecontent
node_courses -->|"renders blocks"| node_courseview
node_team -->|"reads content"| node_teamcontent
node_team -->|"renders section"| node_teamview
node_opportunities -->|"reads content"| node_oppcontent
node_aboutcontent -->|"uses links"| node_ui
node_newscontent -->|"uses links"| node_ui
node_portfoliocontent -->|"uses links"| node_ui
node_projectcontent -->|"uses links"| node_ui
node_pubcontent -->|"uses links"| node_ui
node_coursecontent -->|"uses links"| node_ui

click node_home "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/page.tsx"
click node_shell "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/layout.tsx"
click node_siteconfig "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/site.ts"
click node_custom "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/%5Bslug%5D/page.tsx"
click node_about "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/about/page.tsx"
click node_aboutcontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/about.tsx"
click node_researchview "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/ResearchSection.tsx"
click node_routes "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/lib/projectRoutes.ts"
click node_portfolio "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/portfolio/page.tsx"
click node_portfoliocontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/portfolio.tsx"
click node_projectcards "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/portfolio/ProjectCard.tsx"
click node_projectdetail "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/projects/%5Bid%5D/page.tsx"
click node_projectcontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/projectDetails.tsx"
click node_mediagrid "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/projects/MediaGrid.tsx"
click node_news "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/news/page.tsx"
click node_newscontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/news.tsx"
click node_newsgrid "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/news/NewsGrid.tsx"
click node_publications "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/publications/page.tsx"
click node_pubcontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/publications.tsx"
click node_pubcard "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/publications/PublicationCard.tsx"
click node_courses "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/courses/page.tsx"
click node_coursecontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/courses.tsx"
click node_team "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/team/page.tsx"
click node_teamcontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/team.tsx"
click node_opportunities "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/opportunities/page.tsx"
click node_oppcontent "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/opportunities.tsx"
click node_newsall "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/news/all/page.tsx"
click node_ui "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/ui/InlineLink.tsx"
click node_teamview "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/team/TeamSection.tsx"
click node_courseview "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/courses/CourseBlock.tsx"
click node_approach "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/OurApproachSection.tsx"
click node_contact "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/ContactSection.tsx"
click node_portfoliohero "https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/portfolio/PortfolioHero.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_shell,node_siteconfig,node_custom toneBlue
class node_about,node_aboutcontent,node_researchview,node_routes,node_portfolio,node_portfoliocontent,node_projectcards,node_projectdetail,node_projectcontent,node_mediagrid,node_approach,node_contact,node_portfoliohero toneAmber
class node_news,node_newscontent,node_newsgrid,node_publications,node_pubcontent,node_pubcard,node_courses,node_coursecontent,node_newsall,node_courseview toneMint
class node_team,node_teamcontent,node_opportunities,node_oppcontent,node_teamview toneRose
class node_ui,node_visitor toneIndigo
```

## Components

### Site shell

- [Home page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/page.tsx): `app/page.tsx`
- [Layout and navigation](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/layout.tsx): `app/layout.tsx`
- [Site settings](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/site.ts): `content/site.ts`
- [Custom pages](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/%5Bslug%5D/page.tsx): `app/[slug]/page.tsx`

### Research and projects

- [About page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [Profile and research content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/about.tsx): `content/about.tsx`
- [Research directions](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/ResearchSection.tsx): `components/about/ResearchSection.tsx`
- [Project route helpers](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/lib/projectRoutes.ts): `lib/projectRoutes.ts`
- [Portfolio page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/portfolio/page.tsx): `app/portfolio/page.tsx`
- [Portfolio content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/portfolio.tsx): `content/portfolio.tsx`
- [Portfolio project cards](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/portfolio/ProjectCard.tsx): `components/portfolio/ProjectCard.tsx`
- [Project detail page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/projects/%5Bid%5D/page.tsx): `app/projects/[id]/page.tsx`
- [Project detail content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/projectDetails.tsx): `content/projectDetails.tsx`
- [Project media grid](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/projects/MediaGrid.tsx): `components/projects/MediaGrid.tsx`
- [Research approach](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/OurApproachSection.tsx): `components/about/OurApproachSection.tsx`
- [Contact section](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/about/ContactSection.tsx): `components/about/ContactSection.tsx`
- [Portfolio hero](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/portfolio/PortfolioHero.tsx): `components/portfolio/PortfolioHero.tsx`

### Academic content

- [News pages](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/news/page.tsx): `app/news/page.tsx`
- [News content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/news.tsx): `content/news.tsx`
- [News grid](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/news/NewsGrid.tsx): `components/news/NewsGrid.tsx`
- [Publications page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/publications/page.tsx): `app/publications/page.tsx`
- [Publication content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/publications.tsx): `content/publications.tsx`
- [Publication cards](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/publications/PublicationCard.tsx): `components/publications/PublicationCard.tsx`
- [Courses page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/courses/page.tsx): `app/courses/page.tsx`
- [Course content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/courses.tsx): `content/courses.tsx`
- [All news page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/news/all/page.tsx): `app/news/all/page.tsx`
- [Course blocks](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/courses/CourseBlock.tsx): `components/courses/CourseBlock.tsx`

### People and opportunities

- [Team page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/team/page.tsx): `app/team/page.tsx`
- [Team content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/team.tsx): `content/team.tsx`
- [Opportunities page](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/app/opportunities/page.tsx): `app/opportunities/page.tsx`
- [Recruitment content](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/content/opportunities.tsx): `content/opportunities.tsx`
- [Team section](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/team/TeamSection.tsx): `components/team/TeamSection.tsx`

### Presentation components

- [Inline links and skeletons](https://github.com/lwwywang/aw4sr-academic-website-4-senior-researcher/blob/main/components/ui/InlineLink.tsx): `components/ui/InlineLink.tsx`

### Other components

- **Site visitor**

## Connections

- Site visitor → Layout and navigation: browses (evidence: `README.md`)
- Layout and navigation → Site settings: reads settings (evidence: `app/layout.tsx`)
- Layout and navigation → Home page: frames pages
- Layout and navigation → Custom pages: provides navigation
- About page → Profile and research content: reads content (evidence: `app/about/page.tsx`)
- About page → Research directions: renders directions (evidence: `app/about/page.tsx`)
- About page → Research approach: renders approach (evidence: `app/about/page.tsx`)
- About page → Contact section: renders contact (evidence: `app/about/page.tsx`)
- Research directions → Project route helpers: gets project links (evidence: `components/about/ResearchSection.tsx`)
- Project route helpers → Profile and research content: reads directions (evidence: `lib/projectRoutes.ts`)
- Portfolio page → Portfolio content: reads content (evidence: `app/portfolio/page.tsx`)
- Portfolio page → Portfolio project cards: renders cards (evidence: `app/portfolio/page.tsx`)
- Portfolio page → Portfolio hero: renders hero (evidence: `app/portfolio/page.tsx`)
- Project detail page → Project route helpers: resolves route (evidence: `app/projects/[id]/page.tsx`)
- Project detail page → Project detail content: reads details (evidence: `app/projects/[id]/page.tsx`)
- Project detail page → Project media grid: renders media (evidence: `app/projects/[id]/page.tsx`)
- News pages → News content: reads items (evidence: `app/news/page.tsx`)
- News pages → News grid: renders preview (evidence: `app/news/page.tsx`)
- All news page → News content: reads items (evidence: `app/news/all/page.tsx`)
- All news page → News grid: renders items (evidence: `app/news/all/page.tsx`)
- Publications page → Publication content: reads entries (evidence: `app/publications/page.tsx`)
- Publications page → Publication cards: renders cards (evidence: `app/publications/page.tsx`)
- Courses page → Course content: reads content (evidence: `app/courses/page.tsx`)
- Courses page → Course blocks: renders blocks (evidence: `app/courses/page.tsx`)
- Team page → Team content: reads content (evidence: `app/team/page.tsx`)
- Team page → Team section: renders section (evidence: `app/team/page.tsx`)
- Opportunities page → Recruitment content: reads content (evidence: `app/opportunities/page.tsx`)
- Profile and research content → Inline links and skeletons: uses links (evidence: `content/about.tsx`)
- News content → Inline links and skeletons: uses links (evidence: `content/news.tsx`)
- Portfolio content → Inline links and skeletons: uses links (evidence: `content/portfolio.tsx`)
- Project detail content → Inline links and skeletons: uses links (evidence: `content/projectDetails.tsx`)
- Publication content → Inline links and skeletons: uses links (evidence: `content/publications.tsx`)
- Course content → Inline links and skeletons: uses links (evidence: `content/courses.tsx`)
