moviewyrm/bookwyrm/templates/discover/discover.html

51 lines
1.8 KiB
HTML
Raw Normal View History

2021-02-27 19:53:36 +00:00
{% extends 'discover/landing_layout.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-02-27 19:53:36 +00:00
{% block panel %}
2021-01-03 19:10:04 +00:00
2021-01-03 20:53:51 +00:00
<div class="block is-hidden-tablet">
2021-02-28 02:48:10 +00:00
<h2 class="title has-text-centered">{% trans "Recent Books" %}</h2>
2021-01-03 20:53:51 +00:00
</div>
2021-01-03 19:10:04 +00:00
<section class="tile is-ancestor">
<div class="tile is-vertical">
<div class="tile is-parent">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/large-book.html' with book=books.0 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
<div class="tile">
<div class="tile is-parent is-6">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/small-book.html' with book=books.1 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
<div class="tile is-parent is-6">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/small-book.html' with book=books.2 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
</div>
</div>
<div class="tile is-vertical">
<div class="tile">
<div class="tile is-parent is-6">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/small-book.html' with book=books.3 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
<div class="tile is-parent is-6">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/small-book.html' with book=books.4 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
</div>
<div class="tile is-parent">
<div class="tile is-child box has-background-white-ter">
{% include 'discover/large-book.html' with book=books.5 %}
2021-01-03 19:10:04 +00:00
</div>
</div>
</div>
</section>
{% endblock %}