From ae311e1f1b42a450ff84786524618929df2c7215 Mon Sep 17 00:00:00 2001
From: TheJoeCoder <joe@radialbog9.uk>
Date: Tue, 30 Jul 2024 00:15:15 +0100
Subject: [PATCH] Add "open source" footer.

---
 static/css/style.css | 5 +++++
 templates/index.html | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/static/css/style.css b/static/css/style.css
index b5c6793..f6d4954 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -34,4 +34,9 @@
     top: 0;
     left: 0;
     z-index: -1;
+}
+
+.footer .footer-link {
+    text-decoration: none;
+    color: var(--bs-secondary-text-emphasis);
 }
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index 425c182..a029c2b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -67,6 +67,9 @@
                 {% endfor %}
             </div>
         </div>
+        <div class="footer text-center">
+            <p class="text-secondary">Psst... This website is <a href="https://git.rb9.xyz/TheJoeCoder/personal-website" class="footer-link" target="_blank">open source</a>!</p>
+        </div>
         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
         <script src="js/background_anim.js"></script>
     </body>
-- 
GitLab