Skip to content

feat: subpage template consistency (S3)#12

Merged
enricopiovesan merged 2 commits into
mainfrom
feat/subpage-templates
Jul 8, 2026
Merged

feat: subpage template consistency (S3)#12
enricopiovesan merged 2 commits into
mainfrom
feat/subpage-templates

Conversation

@enricopiovesan

Copy link
Copy Markdown
Collaborator

Summary

  • Page-specific <style> blocks now injected as <style is:global slot="head"> so Astro CSS scoping doesn't break set:html content
  • Old inline breadcrumb HTML stripped from body via regex to prevent duplication with the SubpageLayout <Breadcrumb> component
  • SubpageLayout simplified to only provide padding-top: var(--nav-h) wrapper, no extra container (pages already have their own .container divs)

Test plan

  • Verify fintech page shows single breadcrumb "Home / Solutions"
  • Verify page-hero styles (h1, section-label, badges) render correctly
  • Spot-check docs, compare, blog pages for consistent layout

🤖 Generated with Claude Code

enricopiovesan and others added 2 commits July 7, 2026 18:50
- Gradient ellipses moved from 115% to 100% y-position so colors show in viewport
- Overlay reduced from solid black to semi-transparent fade (text stays readable)
- ::before pseudo-element adds 680px blurred SVG logo behind hero text (same technique
  Lovable uses with their hat logo) — creates warm orange/purple focal point
- Hero background updated to match site indigo token #0c0817

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Inline styles extracted from legacy HTML are now injected as
<style is:global slot="head"> so Astro's CSS scoping doesn't break
set:html content. Old inline breadcrumbs stripped from body to avoid
duplication with SubpageLayout's Breadcrumb component. SubpageLayout
simplified to only provide nav-height padding without extra container.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@enricopiovesan enricopiovesan merged commit 245c48b into main Jul 8, 2026
2 checks passed
@enricopiovesan enricopiovesan deleted the feat/subpage-templates branch July 8, 2026 05:31
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