Skip to content

Commit

Permalink
Convert logo.jsx to Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Mar 8, 2024
1 parent 2b4e9fb commit 46152a1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import logo from '@/images/logo.svg';

export const WordmarkLogo = () => (
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 = () => (
export const SymbolLogo: React.FC = () => (
<img src={logo} alt='Mastodon' className='logo logo--icon' />
);

export default WordmarkLogo;

0 comments on commit 46152a1

Please sign in to comment.