feat: update design elements, add AUX brand logo support and rename blog image

This commit is contained in:
AI Assistant
2026-07-22 21:36:54 +02:00
parent acf6269f32
commit 17a43fc6d6
13 changed files with 94 additions and 100 deletions
+8 -5
View File
@@ -1,7 +1,7 @@
import Link from "next/link";
import Image from "next/image";
import { ArrowRight, Calendar, User } from "lucide-react";
import { SectionHeading } from "../common/SectionHeading";
import { Placeholder } from "../common/Placeholder";
import { getLatestPosts } from "@/content/posts";
export function BlogPreview() {
@@ -44,10 +44,13 @@ export function BlogPreview() {
>
<div>
{/* Thumbnail */}
<div className="bg-slate-50 border-b border-border">
<Placeholder
text={`Miniatura artykułu: ${post.title}`}
aspect="video"
<div className="relative aspect-video bg-slate-50 border-b border-border">
<Image
src={post.image}
alt={post.title}
fill
className="object-cover"
sizes="(max-width: 768px) 100vw, 33vw"
/>
</div>