|
|
|
<div class="screen">
|
|
|
|
<h1 class="title">
|
|
|
|
SuchWowX.
|
|
|
|
</h1>
|
|
|
|
<p class="subtitle">
|
|
|
|
Memes. <strong>Interplanetary</strong>!
|
|
|
|
</p>
|
|
|
|
{% if request.path == '/' %}
|
|
|
|
<a class="button is-secondary" href="{{ url_for('meta.about') }}" up-target=".container">About</a>
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
<a class="button is-secondary" href="{{ url_for('user.show', handle=current_user.handle) }}" up-follow=".container" up-preload>Profile</a>
|
|
|
|
<a class="button is-danger" href="{{ url_for('meta.disconnect') }}">Disconnect</a>
|
|
|
|
{% if current_user.is_moderator() %}
|
|
|
|
<a class="button is-warning" href="{{ url_for('meme.mod') }}">Mod</a>
|
|
|
|
{% endif %}
|
|
|
|
<a class="button is-primary" href="{{ url_for('meme.publish') }}">New Meme</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="button is-primary" id="metamaskConnect" onclick="onboardMetaMask();">Connect</a>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<a class="button" href="{{ url_for('meme.index') }}" up-target=".container">Go Home</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|