From b1270434af7effe6b7786b351ca7d800ca8a6d8e Mon Sep 17 00:00:00 2001
From: Michael Drury <mpdrury15@gmail.com>
Date: Fri, 28 Apr 2023 12:55:29 +0100
Subject: [PATCH] added comments about why repeated footer

---
 shop/templates/cart.html      | 1 +
 shop/templates/home.html      | 2 +-
 shop/templates/item_page.html | 1 +
 shop/templates/layout.html    | 1 +
 shop/templates/shopping.html  | 1 +
 shop/templates/wishlist.html  | 2 +-
 6 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/shop/templates/cart.html b/shop/templates/cart.html
index 88a0765..37f95f3 100644
--- a/shop/templates/cart.html
+++ b/shop/templates/cart.html
@@ -58,6 +58,7 @@
 
 </div>
 
+<!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
     <div class = "footer_logo">
         <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
diff --git a/shop/templates/home.html b/shop/templates/home.html
index 6f26032..d4fd91b 100644
--- a/shop/templates/home.html
+++ b/shop/templates/home.html
@@ -31,7 +31,7 @@
 
 </div>
 
-
+<!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
     <div class = "footer_logo">
         <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
diff --git a/shop/templates/item_page.html b/shop/templates/item_page.html
index 4f8cb06..40e4fd2 100644
--- a/shop/templates/item_page.html
+++ b/shop/templates/item_page.html
@@ -65,6 +65,7 @@
     </div>
 </div>
 
+<!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
     <div class = "footer_logo">
         <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
diff --git a/shop/templates/layout.html b/shop/templates/layout.html
index 9c3dec6..e7fbac8 100644
--- a/shop/templates/layout.html
+++ b/shop/templates/layout.html
@@ -56,4 +56,5 @@
         </div>
     {% endblock %}
 
+<!--footer not in layout as don't want footer in login, signup, thank you and checkout page-->
 </div>
\ No newline at end of file
diff --git a/shop/templates/shopping.html b/shop/templates/shopping.html
index f145723..5bfd29f 100644
--- a/shop/templates/shopping.html
+++ b/shop/templates/shopping.html
@@ -90,6 +90,7 @@
 
 </div>
 
+<!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
     <div class = "footer_logo">
         <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
diff --git a/shop/templates/wishlist.html b/shop/templates/wishlist.html
index 83bca2a..7885df6 100644
--- a/shop/templates/wishlist.html
+++ b/shop/templates/wishlist.html
@@ -45,7 +45,7 @@
     {% endfor %}
 </div>
 
-
+<!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
     <div class = "footer_logo">
         <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
-- 
GitLab