Create games list
This commit is contained in:
parent
1fe2a701f0
commit
1dc6b3d227
|
@ -3589,8 +3589,8 @@ textarea.form-control-lg {
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-lg, .btn-group-lg > .btn {
|
.btn-lg, .btn-group-lg > .btn {
|
||||||
padding: 0.5rem 1rem;
|
padding: 1.75rem 2.5rem !important;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem !important;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "layout.html" %}
|
||||||
|
{% block ogpdesc %}{{ this.shortbody }}{% endblock %}
|
||||||
|
{% block ogptitle %}{{ this.title }} | Queerscriptors{% endblock %}
|
||||||
|
{% block twitterdesc %}{{ this.shortbody }}{% endblock %}
|
||||||
|
{% block twittertitle %}{{ this.title }} | Queerscriptors{% endblock %}
|
||||||
|
{% block page %}
|
||||||
|
{% include 'header.html' %}
|
||||||
|
{% for project in this.children %}
|
||||||
|
{% set image = project.attachments.images.first() %}
|
||||||
|
<div class="card mb-3">
|
||||||
|
<div class="row gb-0" >
|
||||||
|
<div class="col-md-0" >
|
||||||
|
<img src="{{image}}" class="img-fluid rounded-start" >
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8" >
|
||||||
|
<div class="card-body" >
|
||||||
|
<h5 class="card-title" >{{project.title}}</h5>
|
||||||
|
<p class="card-text" >{{project.shortbody}}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
|
@ -3,7 +3,10 @@
|
||||||
{% include 'masterhead.html' %}
|
{% include 'masterhead.html' %}
|
||||||
{% include 'joinus.html' %}
|
{% include 'joinus.html' %}
|
||||||
<!-- Projects-->
|
<!-- Projects-->
|
||||||
<div class="projects-section bg-light" id="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>
|
||||||
|
</div>
|
||||||
<div class="container px-4 px-lg-5">
|
<div class="container px-4 px-lg-5">
|
||||||
{% for id, item in bag('featured').items() %}
|
{% for id, item in bag('featured').items() %}
|
||||||
{% set image = item.path+'main.jpg' %}
|
{% set image = item.path+'main.jpg' %}
|
||||||
|
@ -22,5 +25,8 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</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>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue