feat: Add recent projects to index and updated projects page
All checks were successful
Build Docker / BuildImage (push) Successful in 37s

This commit is contained in:
2024-06-18 12:44:26 +10:00
parent 719221d74f
commit 18619efe39
5 changed files with 126 additions and 132 deletions

View File

@@ -98,24 +98,18 @@ Check them out here!</blockquote><img class="img-fluid" src="/assets/img/pfront.
</section><img class="no-drag" src="/assets/img/tilt.svg" style="background: #363636;width: 100%;" alt="">
<section class="text-center content-section sites" id="sites" style="background: #363636;padding-top: 0px;padding-bottom: 0px;">
<div class="site-container">
<h1>My Websites</h1>
<h1>Some recent projects</h1>
<div class="swiper">
<div class="swiper-wrapper"><!-- <div class="swiper-slide site" data-url="https://nathan3dprinting.au"><img class="site-img" src="/assets/img/external/nathan3dprinting.webp" />
<div class="site-body">
<div class="site-detail" style="width: 100%;">
<h2 class="site-name" style="text-align: left;">Nathan 3D Printing</h2>
<p class="text-start site-author">Offering 3D Printing and CAD modelling services to the Canberra region</p>
</div>
</div>
</div> -->
{% for site in sites %}
<div class="swiper-slide site" data-url="{{ site.url }}">
<img class="site-img" src="{{ site.img }}" />
<div class="swiper-wrapper">{% for project in projects %}
<div class="swiper-slide site" data-url="{{ project_url }}">
<img class="site-img" src="{{ project.avatar_url }}" />
<div class="site-body">
<div class="site-detail" style="width: 100%;">
<h2 class="site-name" style="text-align: left;">{{ site.name }}</h2>
<p class="text-start site-author">{{ site.description }}</p>
<h2 class="site-name" style="text-align: left;">{{ project.name }}</h2>
<p class="text-start site-author">{{ project.description }}</p>
{% if project.actions %}
<img src="{{project.actions}}" alt="Build Status">
{% endif %}
</div>
</div>
</div>