diff --git a/src/components/atoms/Pagination.astro b/src/components/atoms/Pagination.astro index 71cb7ea..6ab5fa6 100644 --- a/src/components/atoms/Pagination.astro +++ b/src/components/atoms/Pagination.astro @@ -16,11 +16,7 @@ const { prevUrl, nextUrl, prevText = 'Newer posts', nextText = 'Older posts' } = (prevUrl || nextUrl) && (
{prevText}
diff --git a/src/components/atoms/Tags.astro b/src/components/atoms/Tags.astro index 03728a7..54b95e1 100644 --- a/src/components/atoms/Tags.astro +++ b/src/components/atoms/Tags.astro @@ -1,7 +1,7 @@ --- import { getPermalink } from '~/utils/permalinks'; -import type { Post } from '~/utils/posts'; +import type { Post } from "~/types" export interface Props { tags: Post['tags']; diff --git a/src/components/blog/Grid.astro b/src/components/blog/Grid.astro index 95ad4d1..291073d 100644 --- a/src/components/blog/Grid.astro +++ b/src/components/blog/Grid.astro @@ -1,6 +1,6 @@ --- import Item from '~/components/blog/GridItem.astro'; -import type { Post } from '~/utils/posts'; +import type { Post } from "~/types" export interface Props { posts: Array