diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/html/index.html | 96 | ||||
-rw-r--r-- | src/js/send-mail.js | 15 |
2 files changed, 64 insertions, 47 deletions
diff --git a/src/html/index.html b/src/html/index.html index 08a7c84..2337e82 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -71,7 +71,7 @@ <div class="container"> <div class="columns"> <div class="column"> - <h2 class="subtitle"> + <h2 class="subtitle"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eget lobortis erat. Vivamus venenatis nec quam vitae vulputate. Class aptent taciti sociosqu ad litora torquent @@ -81,7 +81,7 @@ Phasellus accumsan vitae elit sed fringilla. Nulla porttitor magna eget ipsum ultricies malesuada quis a ipsum. - </h2> + </h2> </div> <div class="column is-one-third"> <div class="box"> @@ -225,52 +225,52 @@ <div class="container"> <div class="columns"> <div class="column is-one-third"> - <figure class="image"> - <img src="/logo.png"> - </figure> + <figure class="image"> + <img src="/logo.png"> + </figure> </div> <div class="column"> - <div class="content"> - <p> - School is tricky, and there is no universal pathway - to success. I started Carpenter Tutoring for those - seeking a little help finding their way. - </p> - <p> - I received my B.A. from The College of William and - Mary in 2018 and will receive my M.Ed from W&M - in 2020. As an undergraduate, I worked and was - trained as a tutor at W&M's peer tutoring - center, the Tribe TutorZone. During this period, I - conducted over 150 one-on-one appointments with - W&M students in 26 different content areas. I - earned lifetime Advanced Tutor Certification, the - highest level W&M can grant, through the - College Reading and Learning Association, and I was - trained as a time management consultant. I took on - leadership roles within the TutorZone until I was - working alongside its director. As a graduate - student, I became one of the Graduate Assistants - helping oversee the TutorZone as well as an - academic coach to students with high need for - academic support. - </p> - <p> - I loved getting to work with the Tribe TutorZone - tutors, but I realized that I missed being the - tutor. There's just nothing like watching the light - bulb of understanding go off or seeing students who - had struggled with material master it! With that - realization, I decided to dedicate my life to my - passion: helping students of all ages learn, - succeed, and believe in themselves. - </p> - <p> - Thank you for considering Carpenter Tutoring. - </p> - <p> - -- Amy Carpenter - </p> + <div class="content"> + <p> + School is tricky, and there is no universal pathway + to success. I started Carpenter Tutoring for those + seeking a little help finding their way. + </p> + <p> + I received my B.A. from The College of William and + Mary in 2018 and will receive my M.Ed from W&M + in 2020. As an undergraduate, I worked and was + trained as a tutor at W&M's peer tutoring + center, the Tribe TutorZone. During this period, I + conducted over 150 one-on-one appointments with + W&M students in 26 different content areas. I + earned lifetime Advanced Tutor Certification, the + highest level W&M can grant, through the + College Reading and Learning Association, and I was + trained as a time management consultant. I took on + leadership roles within the TutorZone until I was + working alongside its director. As a graduate + student, I became one of the Graduate Assistants + helping oversee the TutorZone as well as an + academic coach to students with high need for + academic support. + </p> + <p> + I loved getting to work with the Tribe TutorZone + tutors, but I realized that I missed being the + tutor. There's just nothing like watching the light + bulb of understanding go off or seeing students who + had struggled with material master it! With that + realization, I decided to dedicate my life to my + passion: helping students of all ages learn, + succeed, and believe in themselves. + </p> + <p> + Thank you for considering Carpenter Tutoring. + </p> + <p> + -- Amy Carpenter + </p> </div> </div> </div> @@ -296,7 +296,7 @@ <div class="columns"> <div class="column is-one-third"> <div class="box"> - <form> + <form onSubmit="sendEmail()"> <div class="field"> <div class="control"> <input class="input is-rounded" type="text" placeholder="name"> @@ -349,5 +349,7 @@ </footer> <script src="/js/nav-toggle.js"></script> + <script src="https://smtpjs.com/v3/smtp.js"></script> + <script src="/js/send-email.js></script> </body> </html> diff --git a/src/js/send-mail.js b/src/js/send-mail.js new file mode 100644 index 0000000..a43dbd2 --- /dev/null +++ b/src/js/send-mail.js @@ -0,0 +1,15 @@ +const function sendMail() { + console.log("BLARGH"); + const $form = Array.prototype.slice.call(document.querySelectorAll('#contact-form'), 0); + console.log(form); + +// Email.send({ +// SecureToken : "12ef64f4-0d3e-4d4c-8336-eef6b89645f1", +// To : "amy@carpentertutoring.com", +// From : "", +// Subject : "Carpenter Tutoring Inquiry", +// Body : "" +// }).then( +// message => alert(message) +// ); +} |