# hellgaprokopovich/itgirls_teamproject2 architecture

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

- Interactive diagram: https://gitdiagram.com/hellgaprokopovich/itgirls_teamproject2
- Repository: https://github.com/hellgaprokopovich/itgirls_teamproject2

## Overview

##### Project Type Identification
This is a frontend-only web project with the following characteristics:
- Static website implementation
- SASS-based styling architecture
- JavaScript functionality (carousel and main logic)
- Asset management structure

##### Main Components

A. Client-Side Architecture:
- [Browser] → [Static Assets]
- ↓
- [HTML (index.html)] ← → [JavaScript (main.js, carousel.js)]
- ↓
- [SASS Compilation]
- ↓
- [CSS Output]

B. SASS Architecture Layer (show as a detailed sub-system):
- [Common Styles] → [Layout Sections (1-7)] → [Components]
- ↓
- [UI Components]
- Typography
- Buttons
- Fonts

##### Component Relationships

Key relationships:
- HTML as the central document
- JavaScript modules' interaction with HTML
- SASS compilation flow
- Asset inclusion paths

##### Specific Elements

a) Entry Points:
- index.html
- main.js
- carousel.js

b) Style Structure:
- 7 main sections
- UI components (buttons, typography, fonts)
- Common styles and shared resources

c) Asset Management:
- Images directory
- Fonts directory
- Certificates subdirectory

##### Implementation Details

Use these symbols and conventions:
- Rectangles: Main components

**🔷 Core Files**
**🔶 JavaScript Modules**
**🔰 SASS/CSS Components**
**📁 Static Assets**
**↔️ Runtime Dependency**
**⇢  Build-time Dependency**

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Browser
        Client[Client Browser]
    end

    subgraph "Core Application"
        HTML[index.html]:::core
        MainJS[main.js]:::js
        CarouselJS[carousel.js]:::js
    end

    subgraph "SASS Architecture"
        MainSASS[index.sass]:::sass
        CommonStyles[common.sass]:::sass
        
        subgraph "Layout Sections"
            Section1["1first-section.sass"]:::sass
            Section2["2second-section.sass"]:::sass
            Section3["3third-section.sass"]:::sass
            Section4["4fourth-section.sass"]:::sass
            Section5["5fifth-section.sass"]:::sass
            Section6["6sixth-section.sass"]:::sass
            Section7["7seventh-section.sass"]:::sass
        end

        subgraph "UI Components"
            Typography[typography.sass]:::sass
            Buttons[buttons.sass]:::sass
            Fonts[fonts.sass]:::sass
        end

        subgraph "Navigation"
            Header[header.sass]:::sass
            Footer[footer.sass]:::sass
            BurgerMenu["burger-menu.sass"]:::sass
        end
    end

    subgraph "Static Assets"
        FontsDir[Fonts]:::asset
        ImagesDir[Images]:::asset
        CertDir[Certificates]:::asset
    end

    subgraph "Build Process"
        SASSCompile[SASS Compilation]:::process
        CSSOutput[CSS Output]:::process
    end

    %% Relationships
    Client --> HTML
    HTML <--> MainJS
    HTML <--> CarouselJS
    MainJS <--> CarouselJS

    MainSASS --> SASSCompile
    CommonStyles --> SASSCompile
    Section1 & Section2 & Section3 & Section4 & Section5 & Section6 & Section7 --> SASSCompile
    Typography & Buttons & Fonts --> SASSCompile
    Header & Footer & BurgerMenu --> SASSCompile
    SASSCompile --> CSSOutput
    CSSOutput --> HTML

    FontsDir --> HTML
    ImagesDir --> HTML
    CertDir --> ImagesDir

    %% Click Events
    click HTML "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/index.html"
    click MainJS "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/main.js"
    click CarouselJS "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/carousel.js"
    click CommonStyles "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/common.sass"
    click Section1 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/1first-section.sass"
    click Section2 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/2second-section.sass"
    click Section3 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/3third-section.sass"
    click Section4 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/4fourth-section.sass"
    click Section5 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/5fifth-section.sass"
    click Section6 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/6sixth-section.sass"
    click Section7 "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/7seventh-section.sass"
    click Typography "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/ui/typography.sass"
    click Buttons "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/ui/buttons.sass"
    click Fonts "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/ui/fonts.sass"
    click Header "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/header.sass"
    click Footer "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/footer.sass"
    click BurgerMenu "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/burger-menu.sass"
    click MainSASS "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/blob/main/assets/sass/index.sass"
    click FontsDir "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/tree/main/assets/fonts"
    click ImagesDir "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/tree/main/assets/images"
    click CertDir "https://github.com/HellgaProkopovich/ITGIRLS_teamproject2/tree/main/assets/images/certificates"

    %% Styles
    classDef core fill:#3498db,stroke:#2980b9,color:white
    classDef js fill:#f1c40f,stroke:#f39c12,color:black
    classDef sass fill:#2ecc71,stroke:#27ae60,color:white
    classDef asset fill:#e74c3c,stroke:#c0392b,color:white
    classDef process fill:#95a5a6,stroke:#7f8c8d,color:white

    %% Legend
    subgraph Legend
        L1[Core Files]:::core
        L2[JavaScript]:::js
        L3[SASS Components]:::sass
        L4[Static Assets]:::asset
        L5[Build Process]:::process
    end
```
