- Seed: home hero -> landing 'hero' slot (full-bleed) and cta -> 'cta' slot; reconcile_blocks on home + harbour-light so demo re-install rewrites them. - Hero: remove noir-spotlight from the image wrapper and the landing hero-slot wrapper — its radial vignette fades the photo to --background (cream in light mode) exactly where the onImg white text sits. Image + black scrim now carry legibility in both modes. - Image override: figure is column-flex so the typed caption sits under the evidence frame (was landing beside it); frames render grayscale to match the dossier persona. - Harbour Light article extended to 9 paragraphs (case-file voice) per the seed length gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
<!doctype html>
|
|
<html lang="en" class="{% if theme_mode == "dark" %}dark{% endif %}">
|
|
{{ head_html|safe }}
|
|
<body class="bg-background text-foreground antialiased min-h-screen flex flex-col noir-body">
|
|
{{ admin_banner_html|safe }}
|
|
<section class="w-full relative noir-grain">{{ slots.hero|safe }}</section>
|
|
<main class="flex-grow">
|
|
{% if slots.main %}<div class="max-w-3xl mx-auto w-full px-4 py-10 noir-reveal">{{ slots.main|safe }}</div>{% endif %}
|
|
</main>
|
|
<section class="w-full">{{ slots.cta|safe }}</section>
|
|
<footer class="w-full mt-auto noir-rule">
|
|
<div class="max-w-5xl mx-auto px-4">{{ slots.footer|safe }}</div>
|
|
</footer>
|
|
{{ body_end_html|safe }}
|
|
<script>
|
|
(function(){
|
|
if(window.__noirReveal)return;window.__noirReveal=1;
|
|
document.documentElement.classList.add('noir-js');
|
|
var reduce=window.matchMedia&&window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
var els=document.querySelectorAll('.noir-reveal');
|
|
if(reduce||!('IntersectionObserver' in window)){els.forEach(function(el){el.classList.add('noir-in');});return;}
|
|
var io=new IntersectionObserver(function(entries){entries.forEach(function(e){if(e.isIntersecting){e.target.classList.add('noir-in');io.unobserve(e.target);}});},{threshold:0,rootMargin:'0px 0px -8% 0px'});
|
|
function showAll(){els.forEach(function(el){el.classList.add('noir-in');});}
|
|
els.forEach(function(el){var r=el.getBoundingClientRect();var h=window.innerHeight||document.documentElement.clientHeight||0;if(!h||(r.top<h*0.95&&r.bottom>0)){el.classList.add('noir-in');}else{io.observe(el);}});
|
|
window.addEventListener('load',showAll);
|
|
setTimeout(showAll,450);
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|