diff --git a/public/CGU_LeCoffre_io.pdf b/public/CGU_LeCoffre_io.pdf new file mode 100644 index 00000000..77933d15 Binary files /dev/null and b/public/CGU_LeCoffre_io.pdf differ diff --git a/src/front/Components/DesignSystem/Header/BurgerMenu/BurgerModal/index.tsx b/src/front/Components/DesignSystem/Header/BurgerMenu/BurgerModal/index.tsx index 5355ac23..a67c9523 100644 --- a/src/front/Components/DesignSystem/Header/BurgerMenu/BurgerModal/index.tsx +++ b/src/front/Components/DesignSystem/Header/BurgerMenu/BurgerModal/index.tsx @@ -123,7 +123,7 @@ export default class BurgerModal extends React.Component { /> - +
diff --git a/src/front/Components/DesignSystem/Header/NavigationLink/index.tsx b/src/front/Components/DesignSystem/Header/NavigationLink/index.tsx index 19634137..021f0f43 100644 --- a/src/front/Components/DesignSystem/Header/NavigationLink/index.tsx +++ b/src/front/Components/DesignSystem/Header/NavigationLink/index.tsx @@ -12,6 +12,7 @@ type IProps = { isEnabled?: boolean; isActive?: boolean; routesActive?: string[]; + target?: "blank" | "self" | "_blank"; }; type IPropsClass = IProps; @@ -25,7 +26,8 @@ class NavigationLinkClass extends React.Component { + onClick={this.props.onClick} + target={this.props.target}>
{this.props.text}
@@ -38,7 +40,7 @@ export default function NavigationLink(props: IProps) { const router = useRouter(); const { pathname } = router; let isActive = props.path === pathname; - if(props.routesActive){ + if (props.routesActive) { for (const routeActive of props.routesActive) { if (isActive) break; isActive = pathname.includes(routeActive); diff --git a/src/front/Components/DesignSystem/Header/Profile/ProfileModal/index.tsx b/src/front/Components/DesignSystem/Header/Profile/ProfileModal/index.tsx index 804c8e40..8d34492d 100644 --- a/src/front/Components/DesignSystem/Header/Profile/ProfileModal/index.tsx +++ b/src/front/Components/DesignSystem/Header/Profile/ProfileModal/index.tsx @@ -96,7 +96,7 @@ export default class ProfileModal extends React.Component { ]} /> - +