chore: remove telegram community (#12292)

close AF-2607

![CleanShot 2025-05-15 at 11 13 40](https://github.com/user-attachments/assets/31d2d2c5-3c62-43e3-93b6-0a66e029490b)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **Refactor**
  - Removed Telegram icon and link from the footer and About settings sections.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
JimmFly
2025-05-19 10:01:23 +00:00
parent a2354f69a3
commit 9651969ff8
2 changed files with 13 additions and 24 deletions

View File

@@ -24,24 +24,19 @@ export const Footer = () => {
> >
<Section align="center" width="auto" style={{ margin: '1px auto' }}> <Section align="center" width="auto" style={{ margin: '1px auto' }}>
<Row> <Row>
{[ {['Github', 'Twitter', 'Discord', 'Youtube', 'Reddit'].map(
'Github', platform => (
'Twitter', <td key={platform} style={{ padding: '0 10px' }}>
'Discord', <Link href={`https://affine.pro/${platform.toLowerCase()}`}>
'Youtube', <Img
'Telegram', src={`https://cdn.affine.pro/mail/2023-8-9/${platform}.png`}
'Reddit', alt={`affine ${platform.toLowerCase()} link`}
].map(platform => ( height="16px"
<td key={platform} style={{ padding: '0 10px' }}> />
<Link href={`https://affine.pro/${platform.toLowerCase()}`}> </Link>
<Img </td>
src={`https://cdn.affine.pro/mail/2023-8-9/${platform}.png`} )
alt={`affine ${platform.toLowerCase()} link`} )}
height="16px"
/>
</Link>
</td>
))}
</Row> </Row>
</Section> </Section>
<Section align="center" width="auto"> <Section align="center" width="auto">

View File

@@ -2,7 +2,6 @@ import {
DiscordIcon, DiscordIcon,
GithubIcon, GithubIcon,
RedditIcon, RedditIcon,
TelegramIcon,
TwitterIcon, TwitterIcon,
YouTubeIcon, YouTubeIcon,
} from './icons'; } from './icons';
@@ -28,11 +27,6 @@ export const relatedLinks = [
title: 'YouTube', title: 'YouTube',
link: 'https://www.youtube.com/@affinepro', link: 'https://www.youtube.com/@affinepro',
}, },
{
icon: <TelegramIcon />,
title: 'Telegram',
link: 'https://t.me/affineworkos',
},
{ {
icon: <RedditIcon />, icon: <RedditIcon />,
title: 'Reddit', title: 'Reddit',