From b70e5b2f387e8de6dac5d388aee1ccbf5b217adc Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 26 Aug 2025 18:24:46 +0300 Subject: Add verification checkmarks to `embed.bsky.app` (#8644) * update vite+typescript * update atproto api to latest, split out utils * add checkmark to post * add checkie to embed * revert change to example post * fix ext link color --- bskyembed/src/components/verification-check.tsx | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 bskyembed/src/components/verification-check.tsx (limited to 'bskyembed/src/components/verification-check.tsx') diff --git a/bskyembed/src/components/verification-check.tsx b/bskyembed/src/components/verification-check.tsx new file mode 100644 index 000000000..a9710ea2f --- /dev/null +++ b/bskyembed/src/components/verification-check.tsx @@ -0,0 +1,56 @@ +import {h} from 'preact' + +type IconProps = { + size: number + className?: string +} + +export function VerificationCheck({ + verifier, + ...rest +}: {verifier: boolean} & IconProps) { + return verifier ? : +} + +export function VerifiedCheck({size, className}: IconProps) { + return ( + + + + + ) +} + +export function VerifierCheck({size, className}: IconProps) { + return ( + + + + + ) +} -- cgit 1.4.1