summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
commitf100d259d2ffebe61fef56ea3964f6d534d598c8 (patch)
tree09d06511506da9c35585740d56598eb542fac079 /src/components
parent1e5f5a953588cefa75396454c9aed0a79552db14 (diff)
Initial pleroma pull support
Diffstat (limited to 'src/components')
-rw-r--r--src/components/FormattedDate.astro2
-rw-r--r--src/components/blog/PostPreview.astro2
-rw-r--r--src/components/blog/TOC.astro2
-rw-r--r--src/components/blog/webmentions/Comments.astro2
-rw-r--r--src/components/layout/Header.astro2
-rw-r--r--src/components/note/Note.astro2
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">;