# chiuuu123/g10_virtual-psychologists architecture

> Architecture diagram of the GitHub repository chiuuu123/g10_virtual-psychologists, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/chiuuu123/g10_virtual-psychologists
- Repository: https://github.com/chiuuu123/g10_virtual-psychologists

## Overview

##### Project type and purpose
- This is a purely static, multi‐page website (no backend/service components) titled “G10_Virtual Psychologists.”
- Purpose: to present content on psychology topics via an interactive web interface, hosted via GitHub Pages.

##### File structure
- Root level
- Final project.html (landing page)
- Final project.css (global stylesheet)
- README.md
- Subpages directory
- Challenges.html, Future.html, Introduction.html (section entry points)
- Challenges.css, Future.css, Intro.css (per‐section styles)
- Challenges.js, Intro.js (per‐section scripts for interactive behavior)
- Nested folders under each section (e.g., Subpages/Introduction/Monitoring) holding deeper content pages.

##### README for additional insights
- Confirms it is a static site viewable via GitHub Pages link.
- No mention of dynamic data sources or external APIs.

##### Elements
- Clear labels: Browser, GitHub Pages Server, Global HTML/CSS, Section HTML/CSS/JS, Nested Content Folders
- User actions (click/navigation)
- HTTP GET requests/responses
- Rectangles for components (e.g., “GitHub Pages”)

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Top-level components
    Browser["User Browser"]:::browser
    GitHub["GitHub Pages Server"]:::server

    Browser -->|"HTTP GET"| GitHub
    GitHub -->|"serves HTML/CSS/JS"| Browser

    %% Global Shell
    subgraph "Global Shell"
        direction TB
        FinalHTML["Final project.html"]:::html
        FinalCSS["Final project.css"]:::css
    end

    Browser -->|"loads"| FinalHTML
    FinalHTML -->|"references"| FinalCSS

    click FinalHTML "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Final project.html"
    click FinalCSS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Final project.css"

    %% Introduction Section Module
    subgraph "Introduction Section Module"
        direction TB
        IntroHTML["Subpages/Introduction.html"]:::html
        IntroCSS["Subpages/Intro.css"]:::css
        IntroJS["Subpages/Intro.js"]:::js
        subgraph "Nested Content"
            direction TB
            Diagnosis["Subpages/Introduction/Diagnosis"]:::folder
            Introcards["Subpages/Introduction/Intro-cards"]:::folder
            Monitoring["Subpages/Introduction/Monitoring"]:::folder
            Treatment["Subpages/Introduction/Treatment"]:::folder
        end
    end

    Browser -->|"navigates to"| IntroHTML
    IntroHTML -->|"loads"| IntroCSS
    IntroHTML -->|"loads"| IntroJS
    IntroHTML -->|"links to"| Diagnosis
    IntroHTML -->|"links to"| Introcards
    IntroHTML -->|"links to"| Monitoring
    IntroHTML -->|"links to"| Treatment

    click IntroHTML "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Introduction.html"
    click IntroCSS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Intro.css"
    click IntroJS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Intro.js"
    click Diagnosis "https://github.com/chiuuu123/g10_virtual-psychologists/tree/main/Subpages/Introduction/Diagnosis"
    click Introcards "https://github.com/chiuuu123/g10_virtual-psychologists/tree/main/Subpages/Introduction/Intro-cards"
    click Monitoring "https://github.com/chiuuu123/g10_virtual-psychologists/tree/main/Subpages/Introduction/Monitoring"
    click Treatment "https://github.com/chiuuu123/g10_virtual-psychologists/tree/main/Subpages/Introduction/Treatment"

    %% Challenges Section Module
    subgraph "Challenges Section Module"
        direction TB
        ChHTML["Subpages/Challenges.html"]:::html
        ChCSS["Subpages/Challenges.css"]:::css
        ChJS["Subpages/Challenges.js"]:::js
        ChFolder["Subpages/Challenges"]:::folder
    end

    Browser -->|"navigates to"| ChHTML
    ChHTML -->|"loads"| ChCSS
    ChHTML -->|"loads"| ChJS
    ChHTML -->|"links to"| ChFolder

    click ChHTML "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Challenges.html"
    click ChCSS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Challenges.css"
    click ChJS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Challenges.js"
    click ChFolder "https://github.com/chiuuu123/g10_virtual-psychologists/tree/main/Subpages/Challenges/"

    %% Future Section Module
    subgraph "Future Section Module"
        direction TB
        FutHTML["Subpages/Future.html"]:::html
        FutCSS["Subpages/Future.css"]:::css
        FutPage["Subpages/Future/計概.html"]:::html
    end

    Browser -->|"navigates to"| FutHTML
    FutHTML -->|"loads"| FutCSS
    FutHTML -->|"links to"| FutPage

    click FutHTML "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Future.html"
    click FutCSS "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Future.css"
    click FutPage "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/Subpages/Future/計概.html"

    %% Project Metadata & Hosting Config
    subgraph "Project Metadata & Hosting"
        direction TB
        Readme["README.md"]:::doc
        Gitattributes[".gitattributes"]:::doc
    end

    GitHub -->|"configured by"| Readme
    GitHub -->|"configured by"| Gitattributes

    click Readme "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/README.md"
    click Gitattributes "https://github.com/chiuuu123/g10_virtual-psychologists/blob/main/.gitattributes"

    %% Styles
    classDef browser fill:#FFD966,stroke:#333,stroke-width:1px
    classDef server fill:#93C47D,stroke:#333,stroke-width:1px
    classDef html fill:#6FA8DC,stroke:#333,stroke-width:1px
    classDef css fill:#F4B183,stroke:#333,stroke-width:1px
    classDef js fill:#E06666,stroke:#333,stroke-width:1px
    classDef folder fill:#CCCCCC,stroke:#333,stroke-width:1px
    classDef doc fill:#B4A7D6,stroke:#333,stroke-width:1px
```
