1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/templates/common/homepage.html

28 lines
1.1 KiB
HTML
Raw Normal View History

2021-09-14 17:32:51 +02:00
{% extends "base.html" %}
{% load i18n %}
2021-09-14 17:32:51 +02:00
{% block mainpage %}
<div class="px-4 py-5 my-5 text-center">
<h1 class="display-5 fw-bold">RPG notes</h1>
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">
{% translate "An experimental, collaborative note taking app and wiki optimized for RPG games." %}
2021-09-14 17:32:51 +02:00
</p>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
{% if user.is_authenticated %}
<a href="{% url "campaignlist" %}"
class="btn btn-primary btn-lg">{% translate "List of Campaigns" %}</a>
2021-09-14 17:32:51 +02:00
{% else %}
<a href="{% url "login" %}" class="btn btn-primary btn-lg px-4 gap-3">
{% translate "Log in" %}
</a>
<a href="{% url "django_registration_register" %}" class="btn btn-outline-secondary btn-lg px-4">
{% translate "Sign up" %}
</a>
2021-09-14 17:32:51 +02:00
{% endif %}
</div>
</div>
</div>
{% endblock %}