fix(seo): comprehensive SEO improvements per expert audit
CI Pipeline / backend-test (pull_request) Successful in 4m20s
CI Pipeline / frontend-test (pull_request) Successful in 27s
CI Pipeline / frontend-build (pull_request) Failing after 29s
CI Pipeline / backend-lint (pull_request) Successful in 8s
CI Pipeline / quality-gate (push) Successful in 2s
CI Pipeline / backend-test (push) Successful in 4m22s
CI Pipeline / frontend-test (push) Successful in 26s
CI Pipeline / frontend-build (push) Failing after 28s
CI Pipeline / backend-lint (push) Successful in 8s
CI Pipeline / quality-gate (pull_request) Successful in 1s

- Add public/robots.txt (allow all, disallow /admin and /login, reference sitemap)
- Add public/sitemap.xml (5 public routes with change frequencies and priorities)
- Fix heading hierarchy: h2 -> h1 on about, schedule, events, contact pages
- Remove dead footer href="#" links:
  - Volunteer/Corporate Giving/Planned Giving -> routerLink to /contact with subject query param
  - Social media links -> conditional on config().social_* fields (hidden when empty)
- Fix logo ARIA: add aria-hidden="true" to decorative logo in about page divider
- Add social_facebook, social_twitter, social_instagram, social_youtube to:
  - StationConfig DB model + startup migration
  - StationConfigResponse and StationConfigUpdate schemas
  - Frontend StationConfig TypeScript interface
- Fix events "Learn More" dead link -> routerLink to /contact
This commit is contained in:
Hermes Agent committed 2026-08-04 10:19:24 +00:00
1 parent 65af2824a9
commit bea1c97e88
28 files changed
+83 -14

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5
View File
@@ -78,6 +78,11 @@ def _migrate_add_missing_columns(sync_conn):
("station_config", "color_black", sa.String(7), "#1a1816"),
# Multi-admin support: password_hash (nullable — existing rows stay NULL)
("users", "password_hash", sa.String(255), None),
# Social media columns
("station_config", "social_facebook", sa.String(500), ""),
("station_config", "social_twitter", sa.String(500), ""),
("station_config", "social_instagram", sa.String(500), ""),
("station_config", "social_youtube", sa.String(500), ""),
]
# Determine dialect
+6
View File
@@ -97,6 +97,12 @@ class StationConfig(Base):
# Donation
donation_url = Column(String(500), nullable=False, default="")
# Social media
social_facebook = Column(String(500), nullable=False, default="")
social_twitter = Column(String(500), nullable=False, default="")
social_instagram = Column(String(500), nullable=False, default="")
social_youtube = Column(String(500), nullable=False, default="")
# Stream
stream_url = Column(String(500), nullable=False, default="")
stream_metadata_url = Column(String(500), nullable=False, default="")
+10
View File
@@ -78,6 +78,11 @@ class StationConfigResponse(BaseModel):
play_store_icon_url: str
play_store_url: str
app_store_embed_html: str
# Social media
social_facebook: str
social_twitter: str
social_instagram: str
social_youtube: str
# Page content
hero_subtitle: str
about_intro: str
@@ -129,6 +134,11 @@ class StationConfigUpdate(BaseModel):
play_store_icon_url: Optional[str] = None
play_store_url: Optional[str] = None
app_store_embed_html: Optional[str] = None
# Social media
social_facebook: Optional[str] = None
social_twitter: Optional[str] = None
social_instagram: Optional[str] = None
social_youtube: Optional[str] = None
# Page content
hero_subtitle: Optional[str] = None
about_intro: Optional[str] = None