Skip to content

Commit

Permalink
feat: add footer logos
Browse files Browse the repository at this point in the history
  • Loading branch information
mtullyoc committed Jul 9, 2024
1 parent 19faad6 commit f70da82
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 28 deletions.
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.

0 comments on commit f70da82

Please sign in to comment.