Skip to content

feat(uttarpradesh): add standalone demo videos page - #699

Merged
likhithThammegowda merged 2 commits into
masterfrom
feature/help-videos-page
Jul 29, 2026
Merged

feat(uttarpradesh): add standalone demo videos page#699
likhithThammegowda merged 2 commits into
masterfrom
feature/help-videos-page

Conversation

@likhithThammegowda

Copy link
Copy Markdown
Contributor

What

Adds a new public page at /uttarpradesh/demo hosting the two eKshamata how-to videos.

Each card shows the YouTube thumbnail and title and opens the video on YouTube in a new tab.

Why

The page is meant to be shared directly with Uttar Pradesh health workers, so it carries only the Aastrika Foundation and Government of Uttar Pradesh logos as its header — the app header, footer and nav bars are all suppressed. Responsive from mobile up: two columns on desktop, single column below 960px.

Changes

File Change
src/app/routes/help-videos/* New standalone page component (TS/HTML/SCSS)
src/app/app-routing.module.ts New public route uttarpradesh/demo
src/app/app.module.ts Component declared
src/app/component/root/root.component.ts Suppress header/footer/nav for this route
src/app/constants/apiConstants.ts UP Gov logo S3 URL as S3_END_POINTS.UP_GOV_LOGO
RELEASE_NOTES/release-4.2.6.md Release notes

Note on page copy

This page's English and Hindi strings are seeded into the ngx-translate store by the component rather than kept in src/assets/i18n/*.json. The dev proxy serves /assets/** from the production host, so i18n additions never resolve locally, and in production they would not resolve until the i18n bundle ships. Seeding keeps the page correct in both, and the strings are re-seeded on language change because a completed i18n fetch replaces the store for that language.

Future copy edits for this page go in help-videos.component.ts.

Verification

  • yarn run build:local — passes
  • yarn test — 2508/2516 pass. The 8 failures are in mobile-dashboard.service.spec.ts and were confirmed to fail identically on a clean master, so they are pre-existing and unrelated to this change.
  • Reviewed on desktop and mobile widths.

Risk

Low — additive. One new route plus one new component; the only shared-code edit is the RootComponent route match, which leaves every other route's behaviour unchanged.

Adds a public /uttarpradesh/demo page listing the two eKshamata
how-to videos, which link out to YouTube.

The page renders its own Aastrika + Government of Uttar Pradesh logo
header and suppresses the app header, footer and nav bars; it is
responsive from mobile up (single column below 960px).

Page strings are seeded into the translate store at runtime rather
than kept only in assets/i18n, because the dev proxy serves /assets/**
from the production host, so local i18n additions never resolve. They
are re-seeded on language change since a completed i18n fetch replaces
the store for that language.
@likhithThammegowda
likhithThammegowda merged commit f059e5a into master Jul 29, 2026
1 check failed
@likhithThammegowda
likhithThammegowda deleted the feature/help-videos-page branch July 30, 2026 07:20
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.

3 participants