1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-12 23:19:09 +00:00

Update blog

This commit is contained in:
Luke 2022-01-05 12:49:42 +01:00
parent 7f77a680be
commit 56f7f04955

View file

@ -3,34 +3,22 @@ title: Safing Blog
layout: page
---
<section class="pt-16 md:pt-32 lg:pt-64">
<div class="items-center h-full">
<div class="container mx-auto px-8 sm:px-0 flex">
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:flex">
<div class="py-12 bg-white">
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<!-- hide the huge "Follow Us" in mobile & md devices for now, made width problems -->
<span style="font-size: 12rem; font-weight: 800; margin-top: -9rem; opacity: 0.05;" class="z-0 ml-0 w-full left-0 text-center absolute bg-top hidden lg:block">Follow Us</span>
<h2 class="text-5xl tracking-tight font-extrabold leading-none py-5 md:py-10 text-center">Blog</h2>
<div class="flex mx-auto justify-center pt-5">
<a href="{{ site.blog_feed_url }}" class="pl-4 pr-4 opacity-55 hover:opacity-100 ease-in-out duration-150" target="_blank">
<img style="height: 1.3rem; width: auto;" src="{{ site.img_url }}icons/rss.svg">
</a>
</div>
</div>
<div class="mt-8 md:mt-32">
<ul class="md:grid md:grid-cols-2 lg:grid-cols-3 md:col-gap-8 md:row-gap-10">
{% assign sorted_blogs = site.publications | reverse | where:"category","blog" %}
{% for post in sorted_blogs %}
{% include thumbnail_blog.html %}
{% endfor %}
</ul>
<br class="mb-12">
</div>
<section>
<div class="blogpod-container mt-80">
<div class="blogpod-container-top">
<span class="blogpod-container-top-bg-title">Follow Us</span>
<h2 class="blogpod-container-top-title">
Blog
</h2>
<div class="blogpod-container-top-extra">
<a class="link-secondary" href="{{ site.blog_feed_url }}"><i class="icon-rss"></i></a>
</div>
</div>
</div>
</div>
<div class="blogpod-container-bottom">
{% assign sorted_blogs = site.publications | reverse | where:"category","blog" %}
{% for post in sorted_blogs %}
{% include thumbnail_blog.html %}
{% endfor %}
</div>
</div>
</section>
</section>