# eballoi/stj-landing architecture

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

- Interactive diagram: https://gitdiagram.com/eballoi/stj-landing
- Repository: https://github.com/eballoi/stj-landing

## Overview

##### Project Type Analysis
This is a modern Next.js frontend application with a focus on user interface components and landing page elements. It's built using the Next.js 13+ App Router pattern, as evidenced by the src/app directory structure.

##### Main Components

A. Client-Side Layer:

B. Application Layer (Main container):
1. Page Components:
- Landing Page Container
- Hero Section
2. UI Components Library:
- Shared UI Components (badges, buttons, etc.)
3. Core Infrastructure:
- App Router
- Internationalization System
4. Static Assets:
- Public Resources
- Images

**[Client Browser]**
- ↓
**[Next.js Runtime]**
- ↓
**┌──────────────────────────────────┐**
- Application Layer                │
- ┌────────────────┐ ┌──────────┐ │
- Page Components│ │Shared UI │ │
- Landing     │ │Components│ │
- Hero        │ └──────────┘ │
- ┘              │
- ┌────────────────┐ ┌──────────┐ │
- Core           │ │Static    │ │
- Infrastructure │ │Assets    │ │
- ┘ └──────────┘ │
- ┘

##### Key Elements to Highlight

a. Architecture Patterns:
- Next.js App Router pattern
- Component-based architecture
- Shared UI component library
- Internationalization support

b. Technical Stack Elements:
- Next.js framework
- TypeScript
- Tailwind CSS
- Component library (shadcn/ui based on file structure)

##### Implementation Details to Note

- The project follows a modern Next.js structure with the src/app directory
- UI components are centralized in src/components/ui
- Page components are organized in src/app/pages
- Utilities are separated in src/lib
- Static assets are managed in the public directory

Remember to include version information for key technologies and note any third-party integrations that may be added in the future for CV processing functionality.

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph Client
        Browser["Client Browser"]:::client
    end

    subgraph Runtime
        NextRuntime["Next.js Runtime"]:::runtime
        click NextRuntime "https://github.com/eballoi/stj-landing/blob/main/next.config.ts"
    end

    subgraph "Application Layer"
        subgraph "Page Components"
            Landing["Landing Page Container"]:::page
            click Landing "https://github.com/eballoi/stj-landing/tree/main/src/app/pages/landing"
            Hero["Hero Section"]:::page
            click Hero "https://github.com/eballoi/stj-landing/blob/main/src/app/pages/landing/components/HeroSection/HeroSection.tsx"
        end

        subgraph "UI Components"
            UILib["Shared UI Components"]:::ui
            click UILib "https://github.com/eballoi/stj-landing/tree/main/src/components/ui"
            Badge["Badge"]:::ui
            click Badge "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/badge.tsx"
            Button["Button"]:::ui
            click Button "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/button.tsx"
            Glow["Glow Effect"]:::ui
            click Glow "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/glow.tsx"
            GradientText["Gradient Text"]:::ui
            click GradientText "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/gradient-text.tsx"
            Icons["Icons"]:::ui
            click Icons "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/icons.tsx"
            Mockup["Mockup"]:::ui
            click Mockup "https://github.com/eballoi/stj-landing/blob/main/src/components/ui/mockup.tsx"
        end

        subgraph "Core Infrastructure"
            AppRouter["App Router"]:::core
            click AppRouter "https://github.com/eballoi/stj-landing/blob/main/src/app/layout.tsx"
            MainPage["Main Page"]:::core
            click MainPage "https://github.com/eballoi/stj-landing/blob/main/src/app/page.tsx"
            I18n["Internationalization"]:::core
            click I18n "https://github.com/eballoi/stj-landing/tree/main/src/app/dictionaries"
            GlobalStyles["Global Styles"]:::core
            click GlobalStyles "https://github.com/eballoi/stj-landing/blob/main/src/app/globals.css"
            Utils["Utilities"]:::core
            click Utils "https://github.com/eballoi/stj-landing/blob/main/src/lib/utils.ts"
        end

        subgraph "Static Assets"
            PublicRes["Public Resources"]:::static
            click PublicRes "https://github.com/eballoi/stj-landing/tree/main/public"
            Images["Images"]:::static
            click Images "https://github.com/eballoi/stj-landing/tree/main/public/images"
        end

        subgraph "Configuration"
            TSConfig["TypeScript Config"]:::config
            click TSConfig "https://github.com/eballoi/stj-landing/blob/main/tsconfig.json"
            TWConfig["Tailwind Config"]:::config
            click TWConfig "https://github.com/eballoi/stj-landing/blob/main/tailwind.config.ts"
            PostCSSConfig["PostCSS Config"]:::config
            click PostCSSConfig "https://github.com/eballoi/stj-landing/blob/main/postcss.config.mjs"
            CompConfig["Components Config"]:::config
            click CompConfig "https://github.com/eballoi/stj-landing/blob/main/components.json"
        end
    end

    Browser --> NextRuntime
    NextRuntime --> AppRouter
    AppRouter --> Landing
    Landing --> Hero
    Landing --> UILib
    Hero --> UILib
    UILib --> Badge
    UILib --> Button
    UILib --> Glow
    UILib --> GradientText
    UILib --> Icons
    UILib --> Mockup
    AppRouter --> I18n
    AppRouter --> GlobalStyles
    AppRouter --> MainPage
    MainPage --> Utils

    classDef client fill:#2196F3,stroke:#1565C0,color:white
    classDef runtime fill:#00BCD4,stroke:#00838F,color:white
    classDef page fill:#4CAF50,stroke:#2E7D32,color:white
    classDef ui fill:#FF9800,stroke:#EF6C00,color:white
    classDef core fill:#9C27B0,stroke:#6A1B9A,color:white
    classDef static fill:#9E9E9E,stroke:#424242,color:white
    classDef config fill:#795548,stroke:#3E2723,color:white
```
