diff --git a/contactform.php b/contactform.php index 74caebb..225bf52 100644 --- a/contactform.php +++ b/contactform.php @@ -8,17 +8,18 @@ * @author Jeffery Russell 6-17-18 */ +$secret_file_path = '../captchaSecret.txt'; +$personal_email_path = '../email.txt'; + + if(isset($_POST['submit'])) { if(isset($_POST['g-recaptcha-response'])) { - $secret_file_path = '../captchaSecret.txt'; $secret = file_get_contents($secret_file_path, FILE_USE_INCLUDE_PATH); - $personal_email_path = '../email.txt'; $toEmail = file_get_contents($personal_email_path, FILE_USE_INCLUDE_PATH); - if($secret === false) { echo "File with the captcha secret is not set:"; diff --git a/css/freelancer.css b/css/freelancer.css index 3dd2426..6b44f9c 100755 --- a/css/freelancer.css +++ b/css/freelancer.css @@ -79,7 +79,8 @@ section { section.success { color: white; - background: #37ADBE; } + background: url("../img/background_2.png") center center fixed; +} @media (max-width: 767px) { section { @@ -184,7 +185,7 @@ header.masthead { header.masthead .intro-text .name { font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-size:7vw; + font-size:6vw; font-weight: 700; display: block; text-transform: uppercase; @@ -192,7 +193,7 @@ header.masthead { } header.masthead .intro-text .skills { - font-size: 1.25em; + font-size:2vw; font-weight: 300; } @@ -480,13 +481,11 @@ footer a{ .banner { - background: #384859; + background: transparent; background: url("../img/background_light.png") center center fixed; - box-sizing: border-box; color: #fff; display: block; - margin: 0 auto; - padding: 10px 0; + position: relative; min-height: 350px; height: 100vh !important; diff --git a/img/background_2.png b/img/background_2.png new file mode 100644 index 0000000..e7aee2b Binary files /dev/null and b/img/background_2.png differ diff --git a/img/background_light.png b/img/background_light.png index f44ebc8..23cafdb 100644 Binary files a/img/background_light.png and b/img/background_light.png differ