# rythrojaofficial/axis45 architecture

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

- Interactive diagram: https://gitdiagram.com/rythrojaofficial/axis45
- Repository: https://github.com/rythrojaofficial/axis45

## Overview

##### Project type and purpose
- This is a static‐website project (“axis45 – Home of Seattle Tricking”) composed of HTML, CSS, Markdown content and client‐side JavaScript. It serves marketing and informational pages (events, offerings, blog, forms, workouts) for a tricking facility.

##### File structure
- Top‐level HTML files (index.html, contact.html, faqs, memberships, etc.) deliver static pages.
- Folders like current-offerings/, events/, workouts/, mercenary-blog/ contain Markdown (.md) content.
- scripts/ holds client‐side JavaScript for parsing Markdown, building dynamic lists (news, offerings, workouts), form behavior, and UI interactions.
- styles.css and secret_pages/ supply styling and admin utilities.
- CNAME indicates static hosting (e.g., GitHub Pages or Netlify).

##### README
- Confirms site identity (axis45) and no server‐side code—content is generated or manipulated in the browser.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Static Host
    StaticHost["Static Host (GitHub Pages / Netlify)"]:::external

    %% Asset Store
    subgraph "Asset Store (Git Repo)"
        direction TB
        subgraph "HTML Templates" 
            direction TB
            idx["index.html"]:::asset
            contact["contact.html"]:::asset
            currentOffersPage["current-offerings.html"]:::asset
            discordPage["discord.html"]:::asset
            faq["faq.html"]:::asset
            memberships["memberships.html"]:::asset
            foundations["tricking-foundations.html"]:::asset
            workoutsPage["workouts.html"]:::asset
            waivers["waivers.html"]:::asset
        end
        subgraph "Markdown Content"
            direction TB
            currentOffersMD["current-offerings/*.md"]:::content
            eventsMD["events/**/*.md & events/**/*.html"]:::content
            workoutsMD["workouts/**/*.md"]:::content
            blogDrafts["mercenary-blog/drafts/*.md"]:::content
            blogPosts["mercenary-blog/mdfiles/*.md"]:::content
            discordMD["discord/discord.md"]:::content
        end
        subgraph "CSS (Presentation Layer)"
            direction TB
            styles["styles.css"]:::asset
            secretStyles["secret_pages/secretstyles.css"]:::asset
            testCSS["forms/css-sheets/test.css"]:::asset
        end
        subgraph "JavaScript Modules (Client-side Logic)"
            direction TB
            mdParse["scripts/markdown-parse.js"]:::logic
            mdState["scripts/md-state-instance.js"]:::logic
            getText["scripts/getText.js"]:::logic
            htmlHelper["scripts/htmlElement.js"]:::logic
            headLoader["scripts/headscript.js"]:::logic
            calcNext["scripts/news/calculateNextFoundation.js"]:::logic
            newNews["scripts/news/newNews.js"]:::logic
            newsCard["scripts/news/newsCard.js"]:::logic
            stipulations["scripts/news/update-news-stipulations.js"]:::logic
            updateNews["scripts/news/updateNews.js"]:::logic
            offeringsJS["scripts/current-offerings.js"]:::logic
            workoutsJS["scripts/workouts.js"]:::logic
            formsJS["scripts/forms.js"]:::logic
            showMore["scripts/showMore.js"]:::logic
            tapPopulate["scripts/tap-to-populate.js"]:::logic
            secretScripts["scripts/secretscripts.js"]:::logic
            adminCard["scripts/adminCard/*.js"]:::logic
        end
        subgraph "Forms & External Integration Pages"
            direction TB
            formsDir["forms/"]:::asset
        end
        subgraph "Admin / Secret Pages"
            direction TB
            adminHTML["secret_pages/*.html"]:::asset
            adminMD["secret_pages/adminMD/*.md"]:::content
            miscJS["secret_pages/misc.js"]:::logic
        end
        subgraph "Tests (Local QA)"
            direction TB
            mdTestPage["test/mdTest.html"]:::asset
            mdTestJS["test/mdTest.js"]:::logic
            showMoreTest["test/showmore.html"]:::asset
        end
    end

    %% Browser / Client
    Browser["Browser / Client"]:::client

    %% External Services
    subgraph "External Services"
        GoogleForms["Form Backends (Google Forms, Email)"]:::external
        DiscordInvite["Discord Invite Embed"]:::external
    end

    %% Connections
    Browser -->|requests HTML/CSS/JS| StaticHost
    StaticHost -->|serves| idx & contact & currentOffersPage & discordPage & faq & memberships & foundations & workoutsPage & waivers & styles & secretStyles & testCSS & mdParse & mdState & getText & htmlHelper & headLoader & calcNext & newNews & newsCard & stipulations & updateNews & offeringsJS & workoutsJS & formsJS & showMore & tapPopulate & secretScripts & adminCard & formsDir & adminHTML & adminMD & miscJS & mdTestPage & mdTestJS & showMoreTest

    Browser -->|loads JS modules| mdParse & mdState & getText
    mdParse & mdState & getText -->|fetch Markdown| currentOffersMD & eventsMD & workoutsMD & blogDrafts & blogPosts & discordMD
    Browser -->|executes parser modules| htmlHelper & headLoader
    calcNext & newNews & newsCard & stipulations & updateNews -->|render blog & news| Browser
    offeringsJS -->|render offerings| Browser
    workoutsJS -->|render workouts| Browser
    formsJS -->|manage forms| Browser
    showMore & tapPopulate -->|UI interactions| Browser
    secretScripts & adminCard -->|admin UI| Browser
    miscJS -->|admin utilities| Browser

    Browser -->|submits form data| GoogleForms
    Browser -->|loads Discord embed| DiscordInvite

    %% Click Events
    click idx "https://github.com/rythrojaofficial/axis45/blob/main/index.html"
    click contact "https://github.com/rythrojaofficial/axis45/blob/main/contact.html"
    click currentOffersPage "https://github.com/rythrojaofficial/axis45/blob/main/current-offerings.html"
    click discordPage "https://github.com/rythrojaofficial/axis45/blob/main/discord.html"
    click faq "https://github.com/rythrojaofficial/axis45/blob/main/faq.html"
    click memberships "https://github.com/rythrojaofficial/axis45/blob/main/memberships.html"
    click foundations "https://github.com/rythrojaofficial/axis45/blob/main/tricking-foundations.html"
    click workoutsPage "https://github.com/rythrojaofficial/axis45/blob/main/workouts.html"
    click waivers "https://github.com/rythrojaofficial/axis45/blob/main/waivers.html"
    click currentOffersMD "https://github.com/rythrojaofficial/axis45/blob/main/current-offerings/*.md"
    click eventsMD "https://github.com/rythrojaofficial/axis45/blob/main/events/**/*.md"
    click workoutsMD "https://github.com/rythrojaofficial/axis45/blob/main/workouts/**/*.md"
    click blogDrafts "https://github.com/rythrojaofficial/axis45/blob/main/mercenary-blog/drafts/*.md"
    click blogPosts "https://github.com/rythrojaofficial/axis45/blob/main/mercenary-blog/mdfiles/*.md"
    click discordMD "https://github.com/rythrojaofficial/axis45/blob/main/discord/discord.md"
    click styles "https://github.com/rythrojaofficial/axis45/blob/main/styles.css"
    click secretStyles "https://github.com/rythrojaofficial/axis45/blob/main/secret_pages/secretstyles.css"
    click testCSS "https://github.com/rythrojaofficial/axis45/blob/main/forms/css-sheets/test.css"
    click mdParse "https://github.com/rythrojaofficial/axis45/blob/main/scripts/markdown-parse.js"
    click mdState "https://github.com/rythrojaofficial/axis45/blob/main/scripts/md-state-instance.js"
    click getText "https://github.com/rythrojaofficial/axis45/blob/main/scripts/getText.js"
    click htmlHelper "https://github.com/rythrojaofficial/axis45/blob/main/scripts/htmlElement.js"
    click headLoader "https://github.com/rythrojaofficial/axis45/blob/main/scripts/headscript.js"
    click calcNext "https://github.com/rythrojaofficial/axis45/blob/main/scripts/news/calculateNextFoundation.js"
    click newNews "https://github.com/rythrojaofficial/axis45/blob/main/scripts/news/newNews.js"
    click newsCard "https://github.com/rythrojaofficial/axis45/blob/main/scripts/news/newsCard.js"
    click stipulations "https://github.com/rythrojaofficial/axis45/blob/main/scripts/news/update-news-stipulations.js"
    click updateNews "https://github.com/rythrojaofficial/axis45/blob/main/scripts/news/updateNews.js"
    click offeringsJS "https://github.com/rythrojaofficial/axis45/blob/main/scripts/current-offerings.js"
    click workoutsJS "https://github.com/rythrojaofficial/axis45/blob/main/scripts/workouts.js"
    click formsJS "https://github.com/rythrojaofficial/axis45/blob/main/scripts/forms.js"
    click showMore "https://github.com/rythrojaofficial/axis45/blob/main/scripts/showMore.js"
    click tapPopulate "https://github.com/rythrojaofficial/axis45/blob/main/scripts/tap-to-populate.js"
    click secretScripts "https://github.com/rythrojaofficial/axis45/blob/main/scripts/secretscripts.js"
    click adminCard "https://github.com/rythrojaofficial/axis45/tree/main/scripts/adminCard/"
    click formsDir "https://github.com/rythrojaofficial/axis45/tree/main/forms/"
    click adminHTML "https://github.com/rythrojaofficial/axis45/tree/main/secret_pages/"
    click adminMD "https://github.com/rythrojaofficial/axis45/blob/main/secret_pages/adminMD/*.md"
    click miscJS "https://github.com/rythrojaofficial/axis45/blob/main/secret_pages/misc.js"
    click mdTestPage "https://github.com/rythrojaofficial/axis45/blob/main/test/mdTest.html"
    click mdTestJS "https://github.com/rythrojaofficial/axis45/blob/main/test/mdTest.js"
    click showMoreTest "https://github.com/rythrojaofficial/axis45/blob/main/test/showmore.html"

    %% Styles
    classDef content fill:#E8F0FE,stroke:#4285F4,color:#1A73E8
    classDef asset fill:#FCE8E6,stroke:#DB4437,color:#A52714
    classDef logic fill:#E6F4EA,stroke:#0F9D58,color:#137333
    classDef client fill:#FFF4E5,stroke:#F4B400,color:#A57D00
    classDef external fill:#F3E5F5,stroke:#8E24AA,color:#6A1B9A
```
