-
Restez Informé(e) avec notre Newsletter
-
Ne manquez aucune de nos actualités, promotions exclusives et conseils d'experts !
-
-
-
+
+
+
+ Restez Informé(e) avec notre Newsletter
+
+
+ Ne manquez aucune de nos actualités, promotions exclusives et conseils d'experts !
+
+ {this.state.errorMessage && (
+
+
+ {this.state.errorMessage}
+
+
+ )}
+ {this.state.successMessage && (
+
+
+ {this.state.successMessage}
+
+
+ )}
+
+
+
);
diff --git a/src/front/Components/DesignSystem/Typography/classes.module.scss b/src/front/Components/DesignSystem/Typography/classes.module.scss
index 35ad1b15..e3b047b2 100644
--- a/src/front/Components/DesignSystem/Typography/classes.module.scss
+++ b/src/front/Components/DesignSystem/Typography/classes.module.scss
@@ -159,4 +159,8 @@
&.orange-flash {
color: var(--orange-flash);
}
+
+ &.white {
+ color: $white;
+ }
}
diff --git a/src/front/Components/DesignSystem/Typography/index.tsx b/src/front/Components/DesignSystem/Typography/index.tsx
index 0e812ac4..1cc80368 100644
--- a/src/front/Components/DesignSystem/Typography/index.tsx
+++ b/src/front/Components/DesignSystem/Typography/index.tsx
@@ -41,6 +41,7 @@ export enum ITypoColor {
GREEN_FLASH = "green-flash",
ORANGE_FLASH = "orange-flash",
RED_FLASH = "red-flash",
+ WHITE = "white",
}
export default class Typography extends React.Component
{
diff --git a/src/front/Components/Layouts/Folder/classes.module.scss b/src/front/Components/Layouts/Folder/classes.module.scss
index a425a01a..25f65c9c 100644
--- a/src/front/Components/Layouts/Folder/classes.module.scss
+++ b/src/front/Components/Layouts/Folder/classes.module.scss
@@ -69,4 +69,24 @@
margin-bottom: 24px;
}
}
+ .newsletter {
+ position: absolute;
+ bottom: 44px;
+ right: 48px;
+ background-color: #320756;
+ width: 56px;
+ height: 56px;
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+
+ .newsletter-icon {
+ width: 24px;
+ height: 24px;
+
+ font-size: 24px;
+ }
+ }
}
diff --git a/src/front/Components/Layouts/Folder/index.tsx b/src/front/Components/Layouts/Folder/index.tsx
index 8abfb38a..72f16926 100644
--- a/src/front/Components/Layouts/Folder/index.tsx
+++ b/src/front/Components/Layouts/Folder/index.tsx
@@ -5,11 +5,14 @@ import { OfficeFolder } from "le-coffre-resources/dist/Notary";
import BasePage from "../Base";
import classes from "./classes.module.scss";
import Newletter from "@Front/Components/DesignSystem/Newsletter";
+import Image from "next/image";
+import Mail from "@Assets/Icons/mail.svg";
type IProps = {};
type IState = {
selectedFolder: OfficeFolder | null;
isArchivedModalOpen: boolean;
+ isNewsletterOpen: boolean;
};
export default class Folder extends BasePage {
public constructor(props: IProps) {
@@ -17,6 +20,7 @@ export default class Folder extends BasePage {
this.state = {
selectedFolder: null,
isArchivedModalOpen: false,
+ isNewsletterOpen: false,
};
this.onSelectedFolder = this.onSelectedFolder.bind(this);
}
@@ -33,7 +37,16 @@ export default class Folder extends BasePage {
Sélectionnez un dossier
-