Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

feat: add Badge component to BetaBanner for Pro users

yoginth.com e8078060 78554b00

verified
+2 -1
+2 -1
apps/web/src/components/Shared/Sidebar/BetaBanner.tsx
··· 7 7 import type { ApolloClientError } from "@hey/types/errors"; 8 8 import { useCallback, useState } from "react"; 9 9 import { toast } from "sonner"; 10 - import { Button, Card, H5 } from "@/components/Shared/UI"; 10 + import { Badge, Button, Card, H5 } from "@/components/Shared/UI"; 11 11 import errorToast from "@/helpers/errorToast"; 12 12 import useTransactionLifecycle from "@/hooks/useTransactionLifecycle"; 13 13 import useWaitForTransactionToComplete from "@/hooks/useWaitForTransactionToComplete"; ··· 88 88 <div className="flex items-center gap-2"> 89 89 <BeakerIcon className="size-5 text-green-500" /> 90 90 <H5>Join Hey Beta</H5> 91 + <Badge>Pro</Badge> 91 92 </div> 92 93 <div className="mb-5 text-sm"> 93 94 Get your badge and access exclusive features.