Blog improvement

This commit is contained in:
SkyfallWasTaken 2024-07-14 17:53:58 +01:00
parent 941dc7d566
commit 3102851edf
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { actions } from "astro:actions";
/* import { actions } from "astro:actions"; */
import ActivityCalendarWidget from "activity-calendar-widget/svelte";
</script>

View file

@ -34,7 +34,7 @@ if (heroImage) {
<Header />
<main class="max-w-full text-text my-12 prose">
<article>
<div class="md:w-[720px] mx-6 lg:mx-auto m-0 text-center">
<div class="md:w-[720px] mx-6 sm:mx-auto m-0 text-center">
<!-- Title, date and description -->
<h1 class="text-4xl font-black text-text mb-3">{title}</h1>
<p class="text-lg italic mb-2">{description}</p>

View file

@ -69,7 +69,7 @@ let imagesLoadedEagerly = 0;
);
}
}}
<h4 class="text-2xl font-bold">{post.data.title}</h4>
<h3 class="text-2xl font-bold hover:underline">{post.data.title}</h4>
<p class="text-text mb-2">{post.data.description}</p>
<p>
<FormattedDate date={post.data.pubDate} />