forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b4e9fb
commit 46152a1
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
...cript/flavours/glitch/components/logo.jsx → ...cript/flavours/glitch/components/logo.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |