Skip to content

Add Route Library Halloween template (route-library-halloween) - #45

Merged
deividasma merged 2 commits into
mainfrom
hex/f98f9d7d-f306-4396-8602-407449d11944
Oct 19, 2026
Merged

deividasma merged 2 commits into
mainfrom
hex/f98f9d7d-f306-4396-8602-407449d11944

Conversation

@hex-botas

@hex-botas hex-botas Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds Route Library Halloween (templates/route-library-halloween/), a Halloween-themed variant of the existing Node.js template Route Library (Express 5 + EJS, TypeScript). The app behaviour is unchanged: server-rendered distance/climb filters with shareable URLs, per-route SVG elevation profiles, GPX downloads, FAQ JSON-LD and a 404 page. The theme, copy and demo content are new.

Existing templates are untouched. templates/route-library/ has no changes.

What's in the new template

  • Palette & styling (public/styles/main.css, tokens in :root)
    • Near-black background (#0b0a10) with a deep orange accent (#ff7a1a) and purple accents (#9d4edd / #c9a2ff).
    • The topographic background pattern is now purple.
    • Display headings use IM Fell English and body text uses Karla.
    • Masthead: a pure-CSS harvest moon (.masthead::before) with purple and orange glows. No new image assets.
    • Club photo: the existing photo gets a dusky purple-to-orange tint in CSS.
    • Difficulty badges, chips, buttons and the footer are re-coloured for the dark theme.
  • Copy & content (src/data/site.json, src/data/routes.json, views)
    • The fictional club is now Hollowfell Night Harriers, a night running club with a "night route book".
    • Club nights build up to an All Hallows' Run on 31 October.
    • FAQs cover headtorches and fancy dress.
    • The 404 page reads "That route has vanished into the mist".
    • Routes are renamed (Will-o'-the-Wisp Loop, Lantern Terrace Circuit, Witching Hour Wansfell, Headless Horseshoe, All Hallows' Long Round) with matching slugs and GPX files. Distances, climbs and profiles are unchanged, so data, profile and GPX still agree.
  • Branding: a crescent-moon-over-hill brand mark (partials/top.ejs) and favicon, plus a dark theme-color.
  • Misc
    • package.json name, description and keywords are updated.
    • Adds .env.example (PORT=4361), which the README already references.
    • The README follows skills/create-repository/README_TEMPLATE.md, including a Personalizing section that shows where the theme lives.
  • Preview images (preview/)
    • 1440×900 thumbnail and a 1440×3198 full-page homepage capture.
    • 480 and 960 WebP thumbnail variants (WebP q82, effort 6).

Catalog

  • templates.json: new route-library-halloween entry (additions only), modelled on route-library's entry.
    • Categories: Fitness, Event.
    • Deploy: entryFile: dist/server.js.
    • Node 22+.
    • Media dimensions match the committed images.
  • TEMPLATES.md: new row; count goes from 50 to 51.

Verification

  • In the template directory: npm install, npm run lint, npm run build and npm audit --audit-level=high --omit=dev all pass with 0 vulnerabilities.
  • Checked in a browser: home, route page and 404 at 1440×900, plus 390×844 and 320 px widths. There is no horizontal overflow at any width.
  • No symlinks.
  • Source review: no new unescaped output, scripts or secrets.

⚠️ Note on merge

Merging triggers the Deploy template demos workflow, which publishes a public demo at https://route-library-halloween.hostingertemplates.com.

Please do not merge until the team is happy with the theme and copy.


Generated by DEX CODE
Triggered by deividas.maciulskis@hostinger.com

Halloween-themed variant of route-library (Express 5 + EJS): dark palette with
deep orange and purple accents, harvest-moon masthead, night-running copy and
renamed routes/GPX files. Registers it in templates.json and TEMPLATES.md (51).

Co-authored-by: Deividas Maciulskis <deividas.maciulskis@hostinger.com>
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Template preview

Built each changed template, opened npm run preview, requested /, then compared Playwright screenshots to the committed catalog images (preview/<id>-thumbnail.png at 1440×900 and preview/<id>-homepage.png full page).

Template Install Lint Build Audit Health Thumbnail diff Homepage diff
route-library-halloween ✅ ✅ ✅ ✅ ✅ 1.1% ✅ 1.3% ✅

route-library-halloween

Expected thumbnail Actual Diff
expected actual diff

Download screenshots and diffs from this run’s visual-<template> artifacts.

This check fails if install, lint, build, / health, or screenshot diff over the limit fails, or if the PR introduces a high/critical advisory in production dependencies that the base commit did not have (npm audit --omit=dev, head vs base). Pre-existing advisories are listed for information and belong to dependency-update PRs. Limits default to 25% (thumbnail) and 30% (homepage) to absorb Mac-vs-Linux font rasterization.

README_TEMPLATE.md has no License section; LICENSE and package.json
already state the terms.
@deividasma
deividasma marked this pull request as ready for review October 19, 2026 06:26
@deividasma
deividasma merged commit e646e90 into main Oct 19, 2026
5 checks passed
@deividasma
deividasma deleted the hex/f98f9d7d-f306-4396-8602-407449d11944 branch October 19, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant