# rihanmohd/localrepo architecture

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

- Interactive diagram: https://gitdiagram.com/rihanmohd/localrepo
- Repository: https://github.com/rihanmohd/localrepo

## Overview

##### Main Project Components
The project appears to be a multi-page web application with several distinct features:
- Main website component (index.html/index.htm)
- Cactus-themed component (cactus.js, cactus.css)
- Car-related component (car.html, car.js, car.css)
- GSAP animations integration (indicated by gsap-public zip file)

##### Key Relationships to Highlight

- How index.html connects to style.css and script.js
- Modular nature of the cactus and car components
- Demonstrate GSAP integration points with relevant components
- Asset usage across different components

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Frontend
        subgraph CoreWebsite
            Index["index.html"]:::html
            Style["style.css"]:::css
            Script["script.js"]:::js
            Index --> Style
            Index --> Script
        end

        subgraph CactusModule
            CactusHTML["cacus web.html"]:::html
            CactusJS["cactus.js"]:::js
            CactusCSS["cactus.css"]:::css
            CactusHTML --> CactusJS
            CactusHTML --> CactusCSS
        end

        subgraph CarModule
            CarHTML["car.html"]:::html
            CarJS["car.js"]:::js
            CarCSS["car.css"]:::css
            CarHTML --> CarJS
            CarHTML --> CarCSS
        end
    end

    subgraph Assets
        GSAP["GSAP Library"]:::lib
        Images["Static Images"]:::asset
    end

    Index --> CactusHTML
    Index --> CarHTML
    Script --> GSAP
    CactusJS --> GSAP
    CarJS --> GSAP
    
    CactusHTML -.-> Images
    CarHTML -.-> Images
    Index -.-> Images

    %% Click Events
    click Index "https://github.com/rihanmohd/localrepo/blob/main/index.html"
    click Style "https://github.com/rihanmohd/localrepo/blob/main/style.css"
    click Script "https://github.com/rihanmohd/localrepo/blob/main/script.js"
    click CactusHTML "https://github.com/rihanmohd/localrepo/blob/main/cacus web.html"
    click CactusJS "https://github.com/rihanmohd/localrepo/blob/main/cactus.js"
    click CactusCSS "https://github.com/rihanmohd/localrepo/blob/main/cactus.css"
    click CarHTML "https://github.com/rihanmohd/localrepo/blob/main/car.html"
    click CarJS "https://github.com/rihanmohd/localrepo/blob/main/car.js"
    click CarCSS "https://github.com/rihanmohd/localrepo/blob/main/car.css"
    click GSAP "https://github.com/rihanmohd/localrepo/blob/main/gsap-public (2).zip"
    click Images "https://github.com/rihanmohd/localrepo/blob/main/man-sysadmine-computer-programmer-working-computer_575670-70.avif"

    %% Styles
    classDef html fill:#326ce5,stroke:#fff,stroke-width:2px,color:#fff
    classDef css fill:#7952b3,stroke:#fff,stroke-width:2px,color:#fff
    classDef js fill:#f7df1e,stroke:#000,stroke-width:2px,color:#000
    classDef lib fill:#4caf50,stroke:#fff,stroke-width:2px,color:#fff
    classDef asset fill:#78909c,stroke:#fff,stroke-width:2px,color:#fff

    %% Legend
    subgraph Legend
        HTML["HTML File"]:::html
        CSS["CSS File"]:::css
        JS["JavaScript File"]:::js
        Lib["Library"]:::lib
        Asset["Asset"]:::asset
    end
```
