diff --git a/src/front/Assets/Icons/vertical-separator.svg b/src/front/Assets/Icons/vertical-separator.svg new file mode 100644 index 00000000..0f2bf83f --- /dev/null +++ b/src/front/Assets/Icons/vertical-separator.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/front/Components/DesignSystem/Footer/classes.module.scss b/src/front/Components/DesignSystem/Footer/classes.module.scss index 37143abe..4155ff54 100644 --- a/src/front/Components/DesignSystem/Footer/classes.module.scss +++ b/src/front/Components/DesignSystem/Footer/classes.module.scss @@ -3,17 +3,24 @@ .root { border-top: 1px solid var(--footer-border, #d7dce0); background: var(--footer-background, #fff); - padding: var(--spacing-1-5) 0; .sub-root { display: flex; align-items: center; gap: var(--Radius-lg, 16px); white-space: nowrap; + } - @media (max-width: 1023px) { - padding: 0 12px; - } + .desktop { + padding: var(--spacing-1-5, 12px) var(--Radius-xl, 24px); + } + + .tablet { + padding: var(--spacing-1-5, 12px) var(--Radius-xl, 24px); + } + + .mobile { + padding: var(--spacing-1-5, 12px) var(--Radius-lg, 16px); } &[data-has-left-padding="true"] { @@ -22,12 +29,7 @@ } } - &[data-is-sticky="true"] { - position: sticky; - bottom: 0; - } - - @media (max-width: 660px) or (min-width: 769px) { + @media (max-width: 660px) or (min-width: 1023px) { .tablet { display: none; } @@ -39,7 +41,7 @@ } } - @media (max-width: 769px) { + @media (max-width: 1023px) { .desktop { display: none; } diff --git a/src/front/Components/DesignSystem/Footer/desktop.tsx b/src/front/Components/DesignSystem/Footer/desktop.tsx index f3937b1c..9b4e4c58 100644 --- a/src/front/Components/DesignSystem/Footer/desktop.tsx +++ b/src/front/Components/DesignSystem/Footer/desktop.tsx @@ -3,6 +3,8 @@ import classes from "./classes.module.scss"; import Link from "next/link"; import Module from "@Front/Config/Module"; import { ELegalOptions } from "@Front/Components/LayoutTemplates/DefaultLegalDashboard"; +import VerticalSeparator from "@Assets/Icons/vertical-separator.svg"; +import Image from "next/image"; type IProps = { className?: string; @@ -14,11 +16,11 @@ export default function Desktop({ className }: IProps) { return (