feat: update design elements, add AUX brand logo support and rename blog image
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user