feat: Little bit of redesigning

Fixes articles overflowing on small screens.
This commit is contained in:
2023-07-22 20:55:57 +02:00
parent ba567e0d65
commit a69915b46d
5 changed files with 73 additions and 79 deletions

View File

@@ -1,14 +1,10 @@
<!-- Post item -->
<div class="w-4/5 py-4">
<a href="/{{ slug }}.html">
<h1 class="prose prose-h1 text-2xl text-indigo-400">{{ title }}</h1>
</a>
<div class="flex flex-col pt-4">
<a href="/{{ slug }}.html"><h1 class="text-indigo-400 prose prose-lg text-xl">{{ title }}</h1></a>
<span class="text-md mt-2">Posted on {{ date }}</span>
<p class="prose prose-xs text-white">
Posted on {{ date }}
</p>
<p class="prose text-white py-2">
{{ summary }}...
</p>
</div>
<!-- Blurp -->
<span class="prose text-white mt-4">
{{ summary }}
</span>
</div>