mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
chore: remove telegram community (#12292)
close AF-2607  <!-- 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:
@@ -24,24 +24,19 @@ export const Footer = () => {
|
||||
>
|
||||
<Section align="center" width="auto" style={{ margin: '1px auto' }}>
|
||||
<Row>
|
||||
{[
|
||||
'Github',
|
||||
'Twitter',
|
||||
'Discord',
|
||||
'Youtube',
|
||||
'Telegram',
|
||||
'Reddit',
|
||||
].map(platform => (
|
||||
<td key={platform} style={{ padding: '0 10px' }}>
|
||||
<Link href={`https://affine.pro/${platform.toLowerCase()}`}>
|
||||
<Img
|
||||
src={`https://cdn.affine.pro/mail/2023-8-9/${platform}.png`}
|
||||
alt={`affine ${platform.toLowerCase()} link`}
|
||||
height="16px"
|
||||
/>
|
||||
</Link>
|
||||
</td>
|
||||
))}
|
||||
{['Github', 'Twitter', 'Discord', 'Youtube', 'Reddit'].map(
|
||||
platform => (
|
||||
<td key={platform} style={{ padding: '0 10px' }}>
|
||||
<Link href={`https://affine.pro/${platform.toLowerCase()}`}>
|
||||
<Img
|
||||
src={`https://cdn.affine.pro/mail/2023-8-9/${platform}.png`}
|
||||
alt={`affine ${platform.toLowerCase()} link`}
|
||||
height="16px"
|
||||
/>
|
||||
</Link>
|
||||
</td>
|
||||
)
|
||||
)}
|
||||
</Row>
|
||||
</Section>
|
||||
<Section align="center" width="auto">
|
||||
|
||||
@@ -2,7 +2,6 @@ import {
|
||||
DiscordIcon,
|
||||
GithubIcon,
|
||||
RedditIcon,
|
||||
TelegramIcon,
|
||||
TwitterIcon,
|
||||
YouTubeIcon,
|
||||
} from './icons';
|
||||
@@ -28,11 +27,6 @@ export const relatedLinks = [
|
||||
title: 'YouTube',
|
||||
link: 'https://www.youtube.com/@affinepro',
|
||||
},
|
||||
{
|
||||
icon: <TelegramIcon />,
|
||||
title: 'Telegram',
|
||||
link: 'https://t.me/affineworkos',
|
||||
},
|
||||
{
|
||||
icon: <RedditIcon />,
|
||||
title: 'Reddit',
|
||||
|
||||
Reference in New Issue
Block a user