3 neue Blog post
This commit is contained in:
@@ -79,7 +79,7 @@ export default function BlogPage() {
|
||||
</div>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto">
|
||||
{blogPostList.map((post: any) => (
|
||||
{blogPostList.map((post: any, index: number) => (
|
||||
<Link key={post.slug} href={post.link || `/blog/${post.slug}`}>
|
||||
<Card hover className="h-full overflow-hidden shadow-md hover:shadow-xl transition-all duration-300">
|
||||
<div className="relative h-56 overflow-hidden">
|
||||
@@ -89,6 +89,7 @@ export default function BlogPage() {
|
||||
width={800}
|
||||
height={600}
|
||||
className="w-full h-full object-cover transition-transform duration-500 hover:scale-110"
|
||||
priority={index < 3}
|
||||
/>
|
||||
</div>
|
||||
<CardHeader className="pb-3">
|
||||
|
||||
Reference in New Issue
Block a user