Skip to content

Commit

Permalink
Revert "contact form edits"
Browse files Browse the repository at this point in the history
This reverts commit 62a8228.

Because PHP forms aren't supported on Github Pages.
  • Loading branch information
charlestephen committed Feb 22, 2024
1 parent 62a8228 commit fe7d1b2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 232 deletions.
42 changes: 0 additions & 42 deletions assets/vendor/php-email-form/php-email-form.php

This file was deleted.

85 changes: 0 additions & 85 deletions assets/vendor/php-email-form/validate.js

This file was deleted.

2 changes: 0 additions & 2 deletions forms/Readme.txt

This file was deleted.

41 changes: 0 additions & 41 deletions forms/contact.php

This file was deleted.

92 changes: 30 additions & 62 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -537,75 +537,43 @@ <h5>Jan 2012 - Jan 2013</h5>
</section>
<!-- End Resume Section -->

<!-- ======= Contact Section ======= -->
<section id="contact" class="contact">
<div class="container">

<div class="section-title">
<h2>Contact</h2>
<p>Feel free to hit me up as I do freelance work often.</p>
</div>

<div class="row" data-aos="fade-in">

<div class="col-lg-5 d-flex align-items-stretch">
<div class="info">
<div class="address">
<i class="bi bi-geo-alt"></i>
<h4>Location:</h4>
<p>565 Prospect Place, Brooklyn, NY 11238</p>
</div>

<div class="email">
<i class="bi bi-envelope"></i>
<h4>Email:</h4>
<p>[email protected]</p>
</div>

<div class="phone">
<i class="bi bi-phone"></i>
<h4>Call:</h4>
<p>+1.646.902.1485</p>
</div>

<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d12097.433213460943!2d-74.0062269!3d40.7101282!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xb89d1fe6bc499443!2sDowntown+Conference+Center!5e0!3m2!1smk!2sbg!4v1539943755621" frameborder="0" style="border:0; width: 100%; height: 290px;" allowfullscreen></iframe>
</div>
<!-- ======= Contact Section ======= -->
<section id="contact" class="contact">
<div class="container">
<div class="section-title">
<h2>Contact</h2>
<p>
If you feel the need to reach out, my contact information is below
and I do freelance work often. Hit me up.
</p>
</div>

<div class="row" data-aos="fade-in">
<div class="col-lg-5 d-flex align-items-stretch">
<div class="info">
<div class="address">
<i class="bi bi-geo-alt"></i>
<h4>Location:</h4>
<p>Brooklyn, NY 11238</p>
</div>

<div class="col-lg-7 mt-5 mt-lg-0 d-flex align-items-stretch">
<form action="forms/contact.php" method="post" role="form" class="php-email-form">
<div class="row">
<div class="form-group col-md-6">
<label for="name">Your Name</label>
<input type="text" name="name" class="form-control" id="name" required>
</div>
<div class="form-group col-md-6">
<label for="name">Your Email</label>
<input type="email" class="form-control" name="email" id="email" required>
</div>
</div>
<div class="form-group">
<label for="name">Subject</label>
<input type="text" class="form-control" name="subject" id="subject" required>
</div>
<div class="form-group">
<label for="name">Message</label>
<textarea class="form-control" name="message" rows="10" required></textarea>
</div>
<div class="my-3">
<div class="loading">Loading</div>
<div class="error-message"></div>
<div class="sent-message">Your message has been sent. Thank you!</div>
</div>
<div class="text-center"><button type="submit">Send Message</button></div>
</form>
<div class="email">
<i class="bi bi-envelope"></i>
<h4>Email:</h4>
<p>[email protected]</p>
</div>

<div class="phone">
<i class="bi bi-phone"></i>
<h4>Call:</h4>
<p>+1.646.902.1485</p>
</div>
</div>

</div>
</section><!-- End Contact Section -->
</div>
</div>
</section>
<!-- End Contact Section -->
</main>
<!-- End #main -->

Expand Down

0 comments on commit fe7d1b2

Please sign in to comment.