# touri132/north-soc architecture

> Architecture diagram of the GitHub repository touri132/north-soc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/touri132/north-soc
- Repository: https://github.com/touri132/north-soc

## Overview

North SOC is a marketing and portfolio website, not a security-analysis runtime. Its visitor workflow is to browse and filter project examples, review service and pricing information, then submit a contact form. The sampled JavaScript also implements theme, menu, payment-tab, and cookie interactions. The README is empty; unsampled HTML and CSS are represented only by their paths, and relationships are limited to those visible in the JavaScript excerpts.

Main entry points: [`script.js`](https://github.com/touri132/north-soc/blob/main/script.js) (Interface controls), [`index.html`](https://github.com/touri132/north-soc/blob/main/index.html) (Website interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Visitor experience"]
  node_site["Website interface<br/>[index.html]"]
  node_interface_controls["Interface controls<br/>[script.js]"]
  node_theme_menu["Theme and menu<br/>[script.js]"]
  node_pricing_payments["Pricing and payments<br/>[script.js]"]
  node_styles["Site styling<br/>[styles.css]"]
end

subgraph group_portfolio["Portfolio content"]
  node_project_catalog["Project catalog<br/>[script.js]"]
  node_portfolio_filter["Portfolio filtering<br/>[script.js]"]
end

subgraph group_contact["Contact and preferences"]
  node_contact_form["Contact submission<br/>[script.js]"]
  node_cookie_preferences["Cookie preferences<br/>[script.js]"]
end

node_visitor(("Visitor"))
node_formspree{{"Formspree"}}
node_gmail{{"Gmail fallback"}}
node_browser_storage[("Browser local storage")]

node_visitor -->|"browses"| node_site
node_visitor -->|"uses controls"| node_interface_controls
node_interface_controls -->|"toggles"| node_theme_menu
node_interface_controls -->|"switches tabs"| node_pricing_payments
node_project_catalog -->|"filters cards"| node_portfolio_filter
node_visitor -->|"selects category"| node_portfolio_filter
node_visitor -->|"submits form"| node_contact_form
node_contact_form -->|"posts form"| node_formspree
node_contact_form -->|"falls back"| node_gmail
node_visitor -->|"chooses preference"| node_cookie_preferences
node_cookie_preferences -->|"stores choice"| node_browser_storage

click node_site "https://github.com/touri132/north-soc/blob/main/index.html"
click node_interface_controls "https://github.com/touri132/north-soc/blob/main/script.js"
click node_theme_menu "https://github.com/touri132/north-soc/blob/main/script.js"
click node_pricing_payments "https://github.com/touri132/north-soc/blob/main/script.js"
click node_styles "https://github.com/touri132/north-soc/blob/main/styles.css"
click node_project_catalog "https://github.com/touri132/north-soc/blob/main/script.js"
click node_portfolio_filter "https://github.com/touri132/north-soc/blob/main/script.js"
click node_contact_form "https://github.com/touri132/north-soc/blob/main/script.js"
click node_cookie_preferences "https://github.com/touri132/north-soc/blob/main/script.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_site,node_interface_controls,node_theme_menu,node_pricing_payments,node_styles toneBlue
class node_project_catalog,node_portfolio_filter,node_browser_storage toneAmber
class node_contact_form,node_cookie_preferences toneMint
class node_visitor,node_formspree,node_gmail toneIndigo
```

## Components

### Visitor experience

- [Website interface](https://github.com/touri132/north-soc/blob/main/index.html): `index.html`
- [Interface controls](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`
- [Theme and menu](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`
- [Pricing and payments](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`
- [Site styling](https://github.com/touri132/north-soc/blob/main/styles.css): `styles.css`

### Portfolio content

- [Project catalog](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`
- [Portfolio filtering](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`

### Contact and preferences

- [Contact submission](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`
- [Cookie preferences](https://github.com/touri132/north-soc/blob/main/script.js): `script.js`

### Other components

- **Visitor**
- **Formspree**
- **Gmail fallback**
- **Browser local storage**

## Connections

- Visitor → Website interface: browses
- Visitor → Interface controls: uses controls (evidence: `script.js`)
- Interface controls → Theme and menu: toggles (evidence: `script.js`)
- Interface controls → Pricing and payments: switches tabs (evidence: `script.js`)
- Project catalog → Portfolio filtering: filters cards (evidence: `script.js`)
- Visitor → Portfolio filtering: selects category (evidence: `script.js`)
- Visitor → Contact submission: submits form (evidence: `script.js`)
- Contact submission → Formspree: posts form (evidence: `script.js`)
- Contact submission → Gmail fallback: falls back (evidence: `script.js`)
- Visitor → Cookie preferences: chooses preference (evidence: `script.js`)
- Cookie preferences → Browser local storage: stores choice (evidence: `script.js`)
