Use download/more on games page. Mobile layout fixes

This commit is contained in:
HackerNCoder 2022-11-22 15:29:05 +00:00
parent ce225e6d8b
commit b7ebf1927c
4 changed files with 9 additions and 9 deletions

View file

@ -16,7 +16,3 @@
</div>
<!-- Footer-->
<footer class="footer bg-black small text-center text-white-50 pt-0"><div class="container px-4 px-lg-5">Copyright &copy; Queerscriptors 2022</div></footer>
{#<!-- Bootstrap core JS-->
<!--<script src="{{ '/js/bootstrap.bundle.min.js'|url }}"></script>-->
<!-- Core theme JS-->
<!-- <script src="{{ '/js/scripts.js'|url }}"></script> -->#}

View file

@ -21,7 +21,11 @@
<h3 class="card-title {% if project.weblate %}mb-0{% endif %}" >{{project.title}}</h3>{% if project.weblate %}<span class="badge bg-success mb-2">{{ _("Translated by the Queerscriptors") }}</span>{% endif %}
{{project.body}}
<div class="d-md-inline-block d-grid position-absolute-md bottom-0 end-0 mb-md-2 me-md-2">
<a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("View") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
{% if project.weblate %}
<a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("More") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
{% else %}
<a href="{{project.website}}" class="btn btn-primary btn-sm">{{ _("Download") }} <i class="fa fa-external-link" aria-hidden="true"></i></a>
{% endif %}
</div>
</div>
</div>

View file

@ -5,9 +5,9 @@
<!-- Projects-->
<div class="p-5 projects-section bg-light" id="projects">
<div class="text-center">
<h2 class="display-5 text-black pt-5 pb-3 mb-3">Featured games</h2>
<h2 class="display-5 text-black pt-5 pb-3 mb-3">{{ _("Featured games") }}</h2>
</div>
<div class="container px-4 px-lg-5">
<div class="container px-0 px-lg-5">
{% for id, item in bag('featured').items() %}
{% set image = item.path+'main.jpg' %}
<div class="row gx-0 mb-5 mb-md-0 justify-content-center">
@ -26,7 +26,7 @@
{% endfor %}
</div>
<div class="text-center pt-5">
<a href="games/" class="btn btn-primary btn-lg"><i class="fa fa-search" aria-hidden="true"></i> View all games</a>
<a href="games/" class="btn btn-primary btn-lg"><i class="fa fa-search" aria-hidden="true"></i> {{ _("View a list of games") }}</a>
</div>
</div>
{% endblock %}

View file

@ -3,7 +3,7 @@
<div class="about-section-text container px-4 px-lg-5">
<div class="row gx-4 gx-lg-5 justify-content-center">
<h2 class="display-3 text-black mb-4">{{ this.join_title }}</h2>
<div class="col-6 col-lg-3 d-grid gap-2 mx-auto">
<div class="col-8 col-lg-4 d-grid gap-2 mx-auto">
<a href="https://discord.gg/tzbXdkxWYF" class="btn btn-primary"><i class="fa fa-discord" aria-hidden="true"></i> Discord</a>
<a href="https://littleroot.net/weblate/" class="btn btn-primary"><i class="fa fa-language" aria-hidden="true"></i> Weblate</a>
</div>