Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contact page design update #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/pages/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ class Contact extends Component {
return (
<div className="section">
<div className="contactWrapper" id="Contact">
<div data-aos="fade-in" data-aos-duration="4000"></div>
<h1 className="title" data-aos="fade-down" data-aos-delay="0">
Contact<br></br><div className="line">Us</div>
</h1>
<div className="contactInner">
<form className="contactForm">
<h1 className="">Contact Us</h1>
<div className="inputBox animate__animated animate__backInUp">
<input type="text" id="contactName" required></input>
<span>Name</span>
Expand All @@ -41,6 +44,10 @@ class Contact extends Component {
<input type="text" id="contactEmail" required></input>
<span>Email</span>
</div>
<div className="inputBox animate__animated animate__backInUp">
<input type="text" id="contactSubject" required></input>
<span>Subject</span>
</div>
<div className="inputBox animate__animated animate__backInUp">
<textarea id="contactMessage" required></textarea>
<span>Message</span>
Expand Down
56 changes: 52 additions & 4 deletions src/style/Contact.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,73 @@
.contactWrapper {
display: flex;
flex-direction: row;
align-items: center;
align-items: right;
}
.title {
text-align: right;
width: 40%;
}

.line {
position: relative;
text-align: left;
font-family: "Open Sans", sans-serif;
font-weight: bold;
font-size: 90px;
line-height: 100%;
vertical-align: top;
border-radius: nullpx;
margin-bottom: 2%;
color: #facd2e;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

overflow: hidden;
text-align: right;
}

.line:before,
.line:after {
background-color: #FACD2E;
content: "";
display: inline-block;
height: 2px;
position: relative;
vertical-align: middle;
width: 50%;
}

.line:before {
right: 0.5em;
margin-left: -50%;
}

.line:after {
left: 0.5em;
margin-right: -50%;
}


.contactInner {
display: flex;
width: 100%;
justify-content: center;
justify-content: right;
margin-bottom: 200px;
color: white;

margin-right: 10%;
}

.contactForm {
width: 40%;
width: 60%;
padding: 50px;
border-radius: 15px;
margin-left: 0%;
background: black;
border-color: #075E5E;
border-width: .25em;
border-style: double;
display: flex;
flex-direction: column;
flex-direction:column;
}

.inputBox {
Expand Down