Built contact form
This commit is contained in:
1 parent
a942d6f777
commit
03f86dd6bb
3 files changed
+167
-56
No files matched your search
@@ -31,6 +31,10 @@
|
|||||||
.steps-grid {
|
.steps-grid {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heading-sub {
|
||||||
|
max-width: 100rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************/
|
/************************/
|
||||||
@@ -136,6 +140,22 @@
|
|||||||
.steps-grid {
|
.steps-grid {
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contact-img {
|
||||||
|
width: 40rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-field {
|
||||||
|
width: 40rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heading-sub {
|
||||||
|
max-width: 85rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-grid {
|
||||||
|
gap: 6rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************/
|
/************************/
|
||||||
@@ -238,6 +258,22 @@
|
|||||||
.footer-links .main-nav-link {
|
.footer-links .main-nav-link {
|
||||||
color: #0b1532;
|
color: #0b1532;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contact-img {
|
||||||
|
width: 30rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-field {
|
||||||
|
width: 50rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heading-sub {
|
||||||
|
max-width: 65rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-grid {
|
||||||
|
gap: 5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************/
|
/************************/
|
||||||
@@ -283,7 +319,12 @@
|
|||||||
.heading-sub {
|
.heading-sub {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-field {
|
||||||
|
width: 38rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
+41
-13
@@ -180,6 +180,10 @@ p {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heading-sub {
|
||||||
|
max-width: 120rem;
|
||||||
|
}
|
||||||
|
|
||||||
.btn:link,
|
.btn:link,
|
||||||
.btn:visited {
|
.btn:visited {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -445,8 +449,6 @@ p {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
border: 3px solid #2d54c7;
|
|
||||||
background-color: rgb(11, 21, 50, 0.4);
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5rem;
|
gap: 5rem;
|
||||||
@@ -460,27 +462,53 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contact-img {
|
.contact-img {
|
||||||
padding: 1rem;
|
width: 50rem;
|
||||||
|
align-self: center;
|
||||||
|
justify-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-card {
|
.contact-form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
gap: 2rem;
|
gap: 4rem;
|
||||||
|
align-self: center;
|
||||||
|
justify-self: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-card a:link,
|
.form-field {
|
||||||
.contact-card a:visited {
|
border: 3px solid #2d54c7;
|
||||||
text-decoration: none;
|
border-radius: 2rem;
|
||||||
|
padding: 2rem;
|
||||||
|
background-color: #0b1532;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
transition: all 0.3s;
|
width: 50rem;
|
||||||
|
font-size: 2rem;
|
||||||
|
font-family: "Space Grotesk", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-card a:hover,
|
.btn-form {
|
||||||
.contact-card a:active {
|
background-color: transparent;
|
||||||
color: #2d54c7;
|
color: #fff;
|
||||||
text-decoration: underline;
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: "Space Grotesk", sans-serif;
|
||||||
|
font-size: 2rem;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 3px solid #ffe642;
|
||||||
|
border-radius: 100px;
|
||||||
|
padding: 1.6rem 3.2rem;
|
||||||
|
transition: all 0.3s;
|
||||||
|
width: fit-content;
|
||||||
|
height: fit-content;
|
||||||
|
cursor: pointer;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-links {
|
||||||
|
display: flex;
|
||||||
|
gap: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icons {
|
.social-icons {
|
||||||
|
|||||||
+85
-43
@@ -256,7 +256,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="contact-section" id="contact">
|
<section class="contact-section" id="contact">
|
||||||
<div class="heading-wrapper">
|
<div class="heading-wrapper">
|
||||||
<img
|
<img
|
||||||
@@ -267,53 +266,96 @@
|
|||||||
<h2>Contact Me</h2>
|
<h2>Contact Me</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="heading-sub">
|
<p class="heading-sub">
|
||||||
Let's connect! Choose your preferred contact method below.
|
Let’s connect! Whether you have a quick question, need a custom quote,
|
||||||
|
or just want to discuss ideas, feel free to reach out. Drop me a
|
||||||
|
message through the form, email, or phone, and I’ll get back to you
|
||||||
|
promptly so we can start building something great together.
|
||||||
</p>
|
</p>
|
||||||
<div class="contact-grid">
|
<div class="contact-grid">
|
||||||
<div class="contact-wrapper">
|
|
||||||
<div class="contact-card">
|
|
||||||
<h3>Email</h3>
|
|
||||||
<a href="mailto:blake@cosmicallycreative.com"
|
|
||||||
>blake@cosmicallycreative.com</a
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="contact-card">
|
|
||||||
<h3>Phone</h3>
|
|
||||||
<a href="tel:+17125786203">712-578-6203</a>
|
|
||||||
</div>
|
|
||||||
<div class="contact-card">
|
|
||||||
<h3>Social Media</h3>
|
|
||||||
<div class="social-icons">
|
|
||||||
<div class="social-icon-wrapper">
|
|
||||||
<a href="https://www.facebook.com/cosmicallycreative"
|
|
||||||
><img
|
|
||||||
class="social-icon"
|
|
||||||
src="img/icons/social/facebook.svg"
|
|
||||||
alt="facebook icon"
|
|
||||||
/></a>
|
|
||||||
</div>
|
|
||||||
<div class="social-icon-wrapper">
|
|
||||||
<a href="https://www.instagram.com/cosmicallycreative"
|
|
||||||
><img
|
|
||||||
class="social-icon"
|
|
||||||
src="img/icons/social/instagram.svg"
|
|
||||||
alt="instagram icon"
|
|
||||||
/></a>
|
|
||||||
</div>
|
|
||||||
<div class="social-icon-wrapper">
|
|
||||||
<a href="https://github.com/Cosmically-Creative"
|
|
||||||
><img
|
|
||||||
class="social-icon"
|
|
||||||
src="img/icons/social/github.svg"
|
|
||||||
alt="github icon"
|
|
||||||
/></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="contact-img">
|
<div class="contact-img">
|
||||||
<img src="img/rocket-launch.svg" alt="rocket taking off" />
|
<img src="img/rocket-launch.svg" alt="rocket taking off" />
|
||||||
</div>
|
</div>
|
||||||
|
<form
|
||||||
|
class="contact-form"
|
||||||
|
name="contact"
|
||||||
|
action="https://formbold.com/s/67LMK"
|
||||||
|
method="POST"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<label for="full-name"></label>
|
||||||
|
<input
|
||||||
|
class="form-field"
|
||||||
|
id="full-name"
|
||||||
|
type="text"
|
||||||
|
placeholder="Full Name"
|
||||||
|
name="name"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label for="email"></label>
|
||||||
|
<input
|
||||||
|
class="form-field"
|
||||||
|
id="email"
|
||||||
|
type="email"
|
||||||
|
placeholder="Email"
|
||||||
|
name="email"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label for="message"></label>
|
||||||
|
<textarea
|
||||||
|
class="form-field"
|
||||||
|
id="message"
|
||||||
|
name="message"
|
||||||
|
placeholder="Message"
|
||||||
|
required
|
||||||
|
></textarea>
|
||||||
|
</div>
|
||||||
|
<button type="submit" class="btn btn-form">Send Message</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="social-links">
|
||||||
|
<div class="social-icon-wrapper">
|
||||||
|
<a
|
||||||
|
href="https://www.facebook.com/cosmicallycreative"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
class="social-icon"
|
||||||
|
src="img/icons/social/facebook.svg"
|
||||||
|
alt="facebook icon"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="social-icon-wrapper">
|
||||||
|
<a
|
||||||
|
href="https://www.instagram.com/cosmicallycreative"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
class="social-icon"
|
||||||
|
src="img/icons/social/instagram.svg"
|
||||||
|
alt="instagram icon"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="social-icon-wrapper">
|
||||||
|
<a
|
||||||
|
href="https://github.com/Cosmically-Creative"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
class="social-icon"
|
||||||
|
src="img/icons/social/github.svg"
|
||||||
|
alt="github icon"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<nav class="footer-nav">
|
<nav class="footer-nav">
|
||||||
|
|||||||
Reference in new issue
Block a user