diff --git a/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss b/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss
index d356ef14..0b036bd3 100644
--- a/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss
+++ b/src/front/Components/DesignSystem/EmptyAlert/classes.module.scss
@@ -13,6 +13,14 @@
text-align: center;
+ .text {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: var(--spacing-md, 16px);
+ }
+
svg {
width: 32px;
stroke: var(--primary-weak-contrast);
diff --git a/src/front/Components/DesignSystem/EmptyAlert/index.tsx b/src/front/Components/DesignSystem/EmptyAlert/index.tsx
index 878db597..17b3e0c1 100644
--- a/src/front/Components/DesignSystem/EmptyAlert/index.tsx
+++ b/src/front/Components/DesignSystem/EmptyAlert/index.tsx
@@ -16,12 +16,14 @@ export default function EmptyAlert(props: IProps) {
return (
{icon}
-
- {title}
-
-
- {description}
-
+
+
+ {title}
+
+
+ {description}
+
+
{footer}
);
diff --git a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
index 9b23977b..c14e500d 100644
--- a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
+++ b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/classes.module.scss
@@ -11,6 +11,7 @@
}
.root {
+ position: relative;
.content {
display: flex;
overflow: hidden;
@@ -114,4 +115,19 @@
}
}
}
+
+ .background-image-container {
+ position: fixed;
+ top: 0;
+ right: 0;
+ @media (max-width: $screen-l) {
+ display: none;
+ }
+
+ .background-image {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+ }
}
diff --git a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
index e4730df6..da2d01dc 100644
--- a/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
+++ b/src/front/Components/LayoutTemplates/DefaultNotaryDashboard/index.tsx
@@ -1,20 +1,20 @@
import ChevronIcon from "@Assets/Icons/chevron.svg";
import Folders, { IGetFoldersParams } from "@Front/Api/LeCoffreApi/Notary/Folders/Folders";
import Button, { EButtonstyletype, EButtonVariant } from "@Front/Components/DesignSystem/Button";
-import FolderListContainer from "@Front/Components/DesignSystem/FolderListContainer";
import FolderArchivedListContainer from "@Front/Components/DesignSystem/FolderArchivedListContainer";
+import FolderListContainer from "@Front/Components/DesignSystem/FolderListContainer";
import Header from "@Front/Components/DesignSystem/Header";
import Version from "@Front/Components/DesignSystem/Version";
import BackArrow from "@Front/Components/Elements/BackArrow";
import WindowStore from "@Front/Stores/WindowStore";
+import { ChevronLeftIcon } from "@heroicons/react/24/outline";
import classNames from "classnames";
import EFolderStatus from "le-coffre-resources/dist/Customer/EFolderStatus";
import { OfficeFolder } from "le-coffre-resources/dist/Notary";
-import Image from "next/image";
+import Image, { StaticImageData } from "next/image";
import React, { ReactNode } from "react";
import classes from "./classes.module.scss";
-import { ChevronLeftIcon } from "@heroicons/react/24/outline";
type IProps = {
title: string;
@@ -24,6 +24,7 @@ type IProps = {
hasBackArrow: boolean;
backArrowUrl?: string;
mobileBackText?: string;
+ image?: StaticImageData;
};
type IState = {
folders: OfficeFolder[] | null;
@@ -96,6 +97,11 @@ export default class DefaultNotaryDashboard extends React.Component
+ {this.props.image && (
+
+
+
+ )}