-
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.
- Loading branch information
Showing
6 changed files
with
225 additions
and
222 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
import styled from 'styled-components' | ||
|
||
export const About = styled.div` | ||
padding-top: 5rem; | ||
padding-bottom: 5rem; | ||
@media (max-width: 899px) { | ||
padding-top: 3rem; | ||
} | ||
header { | ||
display: grid; | ||
grid-template-columns: 425px 1fr; | ||
gap: 100px; | ||
align-items: center; | ||
margin-bottom: 3rem; | ||
@media (max-width: 899px) { | ||
grid-template-columns: 1fr; | ||
gap: 2rem; | ||
margin-bottom: 0; | ||
} | ||
img { | ||
border-radius: 40px 0 40px 0; | ||
} | ||
} | ||
h1 { | ||
margin-top: 0; | ||
@media (max-width: 899px) { | ||
font-size: var(--font-size__h3); | ||
} | ||
} | ||
h2 { | ||
font-size: var(--font-size__h4); | ||
} | ||
.blocks { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: 30px; | ||
margin: 4rem 0; | ||
@media (max-width: 899px) { | ||
grid-template-columns: 1fr; | ||
gap: 1rem; | ||
} | ||
> div { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 2rem; | ||
font-size: var(--font-size__base--sm); | ||
gap: 30px; | ||
@media (max-width: 899px) { | ||
flex-direction: column; | ||
gap: 1rem; | ||
.button { | ||
width: 100%; | ||
box-sizing: border-box; | ||
text-align: center; | ||
} | ||
} | ||
&:nth-of-type(1) { | ||
background: rgba(245, 45, 134, 0.1); | ||
color: rgb(245, 45, 134); | ||
span { | ||
font-family: var(--font-family__code); | ||
font-size: var(--font-size__h4); | ||
} | ||
} | ||
&:nth-of-type(2) { | ||
background: rgba(113, 28, 180, 0.1); | ||
color: rgb(113, 28, 180); | ||
a { | ||
background: rgb(113, 28, 180); | ||
font-family: var(--font-family__code); | ||
color: #fff; | ||
} | ||
} | ||
} | ||
p { | ||
margin: 0; | ||
} | ||
} | ||
` |
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,107 @@ | ||
import styled from 'styled-components' | ||
|
||
export const Contact = styled.div` | ||
margin: 5rem 0; | ||
display: grid; | ||
grid-template-columns: 1.5fr 2fr; | ||
gap: 70px; | ||
@media (max-width: 1175px) { | ||
display: block; | ||
} | ||
@media (max-width: 600px) { | ||
margin: 3rem 0; | ||
} | ||
form { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: 30px; | ||
@media (max-width: 600px) { | ||
grid-template-columns: 1fr; | ||
gap: 20px; | ||
} | ||
> div:last-of-type { | ||
grid-column: 1 / 3; | ||
@media (max-width: 600px) { | ||
grid-column: 1 / 2; | ||
} | ||
} | ||
} | ||
label { | ||
font-weight: bold; | ||
font-size: var(--font-size__base--sm); | ||
color: var(--color__headline); | ||
} | ||
span { | ||
background: #fff; | ||
display: block; | ||
position: relative; | ||
background-color: #f5f8f9; | ||
z-index: 1; | ||
border-radius: 10px; | ||
} | ||
input, | ||
textarea, | ||
select { | ||
display: block; | ||
width: 100% !important; | ||
border: none; | ||
font-weight: normal; | ||
padding: 1rem 20px; | ||
outline: 0; | ||
margin-top: 7px; | ||
resize: none; | ||
border-radius: 8px; | ||
-moz-appearance: none; | ||
-webkit-appearance: none; | ||
appearance: none; | ||
background: none; | ||
} | ||
input, | ||
select { | ||
height: 3rem; | ||
line-height: 3rem; | ||
padding: 0 20px; | ||
} | ||
select + svg { | ||
position: absolute; | ||
right: 15px; | ||
top: 16px; | ||
width: 21px; | ||
z-index: -1; | ||
path { | ||
fill: #53caee; | ||
} | ||
} | ||
textarea { | ||
min-height: 10rem; | ||
@media (max-width: 600px) { | ||
height: 100px; | ||
} | ||
} | ||
button { | ||
grid-column: 2 / 3; | ||
margin: 1rem 0 0 auto; | ||
cursor: pointer; | ||
@media (max-width: 600px) { | ||
grid-column: 1 / 2; | ||
margin-left: 0; | ||
display: block; | ||
} | ||
} | ||
` |
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,16 @@ | ||
import styled from 'styled-components' | ||
|
||
export const Thanks = styled.div` | ||
text-align: center; | ||
a { | ||
color: var(--color_blue); | ||
font-weight: bold; | ||
text-decoration: underline; | ||
} | ||
img { | ||
display: block; | ||
margin: 50px auto 100px; | ||
} | ||
` |
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
Oops, something went wrong.