# dayn131/animetk architecture

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

- Interactive diagram: https://gitdiagram.com/dayn131/animetk
- Repository: https://github.com/dayn131/animetk

## Overview

AnimeTk is a small static anime-themed website, with pages for genres, platforms, recommendations, and site information, plus a Patreon-related signup flow. The shown JavaScript builds hover submenus, handles a Patreon-page click, validates signup fields, and provides a pushbar controller. HTML and CSS contents were not sampled, so page navigation and the hookup between pages and scripts are left unverified where applicable.

Main entry points: [`patreon.html`](https://github.com/dayn131/animetk/blob/main/patreon.html) (Patreon page), [`js/Submenus.js`](https://github.com/dayn131/animetk/blob/main/js/Submenus.js) (Submenu behavior), [`index.html`](https://github.com/dayn131/animetk/blob/main/index.html) (Home), [`Generos.html`](https://github.com/dayn131/animetk/blob/main/Generos.html) (Genres)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Visitor"))
node_home["Home<br/>[index.html]"]
node_genres["Genres<br/>[Generos.html]"]
node_platforms["Platforms<br/>[Plataformas.html]"]
node_recommendations["Recommendations"]
node_about["About<br/>[About.html]"]
node_patreon["Patreon page<br/>[patreon.html]"]
node_submenus["Submenu behavior<br/>[Submenus.js]"]
node_signup["Signup validation<br/>[funciones.js]"]
node_pushbar["Pushbar controller<br/>[pushbar.js]"]

node_visitor -.->|"opens"| node_home
node_visitor -.->|"browses"| node_genres
node_visitor -.->|"browses"| node_platforms
node_visitor -.->|"browses"| node_recommendations
node_visitor -.->|"browses"| node_about
node_visitor -.->|"opens"| node_patreon
node_submenus -->|"navigates to"| node_patreon
node_visitor -.->|"submits fields"| node_signup

click node_home "https://github.com/dayn131/animetk/blob/main/index.html"
click node_genres "https://github.com/dayn131/animetk/blob/main/Generos.html"
click node_platforms "https://github.com/dayn131/animetk/blob/main/Plataformas.html"
click node_recommendations "https://github.com/dayn131/animetk/blob/main/Recomendaciones.html"
click node_about "https://github.com/dayn131/animetk/blob/main/About.html"
click node_patreon "https://github.com/dayn131/animetk/blob/main/patreon.html"
click node_submenus "https://github.com/dayn131/animetk/blob/main/js/Submenus.js"
click node_signup "https://github.com/dayn131/animetk/blob/main/js/funciones.js"
click node_pushbar "https://github.com/dayn131/animetk/blob/main/js/pushbar.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_visitor toneIndigo
class node_home,node_genres,node_platforms,node_recommendations,node_about,node_patreon,node_submenus,node_signup,node_pushbar toneTeal
```

## Components

### Other components

- **Visitor**
- [Home](https://github.com/dayn131/animetk/blob/main/index.html): `index.html`
- [Genres](https://github.com/dayn131/animetk/blob/main/Generos.html): `Generos.html`
- [Platforms](https://github.com/dayn131/animetk/blob/main/Plataformas.html): `Plataformas.html`
- [Recommendations](https://github.com/dayn131/animetk/blob/main/Recomendaciones.html): `Recomendaciones.html`
- [About](https://github.com/dayn131/animetk/blob/main/About.html): `About.html`
- [Patreon page](https://github.com/dayn131/animetk/blob/main/patreon.html): `patreon.html`
- [Submenu behavior](https://github.com/dayn131/animetk/blob/main/js/Submenus.js): `js/Submenus.js`
- [Signup validation](https://github.com/dayn131/animetk/blob/main/js/funciones.js): `js/funciones.js`
- [Pushbar controller](https://github.com/dayn131/animetk/blob/main/js/pushbar.js): `js/pushbar.js`

## Connections

- Visitor → Home: opens
- Visitor → Genres: browses
- Visitor → Platforms: browses
- Visitor → Recommendations: browses
- Visitor → About: browses
- Visitor → Patreon page: opens
- Submenu behavior → Patreon page: navigates to (evidence: `js/Submenus.js`)
- Visitor → Signup validation: submits fields
