summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2025-02-18 17:56:41 -0500
committerAdam T. Carpenter <atc@53hor.net>2025-02-18 17:56:41 -0500
commitda674b59e1280f4932404927f9424a890e7e03a1 (patch)
treec5b16fb3588c0a71db283a45fd1a49f0d3edd3a1
parent8bbc5659dda2ffe48c3e51413d350861d2585bb6 (diff)
downloadcarpentertutoring-da674b59e1280f4932404927f9424a890e7e03a1.tar.xz
carpentertutoring-da674b59e1280f4932404927f9424a890e7e03a1.zip
feat: contact link and persistent footer contact buttonsHEADreleasemaster
-rw-r--r--templates/base.html6
-rw-r--r--templates/contact-buttons.html4
-rw-r--r--templates/index.html5
-rw-r--r--templates/styles.css3
4 files changed, 14 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 48b49de..14573f6 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,6 +28,7 @@
<body>
<nav>
+ <a href="/#contact">Contact</a>
<a href="/#reviews">Reviews</a>
<a href="/about">Team</a>
<a href="/policies">Policies</a>
@@ -50,6 +51,11 @@
<img alt="logo" src="/assets/logo.png" />
</picture>
</figure>
+
+ <div id="contact" class="buttons centered">
+ {% include "contact-buttons.html" %}
+ </div>
+
<p>
&copy; 2019-{{ self::current_year() }} Carpenter Tutoring, LLC. All rights reserved.
</p>
diff --git a/templates/contact-buttons.html b/templates/contact-buttons.html
new file mode 100644
index 0000000..bae7460
--- /dev/null
+++ b/templates/contact-buttons.html
@@ -0,0 +1,4 @@
+ <a class="button" href="mailto:amy@carpentertutoring.com"> <img src="/assets/icons/email-variant.svg" alt="mailbox" />Amy@CarpenterTutoring.com</a>
+ <a class="button primary" href="tel:1-757-335-7555">
+ <img src="/assets/icons/phone-classic.svg" alt="phone" />
+ (757) 335-7555</a>
diff --git a/templates/index.html b/templates/index.html
index e4cf340..72b0892 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -9,10 +9,7 @@
</h2>
<div class="buttons">
- <a class="button" href="mailto:amy@carpentertutoring.com"> <img src="/assets/icons/email-variant.svg" alt="mailbox" />Amy@CarpenterTutoring.com</a>
- <a class="button primary" href="tel:1-757-335-7555">
- <img src="/assets/icons/phone-classic.svg" alt="phone" />
- (757) 335-7555</a>
+ {% include "contact-buttons.html" %}
</div>
</section>
diff --git a/templates/styles.css b/templates/styles.css
index 68eae3b..2a83280 100644
--- a/templates/styles.css
+++ b/templates/styles.css
@@ -133,6 +133,9 @@ footer {
background-color: white;
text-align: center;
padding: 3em;
+}
+
+footer p {
font-size: 1.5em;
}