tangled
alpha
login
or
join now
yoginth.com
/
hey
1
fork
atom
Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿
1
fork
atom
overview
issues
pulls
pipelines
feat: add Badge component to BetaBanner for Pro users
yoginth.com
5 months ago
e8078060
78554b00
verified
This commit was signed with the committer's
known signature
.
yoginth.com
SSH Key Fingerprint:
SHA256:SLCGp+xtY+FtXnVKtpl4bpmTttAxnxJ3DBCeikAHlG4=
+2
-1
1 changed file
expand all
collapse all
unified
split
apps
web
src
components
Shared
Sidebar
BetaBanner.tsx
+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
10
-
import { Button, Card, H5 } from "@/components/Shared/UI";
10
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
91
+
<Badge>Pro</Badge>
91
92
</div>
92
93
<div className="mb-5 text-sm">
93
94
Get your badge and access exclusive features.