mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-28 13:47:23 +00:00
Create new entrypoint for sharable Wrapstodon (#37121)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
18
app/javascript/mastodon/features/annual_report/share.tsx
Normal file
18
app/javascript/mastodon/features/annual_report/share.tsx
Normal file
@@ -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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user