From c1af4f8c43117b132fc08e5b0b1c8b9345f2b312 Mon Sep 17 00:00:00 2001 From: Matias Date: Fri, 11 Oct 2024 14:48:48 -0300 Subject: [PATCH] feat: add tooltips to community form inputs + add link to "good covenant description" --- apps/web/components/Forms/CommunityForm.tsx | 27 ++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/apps/web/components/Forms/CommunityForm.tsx b/apps/web/components/Forms/CommunityForm.tsx index 1ccadfd4..3804998a 100644 --- a/apps/web/components/Forms/CommunityForm.tsx +++ b/apps/web/components/Forms/CommunityForm.tsx @@ -1,6 +1,7 @@ "use client"; import React, { useState } from "react"; +import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/outline"; import { usePathname, useRouter } from "next/navigation"; import { useForm } from "react-hook-form"; import { Address, Chain, createPublicClient, http, parseUnits } from "viem"; @@ -237,7 +238,7 @@ export const CommunityForm = ({ formRows={formatFormRows()} previewTitle="Check details and covenant description" /> - :
+ :
@@ -295,6 +297,7 @@ export const CommunityForm = ({ }, }} suffix="%" + tooltip="A percentage fee applied from the membership stake amount when joining a community." />
@@ -311,6 +314,7 @@ export const CommunityForm = ({ registerKey="feeReceiver" placeholder="0x.." type="text" + tooltip="Safe or Ethereum address that receives the fees paid by members." />
@@ -331,21 +335,23 @@ export const CommunityForm = ({ registerKey="councilSafe" placeholder="0x.." type="text" + tooltip="The moderators of the community. Choose a Safe address that can create pools and manage settings in the community." />
+
}