From 2af6daccf22254e779abba2a29469f6d6ae563e8 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch <pjentsch@sfb1288inf-Laptop.fritz.box>
Date: Tue, 19 May 2020 14:39:23 +0200
Subject: [PATCH] switch parallax images so that the code image is displayed
 when the user is logged in

---
 app/templates/main/index.html.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/templates/main/index.html.j2 b/app/templates/main/index.html.j2
index 75c23349..208a1e72 100644
--- a/app/templates/main/index.html.j2
+++ b/app/templates/main/index.html.j2
@@ -121,13 +121,13 @@
   </div>
 </div>
 
-{% if current_user.is_anonymous %}
 <div class="parallax-container">
   <div class="parallax">
     <img src="{{ url_for('static', filename='images/parallax_lq/03_text_data_wide.png') }}" alt="">
   </div>
 </div>
 
+{% if current_user.is_anonymous %}
 <div class="section white scrollspy" id="registration-and-log-in">
   <div class="row container">
     <div class="col s12 m10">
@@ -176,13 +176,13 @@
     </div>
   </div>
 </div>
-{% endif %}
 
 <div class="parallax-container">
   <div class="parallax">
     <img src="{{ url_for('static', filename='images/parallax_lq/04_german_text_book_paper.jpg') }}" alt="">
   </div>
 </div>
+{% endif %}
 
 <div class="section white scrollspy" id="workflow">
   <div class="row container">
-- 
GitLab