# devamit09/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/devamit09/portfolio
- Repository: https://github.com/devamit09/portfolio

## Overview

##### Main Components
- Frontend Interface: Represent the core HTML file (index.html) that serves as the entry point.
- Styles Layer: Include the styles.css file, highlighting the use of CSS3 with variables for theming and responsive design.
- Scripting/Functionality: The script.js file that handles interactive elements such as smooth scrolling, the hamburger menu, hover effects, and active section highlighting.
- Media and Assets: The img directory where resources like images and the PDF resume reside.
- External Integrations: Elements like EmailJS for the contact form and IP geolocation for visitor analytics.

##### Relationships and Interactions
- That the HTML page (index.html) integrates with both the styles.css (for layout and thematic styling) and script.js (for dynamic interaction).
- That the media/asset folder (img) supplies static resources used in the HTML content.

##### Architectural Principles
- Clearly segregate the presentation layer (HTML & CSS) from the behavior layer (JavaScript).
- Optionally, include a note that the system is designed with responsiveness in mind (responsive design principles) to cater to various device sizes.

##### Extra Details to Capture
- And mark the four main sections mentioned in the README: Home, About, Projects, and Contact.
- Special interactive features (smooth scrolling, active section highlighting) that enhance user experience.
- A side note regarding the project’s emphasis on a modern design aesthetic and the use of semantic HTML5.

Happy Diagramming!

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Presentation Layer"
        HTML["index.html"]:::static
        CSS["styles.css"]:::static
        IMG["img"]:::static
    end

    subgraph "Interactive Layer"
        JS["script.js"]:::dynamic
    end

    subgraph "Website Sections"
        HOME["Home"]:::section
        ABOUT["About"]:::section
        PROJECTS["Projects"]:::section
        CONTACT["Contact"]:::section
    end

    subgraph "External Services"
        EMAILJS["EmailJS"]:::external
        GEO["IP Geolocation"]:::external
    end

    HTML -->|"applies"| CSS
    HTML -->|"includes"| IMG
    HTML -->|"triggers"| JS

    JS -->|"controls"| HOME
    JS -->|"controls"| ABOUT
    JS -->|"controls"| PROJECTS
    JS -->|"controls"| CONTACT

    CONTACT -->|"formSubmission"| EMAILJS
    CONTACT -->|"visitorAnalytics"| GEO

    classDef static fill:#99ccff,stroke:#000,stroke-width:2px;
    classDef dynamic fill:#ffcc99,stroke:#000,stroke-width:2px;
    classDef section fill:#ccffcc,stroke:#000,stroke-width:2px;
    classDef external fill:#ff9999,stroke:#000,stroke-width:2px;

    click HTML "https://github.com/devamit09/portfolio/blob/main/index.html"
    click CSS "https://github.com/devamit09/portfolio/blob/main/styles.css"
    click JS "https://github.com/devamit09/portfolio/blob/main/script.js"
    click IMG "https://github.com/devamit09/portfolio/tree/main/img"
```
