feat: add Open Graph image generation and SEO metadata

- Introduced `PageSeo` component for managing page metadata for social sharing.
- Created Open Graph image templates using SVG and static fonts for better visual representation.
- Implemented service alert management with functions to check active alerts and format route numbers.
- Added utility functions for generating and watching alert validity.
- Developed a script to generate Open Graph images dynamically based on page content.
- Included tests for service alert functionalities to ensure correctness and reliability.
This commit is contained in:
2026-10-05 13:02:06 +03:00
parent 6460846134
commit 142ec97959
35 changed files with 8226 additions and 4690 deletions

View File

@@ -0,0 +1,8 @@
# Fonts for Open Graph images
These static TrueType fonts are derived from the variable fonts in the Google Fonts repository. Both families cover Latin and Cyrillic characters and use the SIL Open Font License 1.1; their license texts are included here.
- [Manrope source](https://github.com/google/fonts/tree/main/ofl/manrope): instances at weights 600 (SemiBold) and 800 (ExtraBold).
- [Caveat source](https://github.com/google/fonts/tree/main/ofl/caveat): instance at weight 700 (Bold).
Static instances were prepared with FontTools `varLib.instancer`. FontTools is only needed when replacing the font files, not to run or build the site.