From 0c5d40b5c3954e496dc03fc29a2d9fd26ba64839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sun, 10 Sep 2023 17:19:16 +0200 Subject: [PATCH] Change passed-away class to rip-image --- src/components/CatCard.astro | 33 ++++++++++++++++----------------- src/pages/[...page].astro | 16 +++++++++------- src/pages/cats/[...catId].astro | 2 +- src/styles/global.css | 2 +- 4 files changed, 27 insertions(+), 26 deletions(-) diff --git a/src/components/CatCard.astro b/src/components/CatCard.astro index 1fc6807..5e12ed5 100644 --- a/src/components/CatCard.astro +++ b/src/components/CatCard.astro @@ -10,9 +10,9 @@ const { cat } = Astro.props;
-
+
{cat.data.image.alt} - {cat.data.passedAway && Rest In Peace} + {cat.data.passedAway &&
Rest In Peace
}

{cat.data.name}

{cat.data.owner.name}

@@ -28,6 +28,10 @@ const { cat } = Astro.props;