From bd2b183ea00b62902de5cdb795b0fa9e10232806 Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Sat, 30 Dec 2023 02:08:17 -0700 Subject: [PATCH] Pages: add cat fan page --- src/components/Header.astro | 1 + src/pages/meow.astro | 76 +++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 src/pages/meow.astro diff --git a/src/components/Header.astro b/src/components/Header.astro index c346dd7..3a982f7 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -9,6 +9,7 @@ import { SITE_TITLE } from '../consts'; Blog Unix + Meow
ReLUwU activated diff --git a/src/pages/meow.astro b/src/pages/meow.astro new file mode 100644 index 0000000..fbae3fd --- /dev/null +++ b/src/pages/meow.astro @@ -0,0 +1,76 @@ +--- +import BaseHead from '../components/BaseHead.astro'; +import Header from '../components/Header.astro'; +import Footer from '../components/Footer.astro'; +import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; +import { Image } from 'astro:assets'; + +const imageFiles = (await Astro.glob('../assets/cat-pics/*')).sort().reverse(); +--- + + + + +
+
+
+

+ Kruo Pics! +

+

+ This is Kruo. She's about 6 years old. She likes squishy things, + like extra towels on the bed. +

+
+
+
+ { + imageFiles.map((img) => ( +
+ Photo of a pizza +
+ )) + } +
+
+
+ +