themes-cyberpunk/templates/overrides/cyberpunk/page-suggestions.ninjatpl
Alex Dunmow 644a8083f7 fix(cyberpunk): rain first-paint density, seed depth, HUD bracket inset, sized icon SVGs
- hero rain canvas: seed drops across full height so the digital-rain reads
  dense from the first painted frame (was starting all drops above the
  viewport -> near-blank within a short capture settle).
- seed: expand the About story + give the pull-quote a real attribution
  (was the two-word 'The studio' stub); expand all three devlog articles,
  making-it-rain to ~10 paragraphs, so no article strands a void above the
  footer.
- manifest CSS: inset the HUD corner brackets 5px so they clear rounded /
  overflow-hidden panels (fixes the clipped cyan tick on the code_neon block).
- SVG geometry guard: explicit width/height on all 37 icon <use>/inline SVGs
  (px = tailwind unit x4) so a purged utility can't balloon them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 16:10:38 +08:00

14 lines
1.8 KiB
Plaintext

{# page-suggestions cyberpunk override — themed 404. NOTE: the builtin builds its "did you mean" list from a Postgres full-text query (SearchSimilarPages), which a codeless template cannot run — so this override renders the on-theme 404 console (title / message / requested path / home CTA) without the dynamic suggestion list. Recorded as a known deviation in WO-TF-015. Content fields honored: title, emptyMessage. #}
<section class="relative overflow-hidden bg-background text-foreground py-20 md:py-28{% if class %} {{ class }}{% endif %}">
<div aria-hidden="true" class="scanlines pointer-events-none absolute inset-0"></div>
<div class="relative z-10 mx-auto max-w-2xl px-4 text-center">
<p class="cyberpunk-mono text-sm font-semibold uppercase tracking-[0.3em] text-accent">Error 404 <span aria-hidden="true" class="caret-blink">_</span></p>
<h1 class="cyberpunk-display glitch mt-3 text-4xl font-bold tracking-tight md:text-5xl" data-text="{{ title|default:'Signal lost' }}">{{ title|default:"Signal lost" }}</h1>
<p class="mt-4 text-lg text-muted-foreground">{{ emptyMessage|default:"That route returned nothing. The page moved, shipped, or never existed." }}</p>
{% if context.path %}<p class="cyberpunk-mono mt-3 text-sm text-muted-foreground">requested: <span class="text-primary">{{ context.path }}</span></p>{% endif %}
<div class="mt-8 flex flex-wrap items-center justify-center gap-3">
<a href="/" class="cyberpunk-mono clip-cut rgb-split inline-flex items-center gap-2 rounded-md bg-primary px-6 py-3 font-semibold uppercase tracking-wider text-primary-foreground transition-opacity hover:opacity-90"><svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg>Back to home</a>
</div>
</div>
</section>