diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/FormattedDate.astro | 2 | ||||
| -rw-r--r-- | src/components/blog/PostPreview.astro | 2 | ||||
| -rw-r--r-- | src/components/blog/TOC.astro | 2 | ||||
| -rw-r--r-- | src/components/blog/webmentions/Comments.astro | 2 | ||||
| -rw-r--r-- | src/components/layout/Header.astro | 2 | ||||
| -rw-r--r-- | src/components/note/Note.astro | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index aba7f4d..45de273 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -1,6 +1,6 @@ --- -import { getFormattedDate } from "@/utils/date"; import type { HTMLAttributes } from "astro/types"; +import { getFormattedDate } from "@/utils/date"; type Props = HTMLAttributes<"time"> & { date: Date; diff --git a/src/components/blog/PostPreview.astro b/src/components/blog/PostPreview.astro index fc1a9a3..cbe747e 100644 --- a/src/components/blog/PostPreview.astro +++ b/src/components/blog/PostPreview.astro @@ -1,7 +1,7 @@ --- import type { CollectionEntry } from "astro:content"; -import FormattedDate from "@/components/FormattedDate.astro"; import type { HTMLTag, Polymorphic } from "astro/types"; +import FormattedDate from "@/components/FormattedDate.astro"; type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & { post: CollectionEntry<"post">; diff --git a/src/components/blog/TOC.astro b/src/components/blog/TOC.astro index 6649546..2a45124 100644 --- a/src/components/blog/TOC.astro +++ b/src/components/blog/TOC.astro @@ -1,6 +1,6 @@ --- -import { generateToc } from "@/utils/generateToc"; import type { MarkdownHeading } from "astro"; +import { generateToc } from "@/utils/generateToc"; import TOCHeading from "./TOCHeading.astro"; interface Props { diff --git a/src/components/blog/webmentions/Comments.astro b/src/components/blog/webmentions/Comments.astro index 5177d57..af14bd0 100644 --- a/src/components/blog/webmentions/Comments.astro +++ b/src/components/blog/webmentions/Comments.astro @@ -1,7 +1,7 @@ --- import { Image } from "astro:assets"; -import type { WebmentionsChildren } from "@/types"; import { Icon } from "astro-icon/components"; +import type { WebmentionsChildren } from "@/types"; interface Props { mentions: WebmentionsChildren[]; diff --git a/src/components/layout/Header.astro b/src/components/layout/Header.astro index 65ea5cc..e7a9a1d 100644 --- a/src/components/layout/Header.astro +++ b/src/components/layout/Header.astro @@ -2,7 +2,7 @@ import Search from "@/components/Search.astro"; import ThemeToggle from "@/components/ThemeToggle.astro"; import { menuLinks } from "@/site.config"; -import {siteConfig} from "../../site.config"; +import { siteConfig } from "../../site.config"; --- <header class="group relative mb-28 flex items-center sm:ps-18" id="main-header"> diff --git a/src/components/note/Note.astro b/src/components/note/Note.astro index d96cb6d..b6a11c8 100644 --- a/src/components/note/Note.astro +++ b/src/components/note/Note.astro @@ -1,7 +1,7 @@ --- import { type CollectionEntry, render } from "astro:content"; -import FormattedDate from "@/components/FormattedDate.astro"; import type { HTMLTag, Polymorphic } from "astro/types"; +import FormattedDate from "@/components/FormattedDate.astro"; type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & { note: CollectionEntry<"note">; |
