-
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.
fix(*): adjusted contact page and form
- Loading branch information
1 parent
e44dc00
commit affb140
Showing
5 changed files
with
265 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
@font-face { | ||
font-family: "NewYork"; | ||
src: url("../../Assets/Fonts/newyork/newyork.woff"); | ||
} | ||
@font-face { | ||
font-family: "Oregon"; | ||
src: url("../../Assets/Fonts/Oregon_LDO/Oregon_LDO.ttf"); | ||
} | ||
@font-face { | ||
font-family: "Monday"; | ||
src: url("../../Assets/Fonts/Monday/Monday_Routines.woff2") format("woff2"), | ||
url("../../Assets/Fonts/Monday/MondayRoutines.woff") format("woff"), | ||
url("../../Assets/Fonts/Monday/Monday_Routines.ttf") format("truetype"); | ||
} | ||
@font-face { | ||
font-family: "Photograph"; | ||
src: url("../../Assets/Fonts/Photograph/Photograph\ Signature.ttf"); | ||
src: url("../../Assets/Fonts//Photograph/Photograph\ Signature.ttf") | ||
format("truetype"), | ||
url("../../Assets/Fonts//Photograph/Photograph\ Signature\ 2.eot") | ||
format("embedded-opentype"), | ||
url("../../Assets/Fonts/Photograph/Photograph\ Signature\ 2.woff2") | ||
format("woff2"), | ||
url("../../Assets/Fonts/Photograph/Photograph\ Signature.woff") | ||
format("woff"); | ||
} | ||
.contact-wrapper { | ||
width: 100%; | ||
background: white; | ||
} | ||
|
||
.contact-container { | ||
padding: 10%; | ||
padding-bottom: 5%; | ||
text-transform: uppercase; | ||
font-weight: 900; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding-top: 0; | ||
} | ||
|
||
.contact-title { | ||
font-size: 15rem; | ||
padding-top: 2%; | ||
font-family: "NewYork"; | ||
max-width: 100rem; | ||
width: 100%; | ||
} | ||
|
||
.contact-descp { | ||
font-family: "Oregon" !important; | ||
font-size: 5rem; | ||
max-width: 100rem; | ||
width: 100%; | ||
} | ||
.contact-subtitle { | ||
font-family: "NewYork"; | ||
font-size: 13rem; | ||
padding-left: 140px; | ||
max-width: 100rem; | ||
width: 100%; | ||
} | ||
.contact-style { | ||
font-family: "Photograph" !important; | ||
text-transform: capitalize !important; | ||
margin-top: -60px; | ||
padding-left: 420px; | ||
font-size: 15rem; | ||
color: rgb(235, 183, 65); | ||
max-width: 100rem; | ||
width: 100%; | ||
} | ||
.contact-items { | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: flex-start; | ||
padding-top: 5%; | ||
max-width: 100rem; | ||
font-family: "Oregon"; | ||
width: -webkit-fill-available; | ||
} | ||
|
||
.contact-item { | ||
padding-right: 5%; | ||
} | ||
|
||
.contact-item h4 { | ||
font-weight: 700; | ||
letter-spacing: 0.2rem !important; | ||
font-size: 1.5rem; | ||
text-align: left !important; | ||
padding-bottom: 10%; | ||
margin: 0%; | ||
} | ||
|
||
.contact-item p { | ||
letter-spacing: 0.2rem !important; | ||
text-transform: capitalize; | ||
text-align: left !important; | ||
} | ||
|
||
.contact-item a { | ||
text-transform: lowercase; | ||
color: black; | ||
} | ||
@media only screen and (max-width: 1200px) { | ||
.contact-container { | ||
padding: 15%; | ||
} | ||
.contact-title, | ||
.contact-subtitle { | ||
font-size: 120px; | ||
text-align: center; | ||
} | ||
.contact-style { | ||
text-align: end; | ||
padding: 0; | ||
font-size: 130px; | ||
margin-top: -40px; | ||
} | ||
} | ||
@media only screen and (max-width: 950px) { | ||
.contact-container { | ||
padding-top: 20%; | ||
padding-bottom: 10%; | ||
} | ||
.contact-title, | ||
.contact-subtitle { | ||
font-size: 70px; | ||
} | ||
.contact-style { | ||
font-size: 80px; | ||
margin-top: -20px; | ||
} | ||
.contact-item h4 { | ||
font-size: 1.3rem; | ||
} | ||
.contact-item p { | ||
font-size: 1rem; | ||
} | ||
} | ||
@media only screen and (max-width: 700px) { | ||
.contact-container { | ||
padding-top: 30%; | ||
padding-bottom: 10%; | ||
} | ||
.contact-descp { | ||
font-size: 1.5rem; | ||
} | ||
.contact-title, | ||
.contact-subtitle { | ||
font-size: 4rem; | ||
padding: 0; | ||
} | ||
.contact-style { | ||
font-size: 4rem; | ||
padding-top: 0; | ||
text-align: center; | ||
} | ||
.contact-items { | ||
padding-top: 50px; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
max-width: 100rem; | ||
width: 100%; | ||
} | ||
.contact-item h4 { | ||
margin: 0; | ||
text-align: left; | ||
} | ||
} | ||
@media only screen and (max-width: 500px) { | ||
.contact-container { | ||
padding-top: 40%; | ||
padding-bottom: 10%; | ||
} | ||
.contact-title { | ||
padding-top: 40px; | ||
} | ||
.contact-title, | ||
.contact-subtitle { | ||
font-size: 3rem; | ||
} | ||
.contact-style { | ||
font-size: 3.5rem; | ||
} | ||
.contact-item { | ||
font-size: 0.7rem; | ||
} | ||
.contact-item h4 { | ||
font-size: 1rem; | ||
padding-top: 4%; | ||
padding-bottom: 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 |
---|---|---|
@@ -1,25 +1,54 @@ | ||
import React from 'react'; | ||
import ContactForm from '../../Components/Form/ContactForm' | ||
import { StyledHr } from '../../Layout/Hr/styledHr'; | ||
import { HeroContainer, HeroPositioning} from '../../Layout/Hero/styledHero'; | ||
import { StyledH2 } from '../../Layout/Headers/styledH2'; | ||
import { StyledContainer } from '../../Layout/Container/styledContainer'; | ||
import Footer from '../../Components/Footer/Footer'; | ||
import ContactForm from '../../Components/Form/ContactForm'; | ||
import NavBar from '../../Components/NavBar/NavBar'; | ||
import './Contact.css' | ||
|
||
const Contact = () => { | ||
return ( | ||
<> | ||
<HeroContainer Contact> | ||
<HeroPositioning/> | ||
</HeroContainer> | ||
<StyledHr Primary/> | ||
<StyledContainer > | ||
<StyledH2>Contact Me</StyledH2> | ||
<ContactForm /> | ||
</StyledContainer > | ||
<StyledHr Primary/> | ||
<> | ||
<NavBar /> | ||
<div className="contact-wrapper"> | ||
<div className="contact-container"> | ||
<h2 className="contact-descp">Contact</h2> | ||
<h3 className="contact-title">Let's Work</h3> | ||
<h3 className="contact-subtitle">Together</h3> | ||
<h3 className="contact-style">Connect</h3> | ||
<div className="contact-items"> | ||
<ContactForm/> | ||
<div className="contact-item"> | ||
<h4> | ||
Address | ||
</h4> | ||
<p> | ||
Workplace | ||
<p> | ||
Houston, TX | ||
</p> | ||
</p> | ||
</div> | ||
<div className="contact-item"> | ||
<h4> | ||
Phone | ||
</h4> | ||
<p> | ||
+1 832-377-6772 | ||
</p> | ||
</div> | ||
<div className="contact-item"> | ||
<h4> | ||
</h4> | ||
<p className="contact-email"> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<Footer/> | ||
</> | ||
) | ||
|
||
} | ||
|
||
export default Contact; |