build!: upgrade Astro to v5 and related packages

This commit is contained in:
satnaing
2025-02-08 18:49:12 +07:00
committed by Sat Naing
parent 1d7b6da440
commit cc936ca5e4
12 changed files with 1654 additions and 1960 deletions
+4 -4
View File
@@ -75,9 +75,9 @@ const socialCount = SOCIALS.filter(social => social.active).length;
<section id="featured">
<h2>Featured</h2>
<ul>
{featuredPosts.map(({ data, slug }) => (
{featuredPosts.map(({ data, id }) => (
<Card
href={`/posts/${slug}/`}
href={`/posts/${id}/`}
frontmatter={data}
secHeading={false}
/>
@@ -95,10 +95,10 @@ const socialCount = SOCIALS.filter(social => social.active).length;
<h2>Recent Posts</h2>
<ul>
{recentPosts.map(
({ data, slug }, index) =>
({ data, id }, index) =>
index < SITE.postPerIndex && (
<Card
href={`/posts/${slug}/`}
href={`/posts/${id}/`}
frontmatter={data}
secHeading={false}
/>