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
+1 -1
View File
@@ -1,5 +1,5 @@
import { slugifyStr } from "./slugify";
import type { CollectionEntry } from "astro:content";
import { slugifyStr } from "./slugify";
import postFilter from "./postFilter";
interface Tag {
+1 -1
View File
@@ -1,6 +1,6 @@
import satori from "satori";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@config";
import { SITE } from "@/config";
import loadGoogleFonts, { type FontOptions } from "../loadGoogleFont";
export default async (post: CollectionEntry<"blog">) => {
+1 -1
View File
@@ -1,5 +1,5 @@
import satori from "satori";
import { SITE } from "@config";
import { SITE } from "@/config";
import loadGoogleFonts, { type FontOptions } from "../loadGoogleFont";
export default async () => {
+1 -1
View File
@@ -1,5 +1,5 @@
import { SITE } from "@config";
import type { CollectionEntry } from "astro:content";
import { SITE } from "@/config";
const postFilter = ({ data }: CollectionEntry<"blog">) => {
const isPublishTimePassed =