wallet-logos.tsx 869 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Official-style marks for external MetaMask + future mavi wallet.
  3. * Assets live in /public/brand/ (copied from project brand folders).
  4. */
  5. type LogoProps = {
  6. size?: number;
  7. className?: string;
  8. };
  9. export function MetaMaskLogo({ size = 20, className }: LogoProps) {
  10. return (
  11. // eslint-disable-next-line @next/next/no-img-element
  12. <img
  13. src="/brand/metamask.svg"
  14. alt=""
  15. width={size}
  16. height={size}
  17. className={className ?? "h-5 w-5 shrink-0 object-contain"}
  18. aria-hidden
  19. />
  20. );
  21. }
  22. export function MaviWalletLogo({ size = 20, className }: LogoProps) {
  23. return (
  24. // eslint-disable-next-line @next/next/no-img-element
  25. <img
  26. src="/brand/mavi-wallet.svg"
  27. alt=""
  28. width={size}
  29. height={size}
  30. className={className ?? "h-5 w-5 shrink-0 object-contain"}
  31. aria-hidden
  32. />
  33. );
  34. }