How pealbert/taekol works
Purpose and delivery model
Akademie Taekwon-do SKUP Olomouc is a mostly static public website for a martial-arts academy. Vite builds and serves the site; Cloudflare Workers configuration indicates edge deployment. Primary public entry points are index.html and standalone pages in pages/.
Paths: index.html, pages/about.html, vite.config.js, wrangler.jsonc
Page composition
Each page is independently authored HTML rather than being routed through an application framework. The landing page is the primary entry point; informational, class, equipment, registration, legal, and blog content are separate documents under pages/. pages/template.html likely defines the reusable page markup pattern.
Paths: index.html, pages/template.html, pages/classes.html
Client-side behavior
Browser behavior is split into focused JavaScript modules: main-site initialization, responsive burger navigation, class-page interactions, footer behavior, smooth scrolling, and forms. TypeScript has a separate application entry that imports/uses location-oriented data, while existing JavaScript supports page-specific enhancements.
Paths: src/js/main.js, src/js/burger.js, src/js/form.js, src/ts/main.ts, src/ts/locations.ts
Registration and form boundary
Registration is exposed as a dedicated static page, with shared form styling and client logic. The available tree does not identify a backend API or form provider, so form submission handling should be treated as a browser/edge integration boundary rather than an in-repository server implementation.
Paths: pages/registration.html, src/js/form.js, src/css/form.css
Presentation assets
Styling is organized by global/base styles plus structural and page-specific stylesheets. Static visual assets, including local fonts, academy/team imagery, and testimonials, are bundled from src/assets; Vite resolves and emits them for deployment.
Paths: src/css/main.css, src/css/header.css, src/css/classes.css, src/assets/fonts, src/assets/images
Edge runtime and static hosting
src/worker.js is the repository’s server-side/edge entry point, with Cloudflare Worker types and Wrangler configuration defining its runtime boundary. The worker likely fronts static content and can implement request-time behavior; its exact routing behavior requires inspecting the source.
Paths: src/worker.js, worker-configuration.d.ts, wrangler.jsonc
Public operational and discovery surface
The public/ directory contains deployment-ready files copied directly into the built site: crawler controls, sitemap, security contact policy, web manifest, response headers, and structured-data schemas. These form the SEO, PWA, and hosting-header boundary independently of client code.
Paths: public/_headers, public/sitemap.xml, public/robots.txt, public/schemas/schema-combined.json
Main entry points: index.html Landing page · worker.js Cloudflare Worker · vite.config.js Vite build · registration.html Registration page
Components 20
Static pages
Independently authored public HTML documents.
- Landing page · Primary public entry point.
index.html - Page template · Reusable markup pattern for standalone pages.
pages/template.html - Classes page
pages/classes.html - Registration page · Dedicated registration form surface.
pages/registration.html
Browser behavior
- Site initialization
src/js/main.js - Burger navigation · Responsive navigation behavior.
src/js/burger.js - Form behavior · Browser-side submission integration boundary.
src/js/form.js - TypeScript entry
src/ts/main.ts - Location data
src/ts/locations.ts
Presentation assets
- Global styles · Base and shared site styling.
src/css/main.css - Header styles
src/css/header.css - Classes styles
src/css/classes.css - Form styles
src/css/form.css - Images and fonts · Academy imagery, testimonials, and local fonts.
src/assets/images
Build and edge delivery
- Vite build · Builds and serves the static site.
vite.config.js - Cloudflare Worker · Request-time and static-content delivery boundary.
src/worker.js - Wrangler config
wrangler.jsonc
Public operational files
- Response headers
public/_headers - SEO discovery · Sitemap and crawler controls.
public/sitemap.xml - Structured data
public/schemas/schema-combined.json
Connections 20
- Page template → Classes page: markup pattern
- Page template → Registration page: markup pattern
- Landing page → Site initialization: initializes
- Landing page → Burger navigation: responsive nav
- Landing page → TypeScript entry: loads
- Classes page → Classes styles: styled by
- Registration page → Form behavior: form handling
- Registration page → Form styles: styled by
- TypeScript entry → Location data: uses
- Site initialization → Global styles: site presentation
- Burger navigation → Header styles: controls
- Global styles → Images and fonts: references
- Vite build → Landing page: builds
- Vite build → Page template: builds
- Vite build → Cloudflare Worker: deploys with
- Wrangler config → Cloudflare Worker: configures
- Cloudflare Worker → Landing page: serves
- Response headers → Cloudflare Worker: delivery policy
- SEO discovery → Landing page: indexes
- Structured data → Landing page: describes