summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-06-15 21:56:44 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-06-15 21:56:44 -0400
commit0d5c50da744b3ee859383b4b8287568d0c8329da (patch)
tree6673bd039ec45ac61d2b1267edcf7dde4541463c /index.php
parentef1e400f9e6bf00f5529abd1be63886372fe92b2 (diff)
downloadcarpentertutoring-0d5c50da744b3ee859383b4b8287568d0c8329da.tar.xz
carpentertutoring-0d5c50da744b3ee859383b4b8287568d0c8329da.zip
working on php index with email form, gitignore crash files
Diffstat (limited to 'index.php')
-rw-r--r--index.php270
1 files changed, 270 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..61165fa
--- /dev/null
+++ b/index.php
@@ -0,0 +1,270 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <title>
+ Tutoring Excellence Online and in Hampton Roads, VA - Carpenter Tutoring,
+ LLC
+ </title>
+ <link rel="stylesheet" href="/stylesheet.css" />
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
+ <link href="https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Indie+Flower&family=PT+Sans&display=swap" rel="stylesheet" />
+ <link rel="stylesheet" href="/desktop.css" />
+ <link rel="stylesheet" href="/widescreen.css" />
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="description" content="Tutoring Excellence Online and in Hampton Roads, VA" />
+ <meta property="og:description" content="Tutoring excellence online and in-person" />
+ <meta property="og:image" content="http://carpentertutoring.com/assets/logo.webp" />
+ <meta property="og:image:secure_url" content="https://carpentertutoring.com/assets/logo.webp" />
+ <meta property="og:site_name" content="Carpenter Tutoring" />
+ <meta property="og:title" content="Tutoring Excellence Online and in Hampton Roads, VA - Carpenter Tutoring, LLC" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://carpentertutoring.com" />
+</head>
+
+<body>
+ <nav>
+ <a href="/#contact">Contact Me</a>
+ <a href="/#reviews">Reviews</a>
+ <a href="/about">About</a>
+ <a href="/policies">Policies</a>
+ <a href="/#pricing">Pricing</a>
+ <a href="/#offerings">Offerings</a>
+ <a class="logo" href="/#"><img src="/assets/logo-simple.png" /></a>
+ </nav>
+
+ <main>
+ <!--banner-->
+ <section class="banner">
+ <h1>CARPENTER TUTORING</h1>
+ <h2>
+ <b>Discovering <em>your</em> path to success</b>
+ </h2>
+
+ <div class="buttons">
+ <a class="button" href="/#contact"> Contact me by Email</a>
+ <a class="button primary" href="tel:1-757-335-7555">
+ Call (757) 335-7555</a>
+ </div>
+ </section>
+
+ <!-- welcome-->
+ <section class="quiet">
+ <h2>Welcome, and thank you for your interest in Carpenter Tutoring!</h2>
+
+ <p>
+ Carpenter Tutoring is a private tutoring service based in Suffolk,
+ Virginia. I offer in-person sessions throughout the Hampton Roads area
+ and remote sessions anywhere in the country. Most of my offerings are
+ one-on-one, and group sessions and classes are also available. No
+ matter your budget, I am confident that we can find an arrangement
+ that will provide your student services without creating financial
+ strain.
+ </p>
+
+ <p>
+ I invite you to scroll down to learn more about the services I offer,
+ my background, and some of my policies. Thank you for visiting, and
+ please do not hesitate to reach out with any questions. I would be
+ thrilled to assist you!
+ </p>
+
+ <picture>
+ <source srcset="/assets/signature.webp" type="image/webp" />
+ <source srcset="/assets/signature.png" type="image/png" />
+ <img src="/assets/signature.png" />
+ </picture>
+
+ <picture>
+ <source srcset="/assets/amy.webp" type="image/webp" />
+ <source srcset="/assets/amy.png" type="image/png" />
+ <img src="/assets/amy.png" />
+ </picture>
+ </section>
+
+ <!-- offerings -->
+ <section class="section" id="offerings">
+ <div>
+ <p><em>Subject Tutoring</em></p>
+ <p>Tutoring for specific courses or disciplines</p>
+ <p>
+ <a href="#offering-subject-tutoring">More...</a>
+ </p>
+ </div>
+
+ <div>
+ <p><em>Time Management</em></p>
+ <p>
+ Personalized plans for managing academics, extracurriculars, and
+ other commitments
+ </p>
+ <p>
+ <a href="#offering-time-management">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Study Skills</em></p>
+ <p>Learn how to make the most of your study time</p>
+ <p>
+ <a href="#offering-study-skills">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Academic Coaching</em></p>
+ <p>
+ Time management and study skills blended with continuing
+ accountability
+ </p>
+ <p>
+ <a href="#offering-academic-coaching">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>College Application Assistance</em></p>
+ <p>
+ Assistance with generating a college list and crafting application
+ essays
+ </p>
+ <p>
+ <a href="#offering-college-prep">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>College-Level Writing</em></p>
+ <p>Get a head start on meeting professors' expectations</p>
+ <p>
+ <a href="#offering-college-writing">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Dissertation Coaching</em></p>
+ <p>Ensure your research is communicated effectively and eloquently</p>
+ <p>
+ <a href="#offering-dissertation-coaching">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Standardized Test Prep</em></p>
+ <p>
+ Tailored assistance in preparing for a variety of standardized tests
+ </p>
+ <p>
+ <a href="#offering-dissertation-coaching">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Music Lessons</em></p>
+ <p>Instrument and/or composition lessons for students of all ages</p>
+ <p>
+ <a href="#offering-dissertation-coaching">More...</a>
+ </p>
+ </div>
+ <div>
+ <p><em>Proof of Progress Evaluations</em></p>
+ <p>
+ Two levels of portfolio-based evaluations for homeschool families
+ looking to satisfy Proof of Progress or gain insight into their
+ child's learning
+ </p>
+
+ <p>
+ <a href="#offering-dissertation-coaching">More...</a>
+ </p>
+ </div>
+ </section>
+
+ <!-- pricing -->
+ <section id="pricing" class="quiet">
+ <table>
+ <thead>
+ <tr>
+ <th></th>
+
+ <th>Subject, Time Management, Study Skills Tutoring</th>
+
+ <th>Academic Coaching and College Prep</th>
+
+ <th>Dissertation Coaching</th>
+
+ <th>Group Webinars</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <tr>
+ <th>Remote</th>
+
+ <td>$50 per hour</td>
+
+ <td>$60 per hour</td>
+
+ <td>$60 per hour</td>
+
+ <td>$30 per hour</td>
+ </tr>
+ <tr>
+ <th>In-Person</th>
+
+ <td>$60 per hour</td>
+
+ <td>$70 per hour</td>
+
+ <td>$70 per hour</td>
+
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p>
+ <a href="/policies">See a list of my policies and procedures regarding scheduling,
+ payment, and booking.</a>
+ </p>
+ </section>
+
+ <!-- contact box -->
+ <section id="contact" class="quiet">
+ <?php
+ // handle form submission
+ if (isset($_POST['name'], $_POST['email'], $_POST['body'])) {
+ $email = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL);
+
+ if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
+ echo 'Bad email';
+ }
+
+ mail('atc@53hor.net', 'test', 'test');
+ echo $email;
+ echo 'Thank you for your email!';
+ } else {
+ echo 'Please fill out the required fields.';
+ }
+ ?>
+
+ <form action="/#contact" method="post">
+ <label for="name">Name</label>
+ <input name="name" type="text" id="name" required />
+
+ <label for="email">Email Address</label>
+ <input name="email" type="email" id="email" required />
+
+ <label for="body">Question/Comment</label>
+ <textarea name="body" id="body" required></textarea>
+
+ <input type="submit" value="Send" />
+ </form>
+ </section>
+ </main>
+
+ <footer>
+ <p>&copy; 2021 Carpenter Tutoring, LLC. All rights reserved.</p>
+ <p>
+ <a href="mailto:webmaster@carpentertutoring.com">
+ Having trouble with our site?
+ </a>
+ </p>
+ </footer>
+</body>
+
+</html>