-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement: enhance various pages and components
- Loading branch information
1 parent
ce4979d
commit 754335f
Showing
18 changed files
with
147 additions
and
24 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
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 Image from 'next/image' | ||
import { StyledBanner, StyledImage, StyledContent } from './style' | ||
import { Robot } from '@/assets' | ||
|
||
const Banner = ({ translate }: { translate: any }) => { | ||
return ( | ||
<StyledBanner> | ||
<StyledImage src={Robot} alt="Robô" /> | ||
<StyledContent> | ||
<h2> | ||
<span>RobôCIn:</span> {translate.title} | ||
</h2> | ||
<p>{translate.complement}</p> | ||
</StyledContent> | ||
</StyledBanner> | ||
) | ||
} | ||
|
||
export default Banner |
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,58 @@ | ||
import Image from 'next/image' | ||
import styled from 'styled-components' | ||
|
||
export const StyledBanner = styled.section` | ||
padding: 12vh 12vw 6vh; | ||
min-height: 100vh; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
gap: 2vw; | ||
@media (max-width: 768px) { | ||
flex-direction: column; | ||
} | ||
` | ||
|
||
export const StyledImage = styled(Image)` | ||
width: calc(16vw + 200px); | ||
height: auto; | ||
@media (max-width: 768px) { | ||
width: 80vw; | ||
} | ||
` | ||
|
||
export const StyledContent = styled.div` | ||
text-align: right; | ||
width: calc(48vw + 2rem); | ||
h2 { | ||
font-size: calc(0.3rem + 3vw); | ||
font-weight: 900; | ||
margin-bottom: calc(2vh + 1rem); | ||
span { | ||
color: #469c57; | ||
} | ||
} | ||
p { | ||
font-size: calc(0.8rem + 0.75vw); | ||
} | ||
@media (max-width: 768px) { | ||
text-align: left; | ||
width: calc(80vw + 2rem); | ||
h2 { | ||
font-size: calc(2rem + 1vw); | ||
margin-bottom: calc(4vh + 0.5rem); | ||
} | ||
p { | ||
font-size: calc(1.6rem + 0.3vw); | ||
} | ||
} | ||
` |
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 |
---|---|---|
|
@@ -44,10 +44,7 @@ const Sponsors = ({ translate }: SponsorsProps) => { | |
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<S.Mail> | ||
<S.MailIcon src={Mail} alt="Mail Icon" /> | ||
[email protected] | ||
</S.Mail> | ||
<S.Mail>📫 [email protected]</S.Mail> | ||
</a> | ||
</S.Column> | ||
</S.Container> | ||
|
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
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