This commit is contained in:
Michel Roux 2023-01-04 14:40:19 +01:00
parent abfb1bfe7f
commit c5279e26f8
2 changed files with 16 additions and 18 deletions

View File

@ -1,10 +1,9 @@
{% extends "layout.html.j2" %} {% extends "layout.html.j2" %}
{% block body %} {% block body %}
<section class="hero is-fullheight-with-navbar"> <section class="hero is-fullheight-with-navbar">
<div class="hero-body m-auto"> <div class="hero-body m-auto is-flex-direction-column">
<p class="title">{{ _("π😼た") }}</p> <p class="title mb-6 is-size-1" style="letter-spacing:0.5rem">{{ _("𝚷😼た") }}</p>
<div class="subtitle"> <form action="{{ url_for('index') }}" class="subtitle">
<form action="{{ url_for('index') }}">
<div class="field has-addons"> <div class="field has-addons">
<div class="control"> <div class="control">
{{ search_form.q(placeholder=_("Search animes ..."), class="input", value=request.args.get("q", "")) }} {{ search_form.q(placeholder=_("Search animes ..."), class="input", value=request.args.get("q", "")) }}
@ -16,7 +15,6 @@
</div> </div>
</div> </div>
</form> </form>
</div>
</div> </div>
</section> </section>
{% endblock body %} {% endblock body %}

View File

@ -21,16 +21,16 @@
href="{{ url_for('static', filename='css/styles.css') }}"/> href="{{ url_for('static', filename='css/styles.css') }}"/>
</head> </head>
<body> <body>
<nav class="navbar" role="navigation" aria-label="main navigation"> {% if request.endpoint != "index" %}
<div class="navbar-brand"> <nav class="navbar" role="navigation" aria-label="main navigation">
<a class="navbar-item" href="{{ url_for('index') }}">{{ _("π😼た") }}</a> <div class="navbar-brand">
</div> <a class="navbar-item" href="{{ url_for('index') }}">{{ _("π😼た") }}</a>
<div class="navbar-start"> </div>
{% block links %} <div class="navbar-start">
{% endblock links %} {% block links %}
</div> {% endblock links %}
<div class="navbar-end"> </div>
{% if request.endpoint != "index" %} <div class="navbar-end">
<form action="{{ url_for('index') }}" class="navbar-item"> <form action="{{ url_for('index') }}" class="navbar-item">
<div class="field has-addons"> <div class="field has-addons">
<div class="control"> <div class="control">
@ -43,9 +43,9 @@
</div> </div>
</div> </div>
</form> </form>
{% endif %} </div>
</div> </nav>
</nav> {% endif %}
{% block body %} {% block body %}
{% endblock body %} {% endblock body %}
<footer> <footer>