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

View File

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