bastodon/app/javascript/mastodon/components/logo.tsx
2023-05-23 10:52:27 +02:00

12 lines
365 B
TypeScript

import logo from 'mastodon/../images/logo.svg';
export const WordmarkLogo: React.FC = () => (
<svg viewBox='0 0 261 66' className='logo logo--wordmark' role='img'>
<title>Mastodon</title>
<use xlinkHref='#logo-symbol-wordmark' />
</svg>
);
export const SymbolLogo: React.FC = () => (
<img src={logo} alt='Mastodon' className='logo logo--icon' />
);