showcase/index.html
2023-07-23 15:44:46 +01:00

66 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-4 text-white serif-font">Showcase</h1>
<h3 class="font-weight-bold text-white serif-font 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://codeninjasuk.github.io" 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/through-the-window.svg">
</div>
</div>
</div>
{% endif %}
<!-- Featured
================================================== -->
<section class="row">
{% 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>