Блоги #1

Merged
rndtrash merged 64 commits from feature-blogs into master 2025-10-22 08:44:56 +03:00
Showing only changes of commit 2610a4466b - Show all commits

View file

@ -46,13 +46,13 @@
> >
{monthYear} {monthYear}
</h1> </h1>
<div class="flex flex-col flex-wrap items-stretch gap-4 md:flex-row md:justify-center"> <div class="flex flex-col flex-wrap items-stretch gap-4">
{#each postsInMonthYear as post, i} {#each postsInMonthYear as post, i}
<a <a
href="/blog/{post.slug}" href="/blog/{post.slug}"
class="flex flex-row justify-stretch overflow-hidden rounded-lg bg-slate-100 text-slate-950 drop-shadow-xl transition-all hover:drop-shadow-2xl md:flex-col md:justify-baseline" class="flex flex-col justify-baseline overflow-hidden rounded-lg bg-slate-100 text-slate-950 drop-shadow-xl transition-all hover:drop-shadow-2xl sm:flex-row sm:justify-stretch"
> >
<div class="relative h-auto w-full basis-1/3 md:h-48 md:basis-auto"> <div class="relative h-32 w-full basis-auto sm:h-auto sm:basis-1/3">
{#if post.thumbnail} {#if post.thumbnail}
<img <img
class="absolute h-full w-full object-cover" class="absolute h-full w-full object-cover"