-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from estartando-devs/fix/novas-datas
Fix/novas datas
- Loading branch information
Showing
10 changed files
with
171 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { LinkWrapper } from '../../LinkWrapper'; | ||
import * as S from './styles'; | ||
|
||
export const BannerSubscribe = () => ( | ||
<S.BannerApprovedContainer> | ||
<S.BannerContent> | ||
<S.BannerTitle variant="h2">A inscrições estão abertas!</S.BannerTitle> | ||
<S.ContainerButton> | ||
<LinkWrapper | ||
color="white" | ||
href={process.env.NEXT_PUBLIC_INSCRICOES_URL || ''} | ||
legacyBehavior | ||
> | ||
<S.BannerButton>Inscreva-se!</S.BannerButton> | ||
</LinkWrapper> | ||
</S.ContainerButton> | ||
</S.BannerContent> | ||
</S.BannerApprovedContainer> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import styled from 'styled-components'; | ||
import { Typography } from '../../Typography'; | ||
|
||
export const BannerApprovedContainer = styled.div` | ||
padding: 20px 40px; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: ${(props) => props.theme.palette?.design.green}; | ||
@media (max-width: 768px) { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
} | ||
`; | ||
|
||
export const BannerContent = styled.div` | ||
width: 100%; | ||
max-width: 1028px; | ||
display: flex; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const BannerTitle = styled(Typography).attrs({ | ||
variant: 'h2', | ||
weight: 'bold', | ||
})` | ||
margin-bottom: 15px; | ||
`; | ||
|
||
export const BannerDescription = styled(Typography).attrs({ | ||
variant: 'body1', | ||
weight: '400', | ||
})` | ||
margin-bottom: 30px; | ||
`; | ||
|
||
export const BannerButton = styled.a` | ||
color: ${({ theme }) => theme.palette.design.green_dark} !important; | ||
max-width: 470px; | ||
padding: 14px 24px !important; | ||
display: flex; | ||
background: ${({ theme }) => theme.palette.design.white}; | ||
border-radius: 4px; | ||
`; | ||
|
||
export const ContainerButton = styled.div` | ||
max-width: 15rem; | ||
@media (max-width: ${({ theme: { media } }) => media.tablet_portrait}) { | ||
max-width: 100%; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters