2017-03-25 08:52:56 +01:00
<!DOCTYPE html>
2017-07-14 06:04:04 +02:00
<html prefix="og: http://ogp.me/ns#">
2017-03-25 08:52:56 +01:00
<head>
<!--Import Google Icon Font-->
2017-04-08 09:43:37 +02:00
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
2017-03-25 08:52:56 +01:00
<!--Import materialize.css-->
2017-12-10 17:56:13 +01:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" integrity="sha256-e22BQKCF7bb/h/4MFJ1a4lTRR2OuAe8Hxa/3tgU5Taw=" crossorigin="anonymous" />
2017-03-25 08:52:56 +01:00
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
2019-03-31 22:40:54 +02:00
{% if af_mode_enabled %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/site.af.rainbow.css') }}">
{% endif %}
2017-03-25 08:52:56 +01:00
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
2018-01-24 06:42:47 +01:00
<title>{{ title|e }} - Titan Embeds for Discord</title>
2017-05-19 00:41:41 +02:00
2018-01-03 11:56:58 +01:00
<!--Provide default mobile metadata-->
2018-01-03 21:37:43 +01:00
<meta name="apple-mobile-web-app-title" content="Titan Embeds">
<meta name="application-name" content="Titan Embeds">
2018-01-03 11:56:58 +01:00
2017-05-19 00:41:41 +02:00
{% include 'seo_meta.html.j2' %}
2017-07-14 06:04:04 +02:00
{% with title=title, description="Embed your Discord server in any website. Titan is hassle free and designed as easy to setup." %}
{% include "opengraph_tags.html.j2" %}
{% endwith %}
2017-04-23 08:55:03 +02:00
{% block additional_head_elements %}{% endblock %}
2017-04-09 20:43:45 +02:00
{% include 'google_analytics.html.j2' %}
2017-03-25 08:52:56 +01:00
</head>
<body>
2019-10-13 07:36:37 +02:00
{% if random.randrange(100) < 50 %}
2018-02-23 04:30:18 +01:00
<div id="dblbanner">
<span>
2018-02-27 08:22:58 +01:00
<strong>Hey!</strong> Upvote us on <a href="{{ url_for("vote") }}">Discord Bots List</a> to show your
2018-02-23 04:30:18 +01:00
appreciation of the Titan Embeds project! (We'll provide you with a <em>royal
2018-02-27 08:22:58 +01:00
<span class="yellow-text">golden name</span></em> and rewards in return for your vote)
2018-02-23 04:30:18 +01:00
</span>
</div>
2019-10-13 07:36:37 +02:00
{% else %}
<div id="donbanner">
<span>
<strong>Hey! We need your help!</strong> Support the Titan Embeds project on <a href="http://patreon.com/TitanEmbeds" target="_blank">Patreon</a> to help us cover the cost of server hosting!
{% if application_settings.donation_goal_total %}
<br>
<strong>Goal: <span class="yellow-text">${{ application_settings.donation_goal_progress }} raised out of ${{ application_settings.donation_goal_total }}</span>{% if application_settings.donation_goal_end %} by {{ application_settings.donation_goal_end }}{% endif %}</strong>
{% endif %}
</span>
</div>
{% endif %}
2017-03-25 08:52:56 +01:00
<main>
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
<ul id="menu_dropdown" class="dropdown-content">
<li><a href="{{ url_for('user.dashboard') }}">Dashboard</a></li>
2017-08-14 07:43:25 +02:00
<li class="divider"></li>
2017-09-04 06:12:08 +02:00
<li><a href="{{ url_for('user.donate_get') }}"><i class="material-icons">monetization_on</i></nbr>{{ session["tokens"] }}</a></li>
2018-01-24 07:09:18 +01:00
{% if session['user_id'] is defined and session['user_id']|string in devs %}
2017-07-06 23:35:08 +02:00
<li class="divider"></li>
<li><a href="{{ url_for('admin.index') }}">Admin</a></li>
{% endif %}
2017-03-25 08:52:56 +01:00
<li class="divider"></li>
<li><a href="{{ url_for('user.logout') }}">Logout</a></li>
</ul>
{% endif %}
2017-05-20 03:56:51 +02:00
<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>
2017-03-25 08:52:56 +01:00
<nav>
<div class="nav-wrapper container">
2017-05-11 01:43:13 +02:00
<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>
2017-03-25 08:52:56 +01:00
<ul id="nav-mobile" class="right">
2019-11-15 22:20:44 +01:00
<li><a href="https://docs.titanembeds.com/" target="_blank" class="waves-effect hide-on-large-only">Docs</a></li>
<li><a href="https://docs.titanembeds.com/" target="_blank" class="waves-effect btn z-depth-3 hide-on-med-and-down">Docs</a></li>
2017-05-11 01:43:13 +02:00
2017-05-20 03:56:51 +02:00
<li><a data-activates="visitus_dropdown" class="waves-effect hide-on-large-only dropdown-button">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>
2017-03-25 08:52:56 +01:00
{% 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>
{% else %}
<li><a href="{{ url_for('user.login_authenticated') }}" class="waves-effect btn z-depth-3">Login</a></li>
{% endif %}
</ul>
</div>
</nav>
<div class="container">
{% block content %}{% endblock %}
</div>
</main>
<footer class="page-footer">
<div class="footer-copyright">
<div class="container">
A project by EndenDragon
2017-09-12 06:06:29 +02:00
<span class="right">
<a class="grey-text text-lighten-4" href="https://github.com/TitanEmbeds/Titan">GitHub <span class="hide-on-small-only">Repo</span></a>
<a class="grey-text text-lighten-4" href="{{ url_for('terms') }}">Terms <span class="hide-on-small-only">and Conditions</span></a>
<a class="grey-text text-lighten-4" href="{{ url_for('privacy') }}">Privacy <span class="hide-on-small-only">Policy</span></a>
</span>
2017-03-25 08:52:56 +01:00
</div>
</div>
</footer>
<!--Import jQuery before materialize.js-->
2017-04-08 09:43:37 +02:00
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
2017-12-10 17:56:13 +01:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js" integrity="sha256-uWtSXRErwH9kdJTIr1swfHFJn/d/WQ6s72gELOHXQGM=" crossorigin="anonymous"></script>
2018-02-23 04:30:18 +01:00
2018-07-30 09:43:01 +02:00
{% include 'sentry_js_init.html.j2' %}
2018-06-28 01:11:36 +02:00
{% if not dbl_voted or (dbl_voted and request.path == "/") %}
2018-02-23 04:30:18 +01:00
<script>
$(document).ready(function () {
$('#dblbanner').delay(1000).slideDown("slow");
});
</script>
2018-06-28 01:11:36 +02:00
{% endif %}
2019-10-13 07:36:37 +02:00
<script>
$('#donbanner').delay(1000).slideDown("slow");
</script>
2018-02-23 04:30:18 +01:00
2018-03-24 07:03:33 +01:00
{% if af_mode_enabled %}
<script type="text/javascript" src="{{ url_for('static', filename='js/site.af.sausage.js') }}"></script>
{% endif %}
2017-03-26 10:04:15 +02:00
{% block script %}{% endblock %}
2017-03-25 08:52:56 +01:00
</body>
2018-01-03 21:37:43 +01:00
</html>