Skip to content

Commit

Permalink
Imprint: remove twitter link
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Jan 23, 2025
1 parent 5c0a4b4 commit 1830578
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 46 deletions.
4 changes: 2 additions & 2 deletions public/markdown/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Wir freuen uns über Kommentare Anregungen und Unterstützung:
schick uns ein Nachricht an [[email protected]](mailto:[email protected])

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

Sofern Du Bugs oder Verbesserungsvorschläge hast, gib uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.frontend).
Sofern Sie Bugs oder Verbesserungsvorschläge haben, geben Sie uns gerne [auf github.com Feedback](https://github.com/FixMyBerlin/fixmy.frontend).
4 changes: 2 additions & 2 deletions public/markdown/imprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Verantwortlicher i.S.v. § 55 Rundfunkstaatsvertrag (RStV): Heiko Rintelen

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

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)
Sie finden uns auch auf [linkedIn](https://www.linkedin.com/company/fixmycity)

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

## Open Source

Expand Down
1 change: 0 additions & 1 deletion src/components/Menu/MenuFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class MenuFooter extends PureComponent {
<FooterLinks>
{config.menu.footeritems.map((item, i) => renderItem(item, i))}
</FooterLinks>
{config.menu.twitter !== false && <SocialLinks title="Folge uns" />}
</Footer>
);
}
Expand Down
4 changes: 0 additions & 4 deletions src/components/Social/SocialButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import styled from 'styled-components';

import FbIcon from '~/images/facebook.svg';
import TwIcon from '~/images/twitter.svg';

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

switch (props.type) {
case 'twitter':
SocialIcon = TwIcon;
break;
case 'facebook':
default:
SocialIcon = FbIcon;
Expand Down
15 changes: 0 additions & 15 deletions src/components/Social/SocialLinks.js

This file was deleted.

1 change: 0 additions & 1 deletion src/config/aachen/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const menu: ConfigMenu = {
profileLabel: 'Zum Profil',
loginLabel: 'Login',
logo: false,
twitter: false,
items: [
{
type: 'link',
Expand Down
1 change: 0 additions & 1 deletion src/config/types/ConfigMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export type ConfigMenu = {
login?: false | undefined;
loginLabel: string;
logo?: boolean;
twitter?: boolean;
items: MenuItem[];
footeritems: FooterItem[];
};
3 changes: 0 additions & 3 deletions src/images/twitter.svg

This file was deleted.

17 changes: 0 additions & 17 deletions src/pages/Home/Berlin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Link } from '~/components2/Link';
import { Logo as FMBLogo } from '~/components2/Logo';
import config from '~/config';
import FacebookIcon from '~/images/button-social-facebook.svg';
import TwitterIcon from '~/images/button-social-twitter.svg';
import { useTypedSelector } from '~/store';
import { media } from '~/styles/utils';

Expand Down Expand Up @@ -79,16 +78,7 @@ const FacebookButton = styled(FacebookIcon)`
opacity: 0.8;
}
`;
const TwitterButton = styled(TwitterIcon)`
width: 40px;
height: 40px;
margin: 0 5px;
cursor: pointer;

&:hover {
opacity: 0.8;
}
`;
const HomeBerlin = () => {
const dispatch = useDispatch();
const isMenuOpen = useTypedSelector((state) => state.AppState.isMenuOpen);
Expand Down Expand Up @@ -143,13 +133,6 @@ const HomeBerlin = () => {
>
<FacebookButton />
</a>
<a
href="https://twitter.com/fixmyberlin"
rel="noopener noreferrer"
target="_blank"
>
<TwitterButton />
</a>
</SocialWrapper>
</>
);
Expand Down

0 comments on commit 1830578

Please sign in to comment.