Блоги #1

Merged
rndtrash merged 64 commits from feature-blogs into master 2025-10-22 08:44:56 +03:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit be9715aca0 - Show all commits

View file

@ -46,11 +46,11 @@
> >
{monthYear} {monthYear}
</h1> </h1>
<div class="flex flex-col flex-wrap items-stretch gap-4"> <div class="flex flex-col flex-wrap items-center 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-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" class="flex w-full max-w-5xl 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-32 w-full basis-auto sm:h-auto sm:basis-1/3"> <div class="relative h-32 w-full basis-auto sm:h-auto sm:basis-1/3">
{#if post.thumbnail} {#if post.thumbnail}

View file

@ -27,6 +27,7 @@
</div> </div>
</div> </div>
</section> </section>
<section <section
class="flex shrink-0 flex-col items-center justify-center p-4 font-bold {isPublic class="flex shrink-0 flex-col items-center justify-center p-4 font-bold {isPublic
? 'bg-amber-50 text-slate-950' ? 'bg-amber-50 text-slate-950'
@ -79,6 +80,8 @@
hover:prose-a:transition-all hover:prose-a:transition-all
prose-code:break-words prose-code:break-words
prose-pre:drop-shadow-md prose-pre:drop-shadow-md
mx-auto
w-5xl
bg-white bg-white
p-4 lg:p-8" p-4 lg:p-8"
> >