Visit us button with two options now

This commit is contained in:
Jeremy Zhang 2017-05-20 01:56:51 +00:00
parent e59fb35e75
commit 3ed1375475

View File

@ -28,6 +28,12 @@
</ul> </ul>
{% endif %} {% endif %}
<ul id="visitus_dropdown" class="dropdown-content">
<li><a href="{{url_for("embed.guild_embed", guild_id="295085744249110529")}}">Launch Embed Page</a></li>
<li class="divider"></li>
<li><a href="https://discord.io/Titan">Open in Discord</a></li>
</ul>
<nav> <nav>
<div class="nav-wrapper container"> <div class="nav-wrapper container">
<a href="/" class="brand-logo"><img src="{{ url_for('static', filename='img/titanembeds_shield.png') }}" /><span class="hide-on-med-and-down"><strong class="align-top">Titan</strong><span class="align-top">Embeds</span> <span class="betatag align-top">BETA</span></span></a> <a href="/" class="brand-logo"><img src="{{ url_for('static', filename='img/titanembeds_shield.png') }}" /><span class="hide-on-med-and-down"><strong class="align-top">Titan</strong><span class="align-top">Embeds</span> <span class="betatag align-top">BETA</span></span></a>
@ -35,8 +41,8 @@
<li><a href="{{url_for("about")}}" class="waves-effect hide-on-large-only">About</a></li> <li><a href="{{url_for("about")}}" class="waves-effect hide-on-large-only">About</a></li>
<li><a href="{{url_for("about")}}" class="waves-effect btn z-depth-3 hide-on-med-and-down">About</a></li> <li><a href="{{url_for("about")}}" class="waves-effect btn z-depth-3 hide-on-med-and-down">About</a></li>
<li><a href="{{url_for("embed.guild_embed", guild_id="295085744249110529")}}" class="waves-effect hide-on-large-only">Visit Us!</a></li> <li><a data-activates="visitus_dropdown" class="waves-effect hide-on-large-only dropdown-button">Visit Us!</a></li>
<li><a href="{{url_for("embed.guild_embed", guild_id="295085744249110529")}}" class="waves-effect btn z-depth-3 hide-on-med-and-down">Visit Us!</a></li> <li><a data-activates="visitus_dropdown" class="waves-effect btn z-depth-3 hide-on-med-and-down dropdown-button">Visit Us!</a></li>
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %} {% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
<li><a id="menu_drop" data-activates="menu_dropdown" class="waves-effect btn z-depth-3 btn-floating dropdown-button avatar_menu" style='background-image: url(" {{ session['avatar'] }} ")'></a></li> <li><a id="menu_drop" data-activates="menu_dropdown" class="waves-effect btn z-depth-3 btn-floating dropdown-button avatar_menu" style='background-image: url(" {{ session['avatar'] }} ")'></a></li>
{% else %} {% else %}