Describe the bug
src/lib/home.js carries 2 inline <style> blocks (~80 + ~28 line) even though both pages already link /assets/cdn.css (design tokens live there) → duplicated CSS, heavier HTML response.
Reproduction
- Check
<style> in homePage & errorPage
- Compare with
public/assets/cdn.css → same styles already defined
Expected behavior
All styles moved to cdn.css (scope with body.home / body.error since body rules collide); home.js markup only. Bonus a11y: error page has no <h1>.
Environment
- OS: Arch Linux
- Browser: all
- Version: -
Additional context
- Priority: medium
- Impact: minimal, removes redundancy
Describe the bug
src/lib/home.jscarries 2 inline<style>blocks (~80 + ~28 line) even though both pages already link/assets/cdn.css(design tokens live there) → duplicated CSS, heavier HTML response.Reproduction
<style>inhomePage&errorPagepublic/assets/cdn.css→ same styles already definedExpected behavior
All styles moved to
cdn.css(scope withbody.home/body.errorsincebodyrules collide);home.jsmarkup only. Bonus a11y: error page has no<h1>.Environment
Additional context