import BasePage from "@Front/Components/Layouts/Base"; import DefaultTemplate from "@Front/Components/LayoutTemplates/DefaultTemplate"; import classes from "./classes.module.scss"; import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography"; import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button"; import Toasts, { IToast } from "@Front/Stores/Toasts"; import Confirm from "@Front/Components/DesignSystem/Modal/Confirm"; import HeaderLink from "@Front/Components/DesignSystem/Header/HeaderLink"; type IState = { isModalDisplayed: boolean; }; type IProps = {}; export default class DesignSystem extends BasePage { constructor(props: IProps) { super(props); this.state = { isModalDisplayed: false, }; this.openModal = this.openModal.bind(this); this.closeModal = this.closeModal.bind(this); } public override render(): JSX.Element { return (
Website design System
This page allows to gather all the design system of the site. A Design System is a library of components, visuals and principles with reusable code. This evolving kit offers a UX and UI repository for designers and developers of digital products and services. The construction of a design system offers many advantages. This solution facilitates the work of the teams and reduces the "design debt" and the "technical debt". The result is a coherent ecosystem and therefore a better experience for users and customers.
Button components
Toaster component
Modal components
Lorem ipsum dolor sit amet consectetur. Aliquam nunc lobortis lacus vulputate sagittis sed tempor eget feugiat. Elementum malesuada at sit elit.
HeaderLink components
); } private openModal() { this.setState({ isModalDisplayed: true, }); } private closeModal() { this.setState({ isModalDisplayed: false, }); } private spawnToast() { const toast: IToast = { title: "Un collaborateur veut rejoindre votre office", text: "12:00 - 1 fev 2023" }; Toasts.getInstance().open(toast); } }