refactor: update import alias in files

This commit is contained in:
satnaing
2025-02-25 20:17:30 +07:00
committed by Sat Naing
parent cd11b39d22
commit 53c79dd4c1
9 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
---
import { type CollectionEntry, getCollection } from "astro:content";
import PostDetails from "@layouts/PostDetails.astro";
import getSortedPosts from "@utils/getSortedPosts";
import PostDetails from "@/layouts/PostDetails.astro";
import getSortedPosts from "@/utils/getSortedPosts";
export interface Props {
post: CollectionEntry<"blog">;
+2 -2
View File
@@ -1,7 +1,7 @@
import type { APIRoute } from "astro";
import { getCollection, type CollectionEntry } from "astro:content";
import { generateOgImageForPost } from "@utils/generateOgImages";
import { slugifyStr } from "@utils/slugify";
import { generateOgImageForPost } from "@/utils/generateOgImages";
import { slugifyStr } from "@/utils/slugify";
export async function getStaticPaths() {
const posts = await getCollection("blog").then(p =>