mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Remove Twitter/X links from web UI and README
Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
This commit is contained in:
parent
43f08c08d9
commit
7ed49e20ab
3 changed files with 2 additions and 30 deletions
3
.github/README.md
vendored
3
.github/README.md
vendored
|
|
@ -1,7 +1,6 @@
|
|||
<p align="center"><img src="https://github.com/collinbarrett/FilterLists/blob/main/img/logo_filterlists_outlined.png"></p>
|
||||
|
||||
<p align="center"><a href="https://twitter.com/FilterLists"><img alt="Twitter" src="https://img.shields.io/twitter/follow/FilterLists?style=social"></a>
|
||||
<a href="https://github.com/collinbarrett/FilterLists/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/collinbarrett/filterlists.svg?label=License"></a>
|
||||
<p align="center"><a href="https://github.com/collinbarrett/FilterLists/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/collinbarrett/filterlists.svg?label=License"></a>
|
||||
<a href="https://builtwithdot.net/project/125/filterlists"><img alt="BuiltWithDot.net" src="https://builtwithdot.net/project/125/filterlists/badge" /></a>
|
||||
<a href="https://madewithreactjs.com/p/filterlists/shield-link"><img alt="MadeWithReactJS.com" src="https://madewithreactjs.com/storage/repo-shields/2335-shield.svg"/></a>
|
||||
<br/>FilterLists is the independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.</p>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import {
|
|||
DollarOutlined,
|
||||
GithubOutlined,
|
||||
IeOutlined,
|
||||
TwitterOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import { Layout, Tag } from "antd";
|
||||
import {
|
||||
|
|
@ -46,7 +45,6 @@ export const App: React.FC = () => (
|
|||
}}
|
||||
>
|
||||
<CopyrightAuthor />
|
||||
<Twitter />
|
||||
<GitHub />
|
||||
<Api />
|
||||
<Tpl />
|
||||
|
|
@ -86,19 +84,6 @@ const CopyrightAuthor = () => (
|
|||
</Tag>
|
||||
);
|
||||
|
||||
const Twitter = () => (
|
||||
<Tag>
|
||||
<a
|
||||
href="https://twitter.com/FilterLists"
|
||||
title="FilterLists on Twitter"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<TwitterOutlined /> Twitter
|
||||
</a>
|
||||
</Tag>
|
||||
);
|
||||
|
||||
const GitHub = () => (
|
||||
<Tag>
|
||||
<a
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import "./maintainers.css";
|
||||
import { HomeOutlined, MailOutlined, TwitterOutlined } from "@ant-design/icons";
|
||||
import { HomeOutlined, MailOutlined } from "@ant-design/icons";
|
||||
import { Card } from "antd";
|
||||
import { Maintainer } from "../../interfaces/Maintainer";
|
||||
|
||||
|
|
@ -47,17 +47,5 @@ const MaintainerComponent = (props: MaintainerComponentProps) => {
|
|||
</a>,
|
||||
);
|
||||
}
|
||||
if (props.maintainer.twitterHandle) {
|
||||
actions.push(
|
||||
<a
|
||||
href={`https://twitter.com/${props.maintainer.twitterHandle}`}
|
||||
title={`${props.maintainer.twitterHandle} on Twitter`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<TwitterOutlined key="twitter" />
|
||||
</a>,
|
||||
);
|
||||
}
|
||||
return <Card title={props.maintainer.name} actions={actions} />;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue