Skip to content

Commit

Permalink
add banner to static entry pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowboardTechie committed Nov 5, 2024
1 parent 658a16e commit 1c653f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/applications/static-pages/static-pages-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import createPost911GiBillStatusWidget, {
post911GIBillStatusReducer,
} from '../post-911-gib-status/createPost911GiBillStatusWidget';
import createResourcesAndSupportSearchWidget from './widget-creators/resources-and-support-search';
import createSituationUpdatesBanner from './situation-updates-banner/createSituationUpdatesBanner';
import createThirdPartyApps, {

Check warning on line 67 in src/applications/static-pages/static-pages-entry.js

View workflow job for this annotation

GitHub Actions / Linting (Files Changed)

src/applications/static-pages/static-pages-entry.js:67:1:No cross app imports allowed: static-pages importing from third-party-app-directory
thirdPartyAppsReducer,
} from '../third-party-app-directory/createThirdPartyApps';
Expand Down Expand Up @@ -166,7 +167,6 @@ createNearByVALocations(store);
createFacilityListWidget();
createOtherFacilityListWidget();
createFacilityPage(store);
// TODO
createFacilityMapSatelliteMainOffice(store);
createFacilityPageSatelliteLocations(store);
createBasicFacilityListWidget();
Expand Down Expand Up @@ -200,6 +200,7 @@ createScheduleViewVAAppointmentsPage(
widgetTypes.SCHEDULE_VIEW_VA_APPOINTMENTS_PAGE,
);
createSecureMessagingPage(store, widgetTypes.SECURE_MESSAGING_PAGE);
createSituationUpdatesBanner(store);
createViewTestAndLabResultsPage(
store,
widgetTypes.VIEW_TEST_AND_LAB_RESULTS_PAGE,
Expand Down
1 change: 1 addition & 0 deletions src/platform/site-wide/banners/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React from 'react';
// Relative imports.
import widgetTypes from 'applications/static-pages/widgetTypes';
import startReactApp from '../../startup/react';

// Are you looking for where this is used?
// Search for `data-widget-type="banner"` and `data-widget-type="maintenance-banner"` to find all the places this React widget is used.
export default async () => {
Expand Down

0 comments on commit 1c653f5

Please sign in to comment.