Skip to content

Commit e7eb9e1

Browse files
IDAM-626 Tidied app stylesheet and added MFA back in for app.jsx
1 parent 44da3a8 commit e7eb9e1

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

custom-pages/universal-login/src/components/App/App.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Routes, Route } from "react-router-dom";
22
import { Header, Main, Footer } from "@nice-digital/global-nav";
3+
import { Alert } from "@nice-digital/nds-alert";
34
import { Container } from "@nice-digital/nds-container";
45
import { Grid, GridItem } from "@nice-digital/nds-grid";
56
import { PageHeader } from "@nice-digital/nds-page-header";
@@ -22,6 +23,14 @@ export const App = () => {
2223
return (
2324
<>
2425
<Header search={false} auth={false} cookie={false} />
26+
<div className="alertMFAContainer">
27+
<Alert type="caution" >
28+
<Container>
29+
<p>Read about <a href="https://rise.articulate.com/share/y1zH1XP0J2ptLTUv_4foMq5YeOlQR2Yk" target="_blank" rel="noreferrer"> our approach to multi-factor authentication (MFA)</a>
30+
</p>
31+
</Container>
32+
</Alert>
33+
</div>
2534
<Main aria-live="polite">
2635
<Container>
2736
<Grid gutter="loose">

custom-pages/universal-login/src/components/App/App.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ html {
1919

2020
@media (prefers-reduced-motion) {
2121
scroll-behavior: auto;
22+
}
23+
24+
@include media-queries.mq($until: 300px) {
25+
font-size: $narrow-viewport-root-font-size;
26+
}
27+
}
28+
2229
//=======
2330
// .col {
2431
// height: 100%;
@@ -51,14 +58,8 @@ html {
5158
// }
5259
// .mainContainer {
5360
// min-width: $col-width-mobile;
61+
// }
5462
//>>>>>>> dd9743737289bba72f4d631f14a16564bc665180
55-
}
56-
57-
@include media-queries.mq($until: 300px) {
58-
font-size: $narrow-viewport-root-font-size;
59-
}
60-
61-
}
6263

6364
main {
6465
font-family: var(--sans-font-family);

0 commit comments

Comments
 (0)