feat(uttarpradesh): add standalone demo videos page - #699
Merged
Conversation
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.
vpPavithra
approved these changes
Jul 29, 2026
Santhoshshivaprakash
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new public page at
/uttarpradesh/demohosting 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
src/app/routes/help-videos/*src/app/app-routing.module.tsuttarpradesh/demosrc/app/app.module.tssrc/app/component/root/root.component.tssrc/app/constants/apiConstants.tsS3_END_POINTS.UP_GOV_LOGORELEASE_NOTES/release-4.2.6.mdNote 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— passesyarn test— 2508/2516 pass. The 8 failures are inmobile-dashboard.service.spec.tsand were confirmed to fail identically on a cleanmaster, so they are pre-existing and unrelated to this change.Risk
Low — additive. One new route plus one new component; the only shared-code edit is the
RootComponentroute match, which leaves every other route's behaviour unchanged.