showcase/index.html
2023-10-18 22:40:34 +01:00

70 lines
1.9 KiB
HTML

---
title: Home
layout: default
background: '/img/bg-index.jpg'
permalink: /
---
<!-- Home Intro
================================================== -->
{% if page.url == "/" %}
<div class="rounded mb-5 hero">
<div class="row align-items-center justify-content-between">
<div class="col-md-6">
<h1 class="font-weight-bold mb-5 text-white">Showcase</h1>
<h3 class="font-weight-bold text-white text-warning">Ninja's Creator Hub</h3>
<p class="lead mb-4 text-white">Our bright & creative ninjas have created masterpieces that are showcased here.</p>
<p class="text-white">
Haven't Heard about Code Ninjas? </br>
<a href="https://codeninjaslangley.co.uk" class="btn btn-light px-5 btn-lg">Learn more</a>
</p>
</div>
<div class="col-md-6 text-right pl-0 pl-lg-4">
<img class="intro" height="500" src="{{site.baseurl}}/assets/images/camp-fun.webp">
</div>
</div>
</div>
{% endif %}
<!-- Featured
================================================== -->
<section class="row">
<h2 class="m-3">Check out our Creations!</h2>
{% for post in site.posts %}
{% if post.featured == true %}
<div class="col-md-4 mb-5">
{% include postbox.html %}
</div>
{% endif %}
{% endfor %}
</div>
</section>
<!-- Posts List with Sidebar (except featured)
================================================== -->
<section class="row">
<div class="col-sm-8">
<div class="row">
{% for post in paginator.posts %}
{% unless post.featured == true %}
<div class="col-md-6 mb-5">
{% include postbox.html %}
</div>
{% endunless %}
{% endfor %}
</div>
<!-- Pagination -->
<div class="bottompagination">
<span class="navigation" role="navigation">
{% include pagination.html %}
</span>
</div>
</div>
<div class="col-sm-4">
{% include sidebar.html %}
</div>
</section>