Commit 18f1c709 authored by Deion Menor's avatar Deion Menor

Make homepage different for authenticated and non-authenticated users

parent f4fcba5e
...@@ -69,8 +69,9 @@ ...@@ -69,8 +69,9 @@
<div class="w3-card-4 w3-black w3-opacity sidebar">
{% block sidebar %} {% block sidebar %}
<div class="w3-card-4 w3-black w3-opacity sidebar">
<h2>Featured Songs</h2> <h2>Featured Songs</h2>
<img src="/files/images/divide_edsheeran.jpeg" alt="Divide - Ed Sheeran"> <img src="/files/images/divide_edsheeran.jpeg" alt="Divide - Ed Sheeran">
Divide - Ed Sheeran Divide - Ed Sheeran
...@@ -78,8 +79,9 @@ ...@@ -78,8 +79,9 @@
Palette - IU Palette - IU
<img src="/files/images/rockstar_postmalone21savage.jpeg" alt="Rockstar"> <img src="/files/images/rockstar_postmalone21savage.jpeg" alt="Rockstar">
Rockstar Rockstar
{% endblock %}
</div> </div>
{% endblock %}
</header> </header>
......
...@@ -9,6 +9,15 @@ ...@@ -9,6 +9,15 @@
{% block content %} {% block content %}
{% if request.user.is_authenticated %}
<div class="w3-panel w3-green w3-padding">
<h1 class="w3-text-white">
<b>Welcome to MyMusicList</b></h1>
</div>
{% else %}
<div class="w3-display-container" style="width:100em; height:50em;overflow:hidden;"> <div class="w3-display-container" style="width:100em; height:50em;overflow:hidden;">
<div class="hero"> <div class="hero">
...@@ -65,7 +74,7 @@ MyMusicList is the answer. ...@@ -65,7 +74,7 @@ MyMusicList is the answer.
</p> </p>
</div> </div>
</div> </div>
<div class="main"> <div class="">
<div class="w3-row-padding w3-blue"> <div class="w3-row-padding w3-blue">
...@@ -126,6 +135,5 @@ Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculu ...@@ -126,6 +135,5 @@ Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculu
<p>Footer information goes here</p> <p>Footer information goes here</p>
</footer> --> </footer> -->
{% if request.user.is_authenticated %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment