add: button on featured project too
All checks were successful
Deploy via SSH on push / deploy-via-ssh (push) Successful in 22s
All checks were successful
Deploy via SSH on push / deploy-via-ssh (push) Successful in 22s
This commit is contained in:
@@ -30,23 +30,32 @@
|
|||||||
{% for project in projects %}
|
{% for project in projects %}
|
||||||
<div class="row mb-5 justify-content-{{ project.align }}">
|
<div class="row mb-5 justify-content-{{ project.align }}">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<a href="{{ project.link }}" class="text-decoration-none">
|
<div class="p-4 rounded-4 text-light shadow hover-scale transparent-box"
|
||||||
<div class="p-4 rounded-4 text-light shadow hover-scale transparent-box">
|
onclick="window.location='{{ project.link }}'" style="cursor: pointer; position: relative;">
|
||||||
<div class="row align-items-center {% if project.align == 'end' %}flex-md-row-reverse{% endif %}">
|
|
||||||
<div class="col-md-7">
|
<div class="row align-items-center {% if project.align == 'end' %}flex-md-row-reverse{% endif %}">
|
||||||
<h4>{{ project.title }}</h4>
|
<div class="col-md-7">
|
||||||
<p>{{ project.description }}</p>
|
<h4>{{ project.title }}</h4>
|
||||||
</div>
|
<p>{{ project.description }}</p>
|
||||||
<div class="col-md-5 text-center">
|
</div>
|
||||||
<img src="{{ url_for('static', filename='img/' ~ project.image) }}"
|
<div class="col-md-5 text-center">
|
||||||
alt="{{ project.title }}" class="img-fluid rounded shadow project-img">
|
<img src="{{ url_for('static', filename='img/' ~ project.image) }}"
|
||||||
</div>
|
alt="{{ project.title }}"
|
||||||
|
class="img-fluid rounded shadow project-img">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
|
||||||
|
{% if project.button %}
|
||||||
|
<a href="{{ project.button[1] }}" class="btn btn-secondary project-btn">
|
||||||
|
{{ project.button[0] }}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user