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

@@ -0,0 +1,19 @@
.wrapper {
max-width: 40rem;
margin: 0 auto;
}
.footer {
text-align: center;
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
align-items: center;
color: var(--color-text-secondary);
}
.logo {
width: 2rem;
opacity: 0.6;
}
@@ -0,0 +1,18 @@
import type { FC } from 'react';
import { IconLogo } from '@/mastodon/components/logo';
import { AnnualReport } from './index';
import classes from './share.module.css';
export const WrapstodonShare: FC = () => {
return (
<main className={classes.wrapper}>
<AnnualReport share={false} />
<footer className={classes.footer}>
<IconLogo className={classes.logo} />
Generated with ♥ by the Mastodon team
</footer>
</main>
);
};