Skip to content

Commit

Permalink
Put Meta Tag on each html page, changed email on php files
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarcia45 committed Jan 18, 2020
1 parent 57fe807 commit 3a28f31
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 33 deletions.
12 changes: 9 additions & 3 deletions ContactUs.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

<head>
<meta charset="UTF-8">
<!--Emilio's Meta-->
<meta name="description" content="Contact Emilio Huerta">
<meta name="keywords" content="Emilio, Huerta, Contact, Emilio Huerta">
<meta name="author" content="Emilio Huerta">
<!--End of Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Contact Us</title>
Expand Down Expand Up @@ -67,7 +72,7 @@

<!--Contact Us------------------------------------------------------------------------------------------------------------------------------------------------------------>
<div class="container my-5">

<style>
.border-top {
border-top: 5px solid gold !important;
Expand Down Expand Up @@ -110,7 +115,7 @@ <h3 class="font-weight-bold my-4">Contact Us</h3>
<div class="col-md-6 mb-4">

<!-- Phone -->
<input type="tel" id="Phone" name="Phone" class="form-control" placeholder="Phone (Optional)">
<input type="tel" id="Phone" name="Phone" class="form-control" placeholder="Phone (Optional)">

</div>
<div class="col-md-6 mb-4">
Expand Down Expand Up @@ -142,7 +147,8 @@ <h3 class="font-weight-bold my-4">Contact Us</h3>
</div>

<div class="text-center">
<button type="button" class="btn btn-lg submit-button" onclick="ValidateContactUsForm()">Submit</button>
<button type="button" class="btn btn-lg submit-button"
onclick="ValidateContactUsForm()">Submit</button>
</div>

</div>
Expand Down
5 changes: 5 additions & 0 deletions HowToVote.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

<head>
<meta charset="UTF-8">
<!--Emilio's Meta-->
<meta name="description" content="How to Vote Emilio Huerta">
<meta name="keywords" content="Emilio, Huerta, Vote, Emilio Huerta, How to vote, how">
<meta name="author" content="Emilio Huerta">
<!--End of Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>How To Vote</title>
Expand Down
43 changes: 21 additions & 22 deletions MeetEmilio.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
</style>

<meta charset="UTF-8">
<!--Emilio's Meta-->
<meta name="description" content="Meet Emilio Huerta">
<meta name="keywords" content="Emilio, Huerta, Meet Emilio, Meet, About">
<meta name="author" content="Emilio Huerta">
<!--End of Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Meet Emilio</title>
Expand Down Expand Up @@ -284,9 +289,8 @@ <h4 class="font-weight-bold mb-4 pb-2 text-center">Emilio's Key Points</h4>
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/Fresh Water 4 to 3 ratio.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/Fresh Water 4 to 3 ratio.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand All @@ -301,8 +305,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE CLEAN WATER<
Kern County families deserve safe schools. As Supervisor, I will fight to ensure that each school in our
community is safe for our children by supporting earthquake retrofitting and improved fire safety.
</p>
<a class="btn submit-button btn-md btn-rounded" type="button" data-toggle="collapse" data-target="#CleanWater"
aria-expanded="false" aria-controls="CleanWater">Read More</a>
<a class="btn submit-button btn-md btn-rounded" type="button" data-toggle="collapse"
data-target="#CleanWater" aria-expanded="false" aria-controls="CleanWater">Read More</a>
</div>

</div>
Expand All @@ -312,9 +316,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE CLEAN WATER<
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/healthcare 4 to 3 ratio.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/healthcare 4 to 3 ratio.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand All @@ -329,8 +332,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE EXCELLENT HE
Kern County families deserve safe schools. As Supervisor, I will fight to ensure that each school in our
community is safe for our children by supporting earthquake retrofitting and improved fire safety.
</p>
<a class="btn submit-button btn-md btn-rounded" type="button" data-toggle="collapse" data-target="#HealthCare"
aria-expanded="false" aria-controls="HealthCare">Read More</a>
<a class="btn submit-button btn-md btn-rounded" type="button" data-toggle="collapse"
data-target="#HealthCare" aria-expanded="false" aria-controls="HealthCare">Read More</a>
</div>

</div>
Expand All @@ -340,9 +343,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE EXCELLENT HE
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/homes.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/homes.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand All @@ -364,9 +366,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE ACCESS TO QU
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/safety.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/safety.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand All @@ -389,9 +390,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY FAMILIES DESERVE TO BE SAFE</
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/americanflag.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/americanflag.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand All @@ -415,9 +415,8 @@ <h4 class="font-weight-bold mt-1 mb-3">KERN COUNTY VETERANS DESERVE SUPPORT.</h4
<div class="col-lg-6 col-md-12 mb-4">

<div class="view overlay rounded z-depth-1">
<img src="img/Huerta/homeless.jpg" class="img-fluid"
alt="Sample project image">

<img src="img/Huerta/homeless.jpg" class="img-fluid" alt="Sample project image">

</div>

<div class="px-3 pt-3 mx-1 mt-1 pb-0">
Expand Down
15 changes: 10 additions & 5 deletions Volunteer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

<head>
<meta charset="UTF-8">
<!--Emilio's Meta-->
<meta name="description" content="Volunteer Emilio Huerta">
<meta name="keywords" content="Emilio, Huerta, Volunteer, Emilio Huerta">
<meta name="author" content="Emilio Huerta">
<!--End of Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Volunteer</title>
Expand Down Expand Up @@ -102,7 +107,7 @@
</div>

<!--Grid Row-->
<form class="" name="volunteerForm" id="volunteerForm" action="volunteer.php" method="POST">
<form class="" name="volunteerForm" id="volunteerForm" action="volunteer.php" method="POST">
<!--Grid row-->
<div class="row">

Expand All @@ -125,16 +130,16 @@
<!--Grid column-->

<!--Grid column-->

<!--Grid column-->

</div>
<!--Grid row-->
<div class="md-form md-outline mb-0">
<input type="email" id="email" name="email" class="form-control">
<label for="email">E-mail</label>
</div>
</div>

<div class="row">
<div class="col-md-6">

Expand All @@ -159,7 +164,7 @@
</div>

<!-- Material outline input -->


<!-- Material outline input -->
<div class="md-form md-outline">
Expand Down
2 changes: 1 addition & 1 deletion contactus.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}

