1 import { c } from 'ttag';
3 import { Button, ButtonLike } from '@proton/atoms';
4 import SettingsLink from '@proton/components/components/link/SettingsLink';
5 import type { ModalProps } from '@proton/components/components/modalTwo/Modal';
6 import ModalTwo from '@proton/components/components/modalTwo/Modal';
7 import ModalTwoContent from '@proton/components/components/modalTwo/ModalContent';
8 import ModalTwoFooter from '@proton/components/components/modalTwo/ModalFooter';
9 import { FeatureCode, useFeature } from '@proton/features';
10 import illustration from '@proton/styles/assets/img/illustrations/light-labelling-feature-modal.svg';
12 interface Props extends ModalProps {}
14 const LightLabellingFeatureModal = ({ open, ...rest }: Props) => {
15 const { feature, update } = useFeature(FeatureCode.SeenLightLabellingFeatureModal);
17 const handleClick = () => {
18 if (feature?.Value === false) {
25 <ModalTwo open={open} size="small" {...rest} disableCloseOnEscape>
26 <ModalTwoContent className="mt-6 text-center">
27 <img src={illustration} alt="" className="w-full" width={344} height={198} />
28 <h1 className="h2 text-bold mt-4">{c('Title').t`Add a custom logo`}</h1>
29 <p className="text-lg mt-2 color-weak">{c('Info')
30 .t`Boost your organization’s brand identity and create a more consistent online experience for your users.`}</p>
33 <Button onClick={handleClick}>{c('Action').t`Later`}</Button>
39 path="/organization-keys#organization"
41 {c('Action').t`Go to settings`}
48 export default LightLabellingFeatureModal;