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", "")) }}
@ -17,6 +16,5 @@
</div> </div>
</form> </form>
</div> </div>
</div>
</section> </section>
{% endblock body %} {% endblock body %}

View File

@ -21,6 +21,7 @@
href="{{ url_for('static', filename='css/styles.css') }}"/> href="{{ url_for('static', filename='css/styles.css') }}"/>
</head> </head>
<body> <body>
{% if request.endpoint != "index" %}
<nav class="navbar" role="navigation" aria-label="main navigation"> <nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item" href="{{ url_for('index') }}">{{ _("π😼た") }}</a> <a class="navbar-item" href="{{ url_for('index') }}">{{ _("π😼た") }}</a>
@ -30,7 +31,6 @@
{% endblock links %} {% endblock links %}
</div> </div>
<div class="navbar-end"> <div class="navbar-end">
{% if request.endpoint != "index" %}
<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>