Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

885 modify footer remove logos #921

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions client/src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import React from 'react';
import { Layout, Typography } from 'antd';
import { Trans } from '@lingui/macro';
import { Link } from 'react-router-dom';
import FooterLogo from './FooterLogo';

import Mkbt from '../../images/MKBT-logo-black.png';
import Commitglobal from '../../images/Commitglobal.svg';
import Tfsg from '../../images/footer_tfsg.svg';

import { useGlobalContext } from '../../context';

Expand All @@ -19,26 +14,6 @@ const FooterFragment = () => {
return (
<Footer className="footer">
<div className="container">
<div className="footer__logos">
<FooterLogo
label={<Trans>A project by </Trans>}
href={`https://mkbt.ro/?lang=${currentLanguage}`}
src={Mkbt}
height="70px"
/>
<FooterLogo
label={<Trans>Implemented by </Trans>}
href={`https://tfsg.code4.ro/${currentLanguage}`}
src={Tfsg}
height="50px"
/>
<FooterLogo
label={<Trans>Designed by </Trans>}
href={`https://code4.ro/${currentLanguage}`}
src={Commitglobal}
height="50px"
/>
</div>
<div className="footer__links">
<Link to="/adauga-cladire">
<Text>
Expand Down
4 changes: 2 additions & 2 deletions client/src/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ window.H.geo.Rect = jest.fn().mockReturnValue(jest.fn());
// https://github.com/afc163/typeError-cannot-read-property-addListener-of-undefined/commit/873ce9b730a1c21b40c9264e5f29fc2df436136b
global.matchMedia =
global.matchMedia ||
function () {
(() => {
return {
matches: false,
addListener: jest.fn(),
removeListener: jest.fn(),
};
};
});
10 changes: 0 additions & 10 deletions client/src/styles/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
margin-top: auto;
}

.footer__logos {
display: flex;
flex-direction: column;
}

.footerLogo {
margin: 0 0 40px;
}
Expand Down Expand Up @@ -48,11 +43,6 @@ a.footer__donate {
}

@media (min-width: $breakpoint-tablet) {
.footer__logos {
flex-direction: row;
justify-content: center;
}

.footerLogo {
margin: 0 30px;
}
Expand Down