From 007fd15eab6df77f1a5b083b8ed50a8c7f5cc4db Mon Sep 17 00:00:00 2001 From: Fries Date: Sun, 30 Jun 2024 01:02:47 -0700 Subject: [PATCH] add a new friend! and some new fields. the fields added are pronouns and serial number. --- friends-schema.json | 6 +++++ src/components/Friend.astro | 6 +++++ src/components/WebsiteButton.astro | 4 +++- src/content/friends/allissa.json | 3 ++- src/content/friends/chloe.json | 10 +++++++++ src/content/friends/em.json | 3 ++- src/content/friends/mossfet.json | 3 ++- src/schema/friends_schema.ts | 2 ++ src/styles/global.css | 29 +++++++++++++++++++++++++ src/website_buttons/kawaiizenbo.me.gif | Bin 0 -> 2898 bytes 10 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 src/content/friends/chloe.json create mode 100644 src/website_buttons/kawaiizenbo.me.gif diff --git a/friends-schema.json b/friends-schema.json index 8ffbaa7..b7952d9 100644 --- a/friends-schema.json +++ b/friends-schema.json @@ -32,6 +32,12 @@ "minLength": 1 } } + }, + "pronouns": { + "type": "string" + }, + "serial_number": { + "type": "string" } } } diff --git a/src/components/Friend.astro b/src/components/Friend.astro index 9c0f635..75b58fa 100644 --- a/src/components/Friend.astro +++ b/src/components/Friend.astro @@ -11,6 +11,12 @@ const { friend } = Astro.props;

{friend.name}

+ {(friend.pronouns || friend.serial_number) && ( + + )}

{friend.description}

{friend.website_button && diff --git a/src/styles/global.css b/src/styles/global.css index 1afc0ab..a96e93a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -97,6 +97,35 @@ nav { text-decoration-style: dotted; } +.tooltip-metadata>p { + text-decoration: underline; + text-decoration-style: dotted; +} + .website_button { image-rendering: pixelated; } + +.metadata { + font-size: 1.575rem; + display: flex; + justify-content: center; + flex-direction: row; +} + +.metadata span:not(:first-child)::before { + content: "ยท"; + padding-left: 5px; + padding-right: 5px; + text-decoration: none !important; +} + +.metadata span { + display: flex; + flex-direction: row; +} + +.metadata p { + margin-top: 0px; + margin-bottom: 0px; +} diff --git a/src/website_buttons/kawaiiz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