Create new entrypoint for sharable Wrapstodon (#37121)

This commit is contained in:
Echo authored and GitHub committed 2025-12-04 15:48:10 +00:00
1 parent 75b9e9a8b0
commit 0dac31dfd5
8 files changed
+132 -5

No files matched your search

+8 -2
View File
@@ -1,3 +1,5 @@
import classNames from 'classnames';
import logo from '@/images/logo.svg';
export const WordmarkLogo: React.FC = () => (
@@ -7,8 +9,12 @@ export const WordmarkLogo: React.FC = () => (
</svg>
);
export const IconLogo: React.FC = () => (
<svg viewBox='0 0 79 79' className='logo logo--icon' role='img'>
export const IconLogo: React.FC<{ className?: string }> = ({ className }) => (
<svg
viewBox='0 0 79 79'
className={classNames('logo logo--icon', className)}
role='img'
>
<title>Mastodon</title>
<use xlinkHref='#logo-symbol-icon' />
</svg>