From e9403811c475f7ba384513e4a4cb4a6a43d83699 Mon Sep 17 00:00:00 2001 From: Dominik Stumpf Date: Wed, 21 Aug 2024 16:28:40 +0200 Subject: [PATCH] feat: add empty cards for contribution --- .../profile/_components/EditContributions.tsx | 11 ++++++++++- .../(marketing)/profile/_components/Profile.tsx | 17 ++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/app/(marketing)/profile/_components/EditContributions.tsx b/src/app/(marketing)/profile/_components/EditContributions.tsx index e428d5c431..cdd64eae56 100644 --- a/src/app/(marketing)/profile/_components/EditContributions.tsx +++ b/src/app/(marketing)/profile/_components/EditContributions.tsx @@ -23,7 +23,7 @@ import { import { useToast } from "@/components/ui/hooks/useToast" import { useYourGuilds } from "@/hooks/useYourGuilds" import { Guild, MembershipResult, Role, Schemas } from "@guildxyz/types" -import { X } from "@phosphor-icons/react" +import { WarningCircle, X } from "@phosphor-icons/react" import { PencilSimple } from "@phosphor-icons/react" import { AvatarFallback } from "@radix-ui/react-avatar" import { DialogDescription } from "@radix-ui/react-dialog" @@ -117,6 +117,14 @@ export const EditContributions = () => {
+ {guilds?.length === 0 && ( + + +

+ You have no verified guild membership to select from +

+
+ )} {contributions.data?.slice(0, 3).map((contribution) => ( {