diff --git a/src/components/indieweb/Infobox.astro b/src/components/indieweb/Infobox.astro new file mode 100644 index 0000000..ad22d88 --- /dev/null +++ b/src/components/indieweb/Infobox.astro @@ -0,0 +1,47 @@ +--- +import { siteConfig as sc } from "@lib/siteConfig"; +--- + +
+

{sc.author.name}

+

she/her

+ {sc.author.photo.alt} + +
+ + diff --git a/src/components/links/GoLink.astro b/src/components/links/GoLink.astro index 65b0f1f..a302cf1 100644 --- a/src/components/links/GoLink.astro +++ b/src/components/links/GoLink.astro @@ -3,15 +3,15 @@ import Icon from "@cmp/utils/Icon.astro"; const { go, displayText, icon } = Astro.props; interface Props { - go: string - displayText: string - icon?: string + go: string; + displayText: string; + icon?: string; } --- diff --git a/src/components/PinnedPosts.astro b/src/components/lists/PinnedPosts.astro similarity index 92% rename from src/components/PinnedPosts.astro rename to src/components/lists/PinnedPosts.astro index 94ac914..59253b5 100644 --- a/src/components/PinnedPosts.astro +++ b/src/components/lists/PinnedPosts.astro @@ -1,6 +1,6 @@ --- import { getCollection } from "astro:content"; -import FormattedDate from "./DateTime.astro"; +import FormattedDate from "../DateTime.astro"; const { collection } = Astro.props; diff --git a/src/env.d.ts b/src/env.d.ts index 345724c..38744db 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -4,6 +4,7 @@ interface ImportMetaEnv { readonly LFM_API_KEY: string; readonly LFM_USER: string; + readonly WEBMENTION_API_KEY: string; // more env variables... } diff --git a/src/lib/siteConfig.ts b/src/lib/siteConfig.ts index 176b718..f925aa4 100644 --- a/src/lib/siteConfig.ts +++ b/src/lib/siteConfig.ts @@ -17,7 +17,11 @@ export const siteConfig = { email: "la@laker.gay", photo: { url: "https://cdn.laker.tech/images/tree.png", - alt: "welcome to the club", + alt: "A cartoon tree with yellow boots on.", + size: { + h: "140", + w: "120" + } }, }, devMode: { diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 4c3d1fe..68ed341 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -1,7 +1,7 @@ --- import PageLayout from "@lay/PageLayout.astro"; import CollectionList from "@cmp/lists/CollectionList.astro"; -import PinnedPosts from "@cmp/PinnedPosts.astro"; +import PinnedPosts from "@cmp/lists/PinnedPosts.astro"; import GoLink from "@cmp/links/GoLink.astro"; const pageTitle = "Blog"; diff --git a/src/pages/meta/testing.astro b/src/pages/meta/testing.astro index 73fe67a..a014d22 100644 --- a/src/pages/meta/testing.astro +++ b/src/pages/meta/testing.astro @@ -1,5 +1,8 @@ --- +import Infobox from "@cmp/indieweb/Infobox.astro"; import Layout from "@lay/PageLayout.astro"; --- - + + + diff --git a/src/pages/more.astro b/src/pages/more.astro index 6650792..860a6f6 100644 --- a/src/pages/more.astro +++ b/src/pages/more.astro @@ -5,12 +5,13 @@ import Layout from "@lay/PageLayout.astro";

/me