From e1ec4a112907f4aebad56b2b388eceb3969e6e88 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 12 Jun 2026 18:30:42 -0700 Subject: unify microblog --- src/components/FormattedDate.astro | 7 +- src/components/Header.astro | 1 + src/content/blog/micro-blog-merged.md | 12 ++ src/content/config.ts | 21 ++- src/content/micro/01-hello-world.md | 28 ++++ src/content/micro/02-china-town-fair/gloves.webp | Bin 0 -> 431668 bytes src/content/micro/02-china-town-fair/index.md | 24 ++++ .../micro/02-china-town-fair/inside-ctf.webp | Bin 0 -> 1020876 bytes .../micro/02-china-town-fair/outside-ctf.webp | Bin 0 -> 355348 bytes src/content/micro/03-power-bank-recall.md | 24 ++++ src/content/micro/04-yt-music-rewind.md | 8 ++ src/content/micro/05-procon2-hid-tool.md | 155 +++++++++++++++++++++ src/content/micro/06-first-sdvx-18/18.webp | Bin 0 -> 339632 bytes src/content/micro/06-first-sdvx-18/index.md | 9 ++ src/content/micro/07-arcade-monsters-sd/cab1.webp | Bin 0 -> 506938 bytes src/content/micro/07-arcade-monsters-sd/cab2.webp | Bin 0 -> 379430 bytes .../micro/07-arcade-monsters-sd/danevo.webp | Bin 0 -> 384012 bytes src/content/micro/07-arcade-monsters-sd/index.md | 55 ++++++++ src/content/micro/07-arcade-monsters-sd/view1.webp | Bin 0 -> 952802 bytes src/content/micro/07-arcade-monsters-sd/view2.webp | Bin 0 -> 436422 bytes src/content/micro/08-ffxiv-patch-7-4.md | 33 +++++ src/content/micro/09-dbox-review.md | 16 +++ src/content/micro/10-discord-rant.md | 24 ++++ .../11-hundred-lines-last-defense-playlog/index.md | 31 +++++ .../playtime.png | Bin 0 -> 25402 bytes src/content/micro/12-april-playlog.md | 95 +++++++++++++ src/content/micro/13-dac-vs-wireless-dap.md | 78 +++++++++++ src/pages/index.astro | 24 ++++ src/pages/micro/[...slug].astro | 20 +++ src/pages/micro/index.astro | 54 +++++++ src/pages/rss.xml.js | 14 +- 31 files changed, 725 insertions(+), 8 deletions(-) create mode 100644 src/content/blog/micro-blog-merged.md create mode 100644 src/content/micro/01-hello-world.md create mode 100644 src/content/micro/02-china-town-fair/gloves.webp create mode 100644 src/content/micro/02-china-town-fair/index.md create mode 100644 src/content/micro/02-china-town-fair/inside-ctf.webp create mode 100644 src/content/micro/02-china-town-fair/outside-ctf.webp create mode 100644 src/content/micro/03-power-bank-recall.md create mode 100644 src/content/micro/04-yt-music-rewind.md create mode 100644 src/content/micro/05-procon2-hid-tool.md create mode 100644 src/content/micro/06-first-sdvx-18/18.webp create mode 100644 src/content/micro/06-first-sdvx-18/index.md create mode 100644 src/content/micro/07-arcade-monsters-sd/cab1.webp create mode 100644 src/content/micro/07-arcade-monsters-sd/cab2.webp create mode 100644 src/content/micro/07-arcade-monsters-sd/danevo.webp create mode 100644 src/content/micro/07-arcade-monsters-sd/index.md create mode 100644 src/content/micro/07-arcade-monsters-sd/view1.webp create mode 100644 src/content/micro/07-arcade-monsters-sd/view2.webp create mode 100644 src/content/micro/08-ffxiv-patch-7-4.md create mode 100644 src/content/micro/09-dbox-review.md create mode 100644 src/content/micro/10-discord-rant.md create mode 100644 src/content/micro/11-hundred-lines-last-defense-playlog/index.md create mode 100644 src/content/micro/11-hundred-lines-last-defense-playlog/playtime.png create mode 100644 src/content/micro/12-april-playlog.md create mode 100644 src/content/micro/13-dac-vs-wireless-dap.md create mode 100644 src/pages/micro/[...slug].astro create mode 100644 src/pages/micro/index.astro (limited to 'src') diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index 1bcce73..fd9f7a6 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -1,14 +1,15 @@ --- interface Props { - date: Date; + date: Date | string | number; } const { date } = Astro.props; +const formattedDate = date instanceof Date ? date : new Date(date); --- -