$content="From: $name \n Email: $email \n Message: $message \n Phone: $Phone Texting Ok: $textok" ;
$recipient = "harman2to1@gmail.com";
$recipient = "EmiliosNewsletter@gmail.com";
$mailheader = "From: $email \r\n";
mail($recipient, $subject, $content, $mailheader) or die("Error!");
echo "Email sent!";
Expand Down
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

<head>
<meta charset="UTF-8">
<!--Emilio's Meta-->
<meta name="description" content="Emilio Huerta for Supervisor">
<meta name="keywords" content="Emilio, Huerta, Supervisor, Vote, District 4, Kern County">
<meta name="author" content="Emilio Huerta">
<!--End of Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Emilio Huerta</title>
Expand Down
2 changes: 1 addition & 1 deletion newsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if(isset($_POST['news']))
$news = $_POST['news'];

$recipient = "harman2to1@gmail.com";
$recipient = "EmiliosNewsletter@gmail.com";
mail($recipient, "News Letter Subscriber", "Test Test") or die("Error!");
echo "Email sent!";

Expand Down
2 changes: 1 addition & 1 deletion volunteer.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}

$content="From: $name \n Email: $email \n Message: $message \n Phone: $Phone Texting Ok: $textok" ;
$recipient = "harman2to1@gmail.com";
$recipient = "EmiliosNewsletter@gmail.com";
$mailheader = "From: $email \r\n";
mail($recipient, $subject, $content, $mailheader) or die("Error!");
echo "Email sent!";
Expand Down

0 comments on commit 3a28f31

Please sign in to comment.