diff --git a/packages/webapp/src/components/Certifications/CertificationsEmptyState.tsx b/packages/webapp/src/components/Certifications/CertificationsEmptyState.tsx index 3b3bfce786..1b757924ea 100644 --- a/packages/webapp/src/components/Certifications/CertificationsEmptyState.tsx +++ b/packages/webapp/src/components/Certifications/CertificationsEmptyState.tsx @@ -14,6 +14,7 @@ */ import { useTranslation } from 'react-i18next'; +import clsx from 'clsx'; import { ReactComponent as AwardIcon } from '../../assets/images/nav/certifications.svg'; import { ReactComponent as PlusCircleIcon } from '../../assets/images/plus-circle.svg'; import Button from '../Form/Button'; @@ -21,15 +22,17 @@ import styles from './index.module.scss'; interface CertificationsEmptyStateProps { onAddCertification: () => void; + className?: string; } export default function CertificationsEmptyState({ onAddCertification, + className, }: CertificationsEmptyStateProps) { const { t } = useTranslation(['translation', 'common']); return ( -
{t('CERTIFICATION.EMPTY_STATE.HEADING')}
{t('CERTIFICATION.EMPTY_STATE.BODY')}
diff --git a/packages/webapp/src/containers/Profile/FarmSettings/MarketDirectory/Certifications/index.tsx b/packages/webapp/src/containers/Profile/FarmSettings/MarketDirectory/Certifications/index.tsx new file mode 100644 index 0000000000..0d6467712c --- /dev/null +++ b/packages/webapp/src/containers/Profile/FarmSettings/MarketDirectory/Certifications/index.tsx @@ -0,0 +1,69 @@ +/* + * Copyright 2026 LiteFarm.org + * This file is part of LiteFarm. + * + * LiteFarm is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * LiteFarm is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details, see