From 0ece5f2bde11a6cb8b2e5d720e6b9095511aaffb Mon Sep 17 00:00:00 2001 From: laixingyou Date: Mon, 19 Feb 2024 22:40:27 +0800 Subject: [PATCH] feat: Add explainations about submit project (#314) Signed-off-by: laixingyou --- apps/web/i18n | 2 +- .../FormCommunity/GovernanceRepository.tsx | 19 +++++- .../SoftwareArtifactRepository.tsx | 19 +++++- .../submitProject/Misc/SuccessMessage.tsx | 68 +++++++++++-------- 4 files changed, 78 insertions(+), 30 deletions(-) diff --git a/apps/web/i18n b/apps/web/i18n index 8d16305e..3a9f4ed8 160000 --- a/apps/web/i18n +++ b/apps/web/i18n @@ -1 +1 @@ -Subproject commit 8d16305ebde69a2dffa6b3cba58a9d6979b0927f +Subproject commit 3a9f4ed8f4c9e0ed258180931ff4f72a35f81e32 diff --git a/apps/web/src/modules/submitProject/FormCommunity/GovernanceRepository.tsx b/apps/web/src/modules/submitProject/FormCommunity/GovernanceRepository.tsx index bde6ef16..5bbbdf4c 100644 --- a/apps/web/src/modules/submitProject/FormCommunity/GovernanceRepository.tsx +++ b/apps/web/src/modules/submitProject/FormCommunity/GovernanceRepository.tsx @@ -12,6 +12,8 @@ import InputUrlField, { InputRef } from '../Misc/InputUrlField'; import AddSelectPopover from '../Misc/AddSelectPopover'; import FillItem from '../Misc/FillItem'; import { useTranslation } from 'react-i18next'; +import Tooltip from '@common/components/Tooltip'; +import { AiOutlineQuestionCircle } from 'react-icons/ai'; export interface Props { value: string[]; @@ -38,8 +40,23 @@ const GovernanceRepository = forwardRef( return ( <> -