Skip to content

Commit

Permalink
QOLOE-356 correct svg icon on whole page
Browse files Browse the repository at this point in the history
  • Loading branch information
duttonw committed Jul 11, 2024
1 parent 2c6a567 commit 83af4d8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
8 changes: 6 additions & 2 deletions src/components/bs5/fullPageWrapper/fullPage.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ import footerData from "../footer/footer.data.json";
const defaultData = {
cdn: ".", //for StoryBook it's ., for normal usage "PROD"
title: "title goes here",
"icon-root": masterbrand_variant["icon-root"],
icons: masterbrand_variant.icons,
description: "my description",
uri: "http://localhost/uri/here",
dcTerms: dcTerms,
seo: metaOpenGraphData.seo,
og: metaOpenGraphData.og,
header: masterbrand_variant,
search: searchData,
header: {
...masterbrand_variant,
searchData: searchData
},
navbar: menu_state,
breadcrumbs: breadcrumbsData.forGov,
globalAlert: globalAlertData.critical,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ import footerData from "../footer/footer.data.json";
const defaultData = {
cdn: ".", //for storybook it's ., for normal usage "PROD"
title: "title goes here",
header: masterbrand_variant,
search: searchData,
"icon-root": masterbrand_variant["icon-root"],
icons: masterbrand_variant.icons,
header: {
...masterbrand_variant,
searchData: searchData
},
navbar: menu_state,
breadcrumbs: breadcrumbsData.forGov,
globalAlert: globalAlertData.critical,
Expand Down
9 changes: 7 additions & 2 deletions src/stories/integration/integration.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ import contentData from './content.data.json';
import template from "./main.hbs?raw";
import metaOpenGraphData from "../../components/bs5/metaOpenGraph/MetaOpenGraph.data.json";
import { dcTerms } from '../../components/bs5/metaDcTerms/MetaDcTerms.data.json';
import masterbrand_variant from "../../components/bs5/header/header.variant.masterBrand.data.json";

Check failure on line 18 in src/stories/integration/integration.stories.js

View workflow job for this annotation

GitHub Actions / Lint, Test, Build and Deploy on Node 20

'masterbrand_variant' is defined but never used

Check failure on line 18 in src/stories/integration/integration.stories.js

View workflow job for this annotation

GitHub Actions / Lint, Test, Build and Deploy on Node 20

'masterbrand_variant' is defined but never used

/** sample data **/
const defaultData = {
template: template, // Adjust template path relative to this file
cdn: ".", //for storybook it's ., for normal usage "PROD"
title: "title goes here",
"icon-root": headerData["icon-root"],
icons: headerData.icons,
description: "my description",
uri: "http://localhost/uri/here",
dcTerms: dcTerms,
seo: metaOpenGraphData.seo,
og: metaOpenGraphData.og,
header: headerData,
search: searchData,
header: {
...headerData,
searchData: searchData
},
navbar: navbarData,
breadcrumbs: breadcrumbsData,
globalAlert: globalAlertData,
Expand Down

0 comments on commit 83af4d8

Please sign in to comment.