import Link from "next/link"; import { CopyButton } from "./copy-button"; interface FediverseHandleWidgetProps { username: string; } export function FediverseHandleWidget({ username }: FediverseHandleWidgetProps) { const domain = process.env.NEXT_PUBLIC_FEDIVERSE_DOMAIN; if (!domain) return null; const handle = `@${username}@${domain}`; return (
{handle}
Anyone on Mastodon or Pixelfed can follow you with this.
Learn more →