Skip to content

Commit 86cb022

Browse files
committed
feat(certif): Change SCO PixBanner to PixNotification
1 parent b5482e9 commit 86cb022

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

certif/app/components/layout/banners.gjs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import PixBannerAlert from '@1024pix/pix-ui/components/pix-banner-alert';
2+
import PixNotificationAlert from '@1024pix/pix-ui/components/pix-notification-alert';
23
import { action } from '@ember/object';
34
import { service } from '@ember/service';
45
import Component from '@glimmer/component';
@@ -36,9 +37,9 @@ export default class Banners extends Component {
3637

3738
<template>
3839
{{#if this.shouldDisplaySCOInformationBanner}}
39-
<PixBannerAlert @canCloseBanner='true' class='banners'>
40+
<PixNotificationAlert @type='information' @withIcon={{true}} class='banners'>
4041
{{t 'pages.sco.banner.information' htmlSafe=true}}
41-
</PixBannerAlert>
42+
</PixNotificationAlert>
4243
{{/if}}
4344

4445
{{#if this.shouldDisplayLocaleNotSupportedBanner}}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
.banners {
22
margin-bottom: var(--pix-spacing-6x);
3+
4+
a {
5+
text-decoration: underline;
6+
display: inline-flex;
7+
align-items: center;
8+
9+
svg {
10+
width: 1rem;
11+
height: 1rem;
12+
}
13+
}
314
}

0 commit comments

Comments
 (0)