import { Crown } from 'lucide-react';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
// The verified founder/admin pubkey — hard-coded so it cannot be spoofed
export const FOUNDER_PUBKEY = '20e7c953439e66f3882ab96fe0faa8ba246d6fb12c03b0cb4e2dc4623b8bcb21';
interface OfficialBadgeProps {
pubkey: string;
size?: 'sm' | 'md';
}
/**
* Shows a "⚡ Official" badge on content published by the verified founder pubkey.
* Makes impersonation immediately visible — a fake account won't have this badge.
*/
export function OfficialBadge({ pubkey, size = 'sm' }: OfficialBadgeProps) {
if (pubkey !== FOUNDER_PUBKEY) return null;
if (size === 'sm') {
return (
Official
Published by the verified SkateSpots founder
);
}
return (
Official SkateSpots
Published by the verified SkateSpots founder
);
}