sproutsite 0.5.24 → 0.5.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +11 -6
  2. package/THIRD_PARTY_NOTICES.md +3 -3
  3. package/VERSION +1 -1
  4. package/package.json +1 -1
  5. package/src/lib/sproutsite/branding.ts +7 -45
  6. package/src/lib/sproutsite/hero-background.ts +61 -0
  7. package/src/lib/sproutsite/public-assets.ts +33 -0
  8. package/src/lib/sproutsite/remark-links.ts +4 -3
  9. package/src/lib/sproutsite/site-config.ts +209 -38
  10. package/src/lib/sproutsite/sitemap.ts +2 -2
  11. package/src/lib/sproutsite/types.ts +5 -9
  12. package/src/lib/sproutsite/urls.ts +3 -3
  13. package/src/lib/sproutsite/validation.ts +4 -1
  14. package/src/package/config.ts +17 -9
  15. package/src/package/content.ts +25 -1
  16. package/src/package/manifest.ts +1 -1
  17. package/src/package/page.astro +6 -3
  18. package/src/package/starter-assets/README.md +6 -3
  19. package/src/themes/default/components/atoms/HeroBackground/HeroBackground.astro +52 -0
  20. package/src/themes/default/components/atoms/HeroBackground/HeroBackground.css +23 -0
  21. package/src/themes/default/components/molecules/LanguageSwitcher/LanguageSwitcher.astro +8 -5
  22. package/src/themes/default/components/organisms/BlogIndex/BlogIndex.astro +16 -13
  23. package/src/themes/default/components/organisms/BlogPost/BlogPost.astro +1 -1
  24. package/src/themes/default/components/organisms/Footer/Footer.astro +1 -1
  25. package/src/themes/default/components/organisms/Header/Header.astro +2 -2
  26. package/src/themes/default/components/organisms/Hero/Hero.astro +12 -13
  27. package/src/themes/default/components/organisms/Hero/Hero.css +7 -18
  28. package/src/themes/default/components/organisms/PageTitle/PageTitle.astro +19 -0
  29. package/src/themes/default/layouts/ErrorPage/ErrorPage.astro +7 -6
  30. package/src/themes/default/layouts/PageLayout/PageLayout.astro +3 -3
  31. package/src/themes/default/styles/theme.css +1 -0
  32. package/src/themes/default/assets/hero-waves.svg +0 -41
@@ -1,41 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1600" height="640" viewBox="0 0 1600 640" fill="none" aria-hidden="true">
2
- <defs>
3
- <linearGradient id="back-wave" x1="740" y1="580" x2="1540" y2="130" gradientUnits="userSpaceOnUse">
4
- <stop stop-color="#0B294A" stop-opacity="0"/>
5
- <stop offset="0.38" stop-color="#10476B" stop-opacity="0.50"/>
6
- <stop offset="0.78" stop-color="#0B6075" stop-opacity="0.76"/>
7
- <stop offset="1" stop-color="#087B78" stop-opacity="0.88"/>
8
- </linearGradient>
9
- <linearGradient id="crest-base" x1="1030" y1="390" x2="1550" y2="-20" gradientUnits="userSpaceOnUse">
10
- <stop stop-color="#0D2B50" stop-opacity="0.10"/>
11
- <stop offset="0.35" stop-color="#125B86" stop-opacity="0.62"/>
12
- <stop offset="0.7" stop-color="#078481" stop-opacity="0.90"/>
13
- <stop offset="1" stop-color="#159A70" stop-opacity="0.92"/>
14
- </linearGradient>
15
- <radialGradient id="crest-green" cx="0" cy="0" r="1" gradientTransform="translate(1510 20) rotate(155) scale(350 225)" gradientUnits="userSpaceOnUse">
16
- <stop stop-color="#73DF48" stop-opacity="0.92"/>
17
- <stop offset="0.24" stop-color="#40BF61" stop-opacity="0.72"/>
18
- <stop offset="0.58" stop-color="#159C78" stop-opacity="0.24"/>
19
- <stop offset="1" stop-color="#159C78" stop-opacity="0"/>
20
- </radialGradient>
21
- <linearGradient id="middle-wave" x1="900" y1="450" x2="1540" y2="630" gradientUnits="userSpaceOnUse">
22
- <stop stop-color="#0D3458" stop-opacity="0.12"/>
23
- <stop offset="0.48" stop-color="#15567B" stop-opacity="0.75"/>
24
- <stop offset="1" stop-color="#0B365C" stop-opacity="0.84"/>
25
- </linearGradient>
26
- <linearGradient id="front-wave" x1="1040" y1="565" x2="1530" y2="680" gradientUnits="userSpaceOnUse">
27
- <stop stop-color="#0B2B4E" stop-opacity="0.18"/>
28
- <stop offset="0.5" stop-color="#10446C" stop-opacity="0.75"/>
29
- <stop offset="1" stop-color="#092947" stop-opacity="0.88"/>
30
- </linearGradient>
31
- <path id="crest-shape" d="M 820 690 C 970 620 1072 504 1166 378 C 1260 252 1334 115 1478 22 C 1544 -20 1611 -36 1680 -40 L 1680 700 Z"/>
32
- </defs>
33
- <!-- The SVG is transparent so the hero's existing navy background remains visible. -->
34
- <path d="M 620 700 C 794 558 898 442 1086 390 C 1272 338 1456 395 1680 265 L 1680 700 Z" fill="url(#back-wave)"/>
35
- <!-- Organic upper crest with a localized green highlight, not a green wall. -->
36
- <use href="#crest-shape" fill="url(#crest-base)"/>
37
- <use href="#crest-shape" fill="url(#crest-green)"/>
38
- <!-- Low, flowing blue folds. Their curved edges stay inside the visible canvas. -->
39
- <path d="M 670 700 C 832 621 956 543 1106 532 C 1242 522 1322 579 1458 524 C 1548 488 1618 477 1680 496 L 1680 700 Z" fill="url(#middle-wave)"/>
40
- <path d="M 880 700 C 1050 653 1168 617 1304 628 C 1440 639 1544 568 1680 596 L 1680 700 Z" fill="url(#front-wave)"/>
41
- </svg>