From 0ffc402d673165630b2401dd86a306277c3b4dbb Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 5 Jan 2024 18:31:10 +0000 Subject: [PATCH] Improve "See more" button placement Fixes #297 and #508 --- app/templates/index.html | 88 ++++++++++++++++++++++++++-------------- 1 file changed, 57 insertions(+), 31 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 946dc084..a9c6ebdb 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -104,42 +104,63 @@ --> - - {{ _("See more") }} - -

{{ _("Recently Added") }}

+

{{ _("Recently Added") }}

{{ render_pkggrid(new) }} +

+ + {{ _("See more") }} + + {{ _("Recently Added") }} + + +

- - - {{ _("See more") }} - -

{{ _("Recently Updated") }}

+

{{ _("Recently Updated") }}

{{ render_pkggrid(updated) }} +

+ + {{ _("See more") }} + + {{ _("Recently Updated") }} + + +

- - - {{ _("See more") }} - -

{{ _("Top Games") }}

+

{{ _("Top Games") }}

{{ render_pkggrid(pop_gam) }} +

+ + {{ _("See more") }} + + {{ _("Top Games") }} + + +

- - - {{ _("See more") }} - -

{{ _("Top Mods") }}

+

{{ _("Top Mods") }}

{{ render_pkggrid(pop_mod) }} +

+ + {{ _("See more") }} + + {{ _("Top Mods") }} + + +

- - - {{ _("See more") }} - -

{{ _("Top Texture Packs") }}

+

{{ _("Top Texture Packs") }}

{{ render_pkggrid(pop_txp) }} +

+ + {{ _("See more") }} + + {{ _("Top Texture Packs") }} + + +

-

{{ _("Search by Tags") }}

+

{{ _("Search by Tags") }}

{% for pair in tags %} {% set count = pair[0] %} {% set tag = pair[1] %} @@ -151,18 +172,23 @@ {{ count }} {% endfor %} -
- - {{ _("See more") }} - -

{{ _("Highest Reviewed") }}

+

{{ _("Highest Reviewed") }}

{{ render_pkggrid(high_reviewed) }} +

+ + {{ _("See more") }} + + {{ _("Highest Reviewed") }} + + +

+
- {{ _("See more") }} + {{ _("All reviews") }}

{{ _("Recent Positive Reviews") }}

{% from "macros/reviews.html" import render_reviews with context %}