# yousefalamir/fanofan-frontend-website architecture

> Architecture diagram of the GitHub repository yousefalamir/fanofan-frontend-website, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yousefalamir/fanofan-frontend-website
- Repository: https://github.com/yousefalamir/fanofan-frontend-website

## Overview

This is a static fan-organization website: visitors browse its informational pages, gallery, services, and downloadable reports. The sampled JavaScript enhances page presentation with a hero slider, counters, responsive navigation, animations, sticky content, and a map. The file tree also identifies report documents, but there is no evidence of a server-side workflow. Edges reflect the sampled calls and map code; page-to-feature wiring for unsampled HTML is therefore not asserted.

Main entry points: [`js/google_map.js`](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/google_map.js) (Map initializer), [`index.html`](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/index.html) (Site pages), [`js/main.js`](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/main.js) (Page behavior), [`js/jquery.flexslider-min.js`](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.flexslider-min.js) (Hero slider)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website content"]
  node_pages["Site pages<br/>[index.html]"]
  node_about["About page<br/>[about.html]"]
  node_services["Services page<br/>[services.html]"]
  node_gallery["Gallery page<br/>[gallery.html]"]
  node_contact["Contact page<br/>[contact.html]"]
  node_horizons["New Horizons<br/>[newhoraizons.html]"]
end

subgraph group_interaction["Page interactions"]
  node_main["Page behavior<br/>[main.js]"]
  node_slider["Hero slider"]
  node_counter["Count animation<br/>[jquery.countTo.js]"]
  node_easing["Easing functions"]
  node_map["Map initializer<br/>[google_map.js]"]
end

subgraph group_assets["Reports and styling"]
  node_reports["Report documents"]
  node_styles["Site styling<br/>[style.css]"]
end

node_visitor(("Visitor"))
node_googlemaps["Google Maps"]
node_geocoding["Maps geocoding"]

node_visitor -->|"browses"| node_pages
node_pages -.->|"offers downloads"| node_reports
node_pages -.->|"initializes"| node_main
node_main -->|"starts counters"| node_counter
node_main -->|"configures slider"| node_slider
node_map -->|"creates map"| node_googlemaps
node_map -->|"requests coordinates"| node_geocoding
node_map -->|"adds marker"| node_googlemaps

click node_pages "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/index.html"
click node_about "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/about.html"
click node_services "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/services.html"
click node_gallery "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/gallery.html"
click node_contact "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/contact.html"
click node_horizons "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/newhoraizons.html"
click node_reports "https://github.com/yousefalamir/fanofan-frontend-website/tree/master/documents"
click node_styles "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/css/style.css"
click node_main "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/main.js"
click node_slider "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.flexslider-min.js"
click node_counter "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.countTo.js"
click node_easing "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.easing.1.3.js"
click node_map "https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/google_map.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_pages,node_about,node_services,node_gallery,node_contact,node_horizons toneBlue
class node_main,node_slider,node_counter,node_easing,node_map toneAmber
class node_reports,node_styles toneMint
class node_visitor,node_googlemaps,node_geocoding toneIndigo
```

## Components

### Website content

- [Site pages](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/index.html): `index.html`
- [About page](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/about.html): `about.html`
- [Services page](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/services.html): `services.html`
- [Gallery page](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/gallery.html): `gallery.html`
- [Contact page](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/contact.html): `contact.html`
- [New Horizons](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/newhoraizons.html): `newhoraizons.html`

### Page interactions

- [Page behavior](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/main.js): `js/main.js`
- [Hero slider](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.flexslider-min.js): `js/jquery.flexslider-min.js`
- [Count animation](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.countTo.js): `js/jquery.countTo.js`
- [Easing functions](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/jquery.easing.1.3.js): `js/jquery.easing.1.3.js`
- [Map initializer](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/js/google_map.js): `js/google_map.js`

### Reports and styling

- [Report documents](https://github.com/yousefalamir/fanofan-frontend-website/tree/master/documents): `documents`
- [Site styling](https://github.com/yousefalamir/fanofan-frontend-website/blob/master/css/style.css): `css/style.css`

### Other components

- **Visitor**
- **Google Maps**
- **Maps geocoding**

## Connections

- Visitor → Site pages: browses
- Site pages → Report documents: offers downloads
- Site pages → Page behavior: initializes
- Page behavior → Count animation: starts counters (evidence: `js/main.js`)
- Page behavior → Hero slider: configures slider (evidence: `js/main.js`)
- Map initializer → Google Maps: creates map (evidence: `js/google_map.js`)
- Map initializer → Maps geocoding: requests coordinates (evidence: `js/google_map.js`)
- Map initializer → Google Maps: adds marker (evidence: `js/google_map.js`)
