Skip to content

Commit 1830578

Browse files
committed
Imprint: remove twitter link
1 parent 5c0a4b4 commit 1830578

File tree

9 files changed

+4
-46
lines changed

9 files changed

+4
-46
lines changed

public/markdown/contact.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
Wir freuen uns über Kommentare Anregungen und Unterstützung:
44
schick uns ein Nachricht an [[email protected]](mailto:[email protected])
55

6-
Oder folge uns auf [Twitter](https://twitter.com/fixmyberlin)
6+
Sie finden uns auch auf [LinkedIn](https://www.linkedin.com/company/fixmycity).
77

8-
Sofern Du Bugs oder Verbesserungsvorschläge hast, gib uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.frontend).
8+
Sofern Sie Bugs oder Verbesserungsvorschläge haben, geben Sie uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.frontend).

public/markdown/imprint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Verantwortlicher i.S.v. § 55 Rundfunkstaatsvertrag (RStV): Heiko Rintelen
2121

2222
Wir freuen uns über Kommentare Anregungen und Unterstützung an [[email protected]](mailto:[email protected])
2323

24-
Du findest uns auch auf [twitter](https://twitter.com/fixmyberlin) | [instagram](https://www.instagram.com/fixmycity/) | [facebook](https://www.facebook.com/FixMyCityApp/) und [linkedIn](https://www.linkedin.com/company/fixmycity)
24+
Sie finden uns auch auf [linkedIn](https://www.linkedin.com/company/fixmycity)
2525

26-
Sofern du Bugs oder Verbesserungsvorschläge hast, gib uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.platform/issues/new/choose).
26+
Sofern Sie Bugs oder Verbesserungsvorschläge haben, geben Sie uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.platform/issues/new/choose).
2727

2828
## Open Source
2929

src/components/Menu/MenuFooter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ class MenuFooter extends PureComponent {
7676
<FooterLinks>
7777
{config.menu.footeritems.map((item, i) => renderItem(item, i))}
7878
</FooterLinks>
79-
{config.menu.twitter !== false && <SocialLinks title="Folge uns" />}
8079
</Footer>
8180
);
8281
}

src/components/Social/SocialButton.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import styled from 'styled-components';
33

44
import FbIcon from '~/images/facebook.svg';
5-
import TwIcon from '~/images/twitter.svg';
65

76
const SocialButton = styled.div`
87
margin: 0 10px;
@@ -12,9 +11,6 @@ export default (props) => {
1211
let SocialIcon;
1312

1413
switch (props.type) {
15-
case 'twitter':
16-
SocialIcon = TwIcon;
17-
break;
1814
case 'facebook':
1915
default:
2016
SocialIcon = FbIcon;

src/components/Social/SocialLinks.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/config/aachen/menu.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const menu: ConfigMenu = {
77
profileLabel: 'Zum Profil',
88
loginLabel: 'Login',
99
logo: false,
10-
twitter: false,
1110
items: [
1211
{
1312
type: 'link',

src/config/types/ConfigMenu.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export type ConfigMenu = {
4343
login?: false | undefined;
4444
loginLabel: string;
4545
logo?: boolean;
46-
twitter?: boolean;
4746
items: MenuItem[];
4847
footeritems: FooterItem[];
4948
};

src/images/twitter.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/pages/Home/Berlin.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { Link } from '~/components2/Link';
99
import { Logo as FMBLogo } from '~/components2/Logo';
1010
import config from '~/config';
1111
import FacebookIcon from '~/images/button-social-facebook.svg';
12-
import TwitterIcon from '~/images/button-social-twitter.svg';
1312
import { useTypedSelector } from '~/store';
1413
import { media } from '~/styles/utils';
1514

@@ -79,16 +78,7 @@ const FacebookButton = styled(FacebookIcon)`
7978
opacity: 0.8;
8079
}
8180
`;
82-
const TwitterButton = styled(TwitterIcon)`
83-
width: 40px;
84-
height: 40px;
85-
margin: 0 5px;
86-
cursor: pointer;
8781

88-
&:hover {
89-
opacity: 0.8;
90-
}
91-
`;
9282
const HomeBerlin = () => {
9383
const dispatch = useDispatch();
9484
const isMenuOpen = useTypedSelector((state) => state.AppState.isMenuOpen);
@@ -143,13 +133,6 @@ const HomeBerlin = () => {
143133
>
144134
<FacebookButton />
145135
</a>
146-
<a
147-
href="https://twitter.com/fixmyberlin"
148-
rel="noopener noreferrer"
149-
target="_blank"
150-
>
151-
<TwitterButton />
152-
</a>
153136
</SocialWrapper>
154137
</>
155138
);

0 commit comments

Comments
 (0)