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

Add footer logos #1232

Merged
merged 1 commit into from
Jul 9, 2024
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
22 changes: 14 additions & 8 deletions packages/web/components/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import Proptypes from 'prop-types';
import { FaFacebookF, FaTwitter, FaInstagram, FaLinkedin, FaYoutube } from 'react-icons/fa';
import { Link } from '../Link';
Expand All @@ -22,6 +21,7 @@ import {
SiteSocketContainer,
SiteSocketList,
SiteSocketListItem,
LogosContainer,
} from './styles';

const Footer = ({ isAbout }) => (
Expand Down Expand Up @@ -176,10 +176,10 @@ const Footer = ({ isAbout }) => (
</SiteInfoListItem>
{/* <SiteInfoListItem>
<Link href={internalPages.ideas}>Banco de Ideias</Link>
</SiteInfoListItem>*/}
</SiteInfoListItem> */}
<SiteInfoListItem>
<Link href={internalPages.announcements}>Banco de Editais</Link>
</SiteInfoListItem>
</SiteInfoListItem>
<SiteInfoListItem>
<Link href={internalPages.showcase}>Vitrines tecnológicas</Link>
</SiteInfoListItem>
Expand All @@ -205,11 +205,17 @@ const Footer = ({ isAbout }) => (
</SiteInfo>
<SiteSocket>
<SiteSocketContainer>
<div>
<span>Orgulhosamente</span> desenvolvido pela equipe da
<span> Plataforma Sabiá</span> na{' '}
<span>UNIVERSIDADE FEDERAL RURAL DO SEMI-ÁRIDO - UFERSA</span>.
</div>
<LogosContainer>
<img
src="/logo-ufersa-color.png"
alt="Logo da Universidade Federal Rural do Semi-Árido"
/>
<img
src="/logo-mdir-color.jpg"
alt="Logo do Ministério do Desenvolvimento Regional"
/>
</LogosContainer>

<SiteSocketList>
<SiteSocketListItem>
<Link href={internalPages.privacyPolicy}>Política de Privacidade</Link>
Expand Down
55 changes: 35 additions & 20 deletions packages/web/components/Footer/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const SiteInfoListItem = styled.li`

export const SiteSocket = styled.div`
color: ${({ theme }) => theme.colors.secondary};
background-color: ${({ theme }) => theme.colors.border};
background-color: ${({ theme }) => theme.colors.white};
width: 100%;
padding: 6rem 3rem;
font-size: 1.4rem;
Expand All @@ -193,31 +193,32 @@ export const SiteSocket = styled.div`
`;

export const SiteSocketContainer = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
${({ theme: { screens } }) => css`
display: flex;
align-items: center;
justify-content: space-between;

max-width: ${({ theme }) => theme.metrics.containerWidth}rem;
width: 100%;
margin: 0 auto;
max-width: ${`${screens.large}px`};
margin: 0 auto;

> div {
width: 50%;
}
> div {
width: 50%;
}

span {
font-weight: bold;
}
span {
font-weight: bold;
}

@media (max-width: ${({ theme }) => theme.screens.large}px) {
flex-direction: column;
@media (max-width: ${({ theme }) => theme.screens.large}px) {
flex-direction: column;

div {
text-align: center;
margin-bottom: 3rem;
width: 100%;
div {
text-align: center;
margin-bottom: 3rem;
width: 100%;
}
}
}
`}
`;

export const SiteSocketList = styled.ul`
Expand Down Expand Up @@ -249,3 +250,17 @@ export const SiteSocketListItem = styled.li`
margin: 2rem 0;
}
`;

export const LogosContainer = styled.div`
img {
display: block;
}

display: flex;
flex-direction: row;
gap: 16px;

@media (max-width: ${({ theme }) => theme.screens.medium}px) {
flex-direction: column;
}
`;
Binary file added packages/web/public/logo-mdir-color.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/web/public/logo-ufersa-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading