# dharnish007/ambritha-sunil architecture

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

- Interactive diagram: https://gitdiagram.com/dharnish007/ambritha-sunil
- Repository: https://github.com/dharnish007/ambritha-sunil

## Overview

This is a static portfolio/gallery website template. A visitor-facing page presents portfolio items and a gallery; JavaScript adds filtering, carousel navigation, modal video, and scrolling interactions. Isotope and Owl Carousel implement the portfolio layout and gallery carousel, while Lightbox is present as a separate gallery-viewing plugin. The README is empty and the page markup was not excerpted, so page-to-script and Lightbox activation links cannot be verified; the graph shows only relationships visible in the supplied source excerpts.

Main entry points: [`js/main.js`](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js) (Page interactions), [`lib/isotope/isotope.pkgd.js`](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/isotope/isotope.pkgd.js) (Isotope layout), [`lib/owlcarousel/owl.carousel.js`](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/owlcarousel/owl.carousel.js) (Owl Carousel), [`lib/easing/easing.js`](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/easing/easing.js) (jQuery easing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website"]
  node_page["Portfolio page<br/>[index.html]"]
  node_styles["Site styles<br/>[style.css]"]
end

subgraph group_interaction["Page Interactions"]
  node_site_script["Page interactions<br/>[main.js]"]
  node_scroll_nav["Scroll navigation<br/>[main.js]"]
  node_video_modal["Video modal<br/>[main.js]"]
  node_portfolio_filter["Portfolio filtering<br/>[main.js]"]
  node_gallery["Gallery carousel<br/>[main.js]"]
end

subgraph group_plugins["UI Plugins"]
  node_isotope["Isotope layout<br/>[isotope.pkgd.js]"]
  node_owl["Owl Carousel<br/>[owl.carousel.js]"]
  node_lightbox["Lightbox viewer<br/>[lightbox.js]"]
  node_easing["jQuery easing<br/>[easing.js]"]
end

node_visitor(("Site visitor"))

node_site_script -->|"handles scrolling"| node_scroll_nav
node_site_script -->|"sets video source"| node_video_modal
node_site_script -->|"handles filters"| node_portfolio_filter
node_site_script -->|"initializes and filters"| node_isotope
node_site_script -->|"configures carousel"| node_gallery
node_site_script -->|"initializes carousel"| node_owl
node_site_script -->|"uses easing name"| node_easing

click node_page "https://github.com/dharnish007/ambritha-sunil/blob/main/index.html"
click node_styles "https://github.com/dharnish007/ambritha-sunil/blob/main/css/style.css"
click node_site_script "https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js"
click node_scroll_nav "https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js"
click node_video_modal "https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js"
click node_portfolio_filter "https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js"
click node_gallery "https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js"
click node_isotope "https://github.com/dharnish007/ambritha-sunil/blob/main/lib/isotope/isotope.pkgd.js"
click node_owl "https://github.com/dharnish007/ambritha-sunil/blob/main/lib/owlcarousel/owl.carousel.js"
click node_lightbox "https://github.com/dharnish007/ambritha-sunil/blob/main/lib/lightbox/js/lightbox.js"
click node_easing "https://github.com/dharnish007/ambritha-sunil/blob/main/lib/easing/easing.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_page,node_styles toneBlue
class node_site_script,node_scroll_nav,node_video_modal,node_portfolio_filter,node_gallery toneAmber
class node_isotope,node_owl,node_lightbox,node_easing toneMint
class node_visitor toneIndigo
```

## Components

### Website

- [Portfolio page](https://github.com/dharnish007/ambritha-sunil/blob/main/index.html): `index.html`
- [Site styles](https://github.com/dharnish007/ambritha-sunil/blob/main/css/style.css): `css/style.css`

### Page Interactions

- [Page interactions](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js): `js/main.js`
- [Scroll navigation](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js): `js/main.js`
- [Video modal](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js): `js/main.js`
- [Portfolio filtering](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js): `js/main.js`
- [Gallery carousel](https://github.com/dharnish007/ambritha-sunil/blob/main/js/main.js): `js/main.js`

### UI Plugins

- [Isotope layout](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/isotope/isotope.pkgd.js): `lib/isotope/isotope.pkgd.js`
- [Owl Carousel](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/owlcarousel/owl.carousel.js): `lib/owlcarousel/owl.carousel.js`
- [Lightbox viewer](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/lightbox/js/lightbox.js): `lib/lightbox/js/lightbox.js`
- [jQuery easing](https://github.com/dharnish007/ambritha-sunil/blob/main/lib/easing/easing.js): `lib/easing/easing.js`

### Other components

- **Site visitor**

## Connections

- Page interactions → Scroll navigation: handles scrolling (evidence: `js/main.js`)
- Page interactions → Video modal: sets video source (evidence: `js/main.js`)
- Page interactions → Portfolio filtering: handles filters (evidence: `js/main.js`)
- Page interactions → Isotope layout: initializes and filters (evidence: `js/main.js`)
- Page interactions → Gallery carousel: configures carousel (evidence: `js/main.js`)
- Page interactions → Owl Carousel: initializes carousel (evidence: `js/main.js`)
- Page interactions → jQuery easing: uses easing name (evidence: `js/main.js`)
