Skip to content

Commit

Permalink
feat: update Header snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Naomi Aro committed Apr 16, 2021
1 parent 8447f2f commit 343df49
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions app/tests/unit/components/Layout/__snapshots__/Header.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,56 @@

exports[`matches the last accepted Snapshot 1`] = `
<header
className="jsx-940813325 "
className="jsx-2264600173 "
>
<div
className="jsx-940813325 nav-header"
className="jsx-2264600173 nav-header"
>
<nav
aria-label="Main"
className="jsx-940813325"
className="jsx-2264600173"
>
<div
className="jsx-940813325 header-left"
className="jsx-2264600173 header-left"
>
<Link
href="/"
>
<a
className="jsx-940813325"
className="jsx-2264600173"
>
<picture
className="jsx-940813325"
className="jsx-2264600173"
>
<source
className="jsx-940813325"
className="jsx-2264600173"
media="(max-width: 767.98px)"
srcSet="/static/bcid-reverse.svg"
/>
<img
alt="logo for Province of British Columbia CleanBC"
className="jsx-940813325"
className="jsx-2264600173"
src="/static/BCID_CleanBC_rev_tagline_colour.svg"
/>
</picture>
</a>
</Link>
<h2
className="jsx-940813325"
className="jsx-2264600173"
>
CleanBC Industrial Incentive Program
</h2>
<button
aria-label="Menu toggle"
className="jsx-940813325"
className="jsx-2264600173 "
id="menu-toggle"
onClick={[Function]}
type="button"
>
<FontAwesomeIcon
border={false}
className=""
color="#036"
color="white"
fixedWidth={false}
flip={null}
icon={
Expand All @@ -60,10 +60,10 @@ exports[`matches the last accepted Snapshot 1`] = `
448,
512,
Array [],
"f007",
"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z",
"f0c9",
"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z",
],
"iconName": "user",
"iconName": "bars",
"prefix": "fas",
}
}
Expand All @@ -83,32 +83,32 @@ exports[`matches the last accepted Snapshot 1`] = `
</button>
</div>
<ul
className="jsx-940813325 header-right"
className="jsx-2264600173 header-right"
style={
Object {
"display": "none",
}
}
>
<li
className="jsx-940813325"
className="jsx-2264600173"
>
<Link
href="/register"
>
<a
className="jsx-940813325 nav-button"
className="jsx-2264600173 nav-button"
>
Register
</a>
</Link>
</li>
<li
className="jsx-940813325"
className="jsx-2264600173"
>
<LoginForm>
<button
className="jsx-940813325 nav-button"
className="jsx-2264600173 nav-button"
type="submit"
>
Login
Expand All @@ -124,9 +124,9 @@ exports[`matches the last accepted Snapshot 1`] = `
"(min-width: 992px)",
]
}
id="2917519360"
id="2882210987"
>
header.fixed.__jsx-style-dynamic-selector{position:fixed;z-index:1;width:100%;}.nav-header.__jsx-style-dynamic-selector{background-color:#036;border-bottom:2px solid #fcba19;padding:10px;color:#fff;}h2.__jsx-style-dynamic-selector{font-weight:normal;font-size:calc(1rem + 1vw);margin:0 0.5em;text-align:center;}.header-left.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.header-left.__jsx-style-dynamic-selector img.__jsx-style-dynamic-selector{height:46px;}.header-right.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;text-align:right;margin:0;padding:0.8em 1em 0 0;}nav.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}li.__jsx-style-dynamic-selector{list-style-type:none;}button.__jsx-style-dynamic-selector{background:none;border:none;color:inherit;}.nav-button.__jsx-style-dynamic-selector{color:#f8f9fa;display:inline-block;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.375rem 0.75rem;font-size:1rem;border-radius:0.25rem;-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}#menu-toggle.__jsx-style-dynamic-selector{background:#f8f9fa;border-radius:100%;padding:0.375rem 0.7rem;}@media screen and (min-width: 992px){nav.__jsx-style-dynamic-selector{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px;}.header-left.__jsx-style-dynamic-selector{width:auto;}header.__jsx-style-dynamic-selector h2.__jsx-style-dynamic-selector{margin:0 0 0 18px;}button#menu-toggle.__jsx-style-dynamic-selector{display:none;}.header-right.__jsx-style-dynamic-selector{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:auto;text-align:right;margin:0;padding:0;}.nav-button.__jsx-style-dynamic-selector{border-color:#f8f9fa;}li.__jsx-style-dynamic-selector{padding-left:12px;}}@media screen and (min-width:1092px){header.__jsx-style-dynamic-selector h2.__jsx-style-dynamic-selector{font-size:2rem;}}@media screen and (min-width:1200px){nav.__jsx-style-dynamic-selector{max-width:1140px;margin-left:auto;margin-right:auto;}}
header.fixed.__jsx-style-dynamic-selector{position:fixed;z-index:1;width:100%;}.nav-header.__jsx-style-dynamic-selector{background-color:#036;border-bottom:2px solid #fcba19;padding:10px;color:#fff;}h2.__jsx-style-dynamic-selector{font-weight:normal;font-size:calc(1rem + 1vw);margin:0 0.5em;text-align:center;}.header-left.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.header-left.__jsx-style-dynamic-selector img.__jsx-style-dynamic-selector{height:46px;}.header-right.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;text-align:right;margin:0;padding:0.8em 1em 0 0;}nav.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}li.__jsx-style-dynamic-selector{list-style-type:none;}button.__jsx-style-dynamic-selector{background:none;border:none;color:inherit;}.nav-button.__jsx-style-dynamic-selector{color:#f8f9fa;display:inline-block;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.375rem 0.75rem;font-size:1rem;border-radius:0.25rem;-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}#menu-toggle.logged-in.__jsx-style-dynamic-selector{background:#f8f9fa;border-radius:100%;padding:0.375rem 0.7rem;}@media screen and (min-width: 992px){nav.__jsx-style-dynamic-selector{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px;}.header-left.__jsx-style-dynamic-selector{width:auto;}header.__jsx-style-dynamic-selector h2.__jsx-style-dynamic-selector{margin:0 0 0 18px;}button#menu-toggle.__jsx-style-dynamic-selector{display:none;}.header-right.__jsx-style-dynamic-selector{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:auto;text-align:right;margin:0;padding:0;}.nav-button.__jsx-style-dynamic-selector{border-color:#f8f9fa;}li.__jsx-style-dynamic-selector{padding-left:12px;}}@media screen and (min-width:1092px){header.__jsx-style-dynamic-selector h2.__jsx-style-dynamic-selector{font-size:2rem;}}@media screen and (min-width:1200px){nav.__jsx-style-dynamic-selector{max-width:1140px;margin-left:auto;margin-right:auto;}}
</JSXStyle>
</header>
`;

0 comments on commit 343df49

Please sign in to comment.