From fa106e66e57d1b860bc5519319520956e864c3e1 Mon Sep 17 00:00:00 2001 From: Heli-o Date: Mon, 14 Oct 2024 20:43:56 +0200 Subject: [PATCH] added lazy loading and async decode to all images and 2 more buttons --- content/Characters/Flow.md | 2 +- content/Characters/Helio.md | 2 +- .../Iterations/Ulysia - iteration 1.md | 4 ++-- content/Characters/Scarlet.md | 2 +- content/Characters/Ulysia.md | 4 ++-- content/Characters/index.md | 2 +- quartz/components/Btn8831.tsx | 8 ++++++- quartz/components/buttons.json | 24 +++++++++++++++++++ 8 files changed, 39 insertions(+), 9 deletions(-) diff --git a/content/Characters/Flow.md b/content/Characters/Flow.md index 208232e..b995bfb 100644 --- a/content/Characters/Flow.md +++ b/content/Characters/Flow.md @@ -5,4 +5,4 @@ tags: character, protogen Tho here is his image ^fde6d9 - \ No newline at end of file + \ No newline at end of file diff --git a/content/Characters/Helio.md b/content/Characters/Helio.md index 4ed5951..f1d51fc 100644 --- a/content/Characters/Helio.md +++ b/content/Characters/Helio.md @@ -4,6 +4,6 @@ tags: character, dragon Helio is a western dragon with plasma running inside of him ^63d074 ### Ref Sheet - + - Artist is [@starlyscies](https://www.deviantart.com/starlyscies) on DeviantArt \ No newline at end of file diff --git a/content/Characters/Iterations/Ulysia - iteration 1.md b/content/Characters/Iterations/Ulysia - iteration 1.md index 7e0a4c6..354ed64 100644 --- a/content/Characters/Iterations/Ulysia - iteration 1.md +++ b/content/Characters/Iterations/Ulysia - iteration 1.md @@ -1,10 +1,10 @@ Ulysia is a female silkwing ^30ce5f ### Headshot - + - Artist is [Amoadragon](https://twitter.com/aomadragon) on Twitter ### Ref Sheet - + - Artist of the bases used is [K9Pestilence](https://sta.sh/2rpe0f28aat) \ No newline at end of file diff --git a/content/Characters/Scarlet.md b/content/Characters/Scarlet.md index f0230d6..c946c5f 100644 --- a/content/Characters/Scarlet.md +++ b/content/Characters/Scarlet.md @@ -4,6 +4,6 @@ tags: character, kobold An adorable kobold bought as an adopt from [AzuralCobaltros](https://www.deviantart.com/azuralcobaltros) *(name might change)* ^7d6790 - + - Artist is [AzuralCbaltros](https://www.deviantart.com/azuralcobaltros) on DeviantArt \ No newline at end of file diff --git a/content/Characters/Ulysia.md b/content/Characters/Ulysia.md index f39b13b..bd7c429 100644 --- a/content/Characters/Ulysia.md +++ b/content/Characters/Ulysia.md @@ -9,12 +9,12 @@ Ulysia is a moth-dragon hybrid. She can squeak like a deathhead hawkmoth and ret Her [Twitter](https://x.com/Helga_Dragon "https://x.com/Helga_Dragon") and [FurAffinity](https://www.furaffinity.net/user/mydrawnworld/ "https://www.furaffinity.net/user/mydrawnworld/") ### Ref Sheet - + ### Plushified version by Clodinator [Clodinator's youtube](https://www.youtube.com/@Clodinator) - + # History Date = last used `(dd/mm/yyyy format)` diff --git a/content/Characters/index.md b/content/Characters/index.md index 5691645..b16bc39 100644 --- a/content/Characters/index.md +++ b/content/Characters/index.md @@ -15,4 +15,4 @@ Some characters (currently only Ulysia) have a history section which holds past # Size Chart for the dragons > [!note] Ulysias appearance has changed. See her current appearance in [[Ulysia]] - \ No newline at end of file + \ No newline at end of file diff --git a/quartz/components/Btn8831.tsx b/quartz/components/Btn8831.tsx index d83553a..6561d5c 100644 --- a/quartz/components/Btn8831.tsx +++ b/quartz/components/Btn8831.tsx @@ -62,7 +62,13 @@ export default (() => { if (contentType === "image") { return ( - {button.alt} + {button.alt} ) } else if (contentType === "iframe") { diff --git a/quartz/components/buttons.json b/quartz/components/buttons.json index 4cf192a..eaa7f53 100644 --- a/quartz/components/buttons.json +++ b/quartz/components/buttons.json @@ -28,6 +28,14 @@ "type": "friend", "contentType": "image" }, + { + "image": "https://assets.derg.cz/buttons/queerpride.gif", + "url": "https://assets.derg.cz/buttons/queerpride.gif", + "alt": "Queer pride!", + "title": "Queer pride!", + "type": "misc", + "contentType": "image" + }, { "image": "https://assets.derg.cz/buttons/dragons-now.jpg", "url": "https://assets.derg.cz/buttons/dragons-now.jpg", @@ -59,5 +67,21 @@ "title": "HL:New Lambda research facility", "type": "misc", "contentType": "image" + }, + { + "image": "https://assets.derg.cz/buttons/phonechump.gif", + "url": "https://assets.derg.cz/buttons/phonechump.gif", + "alt": "Don't be a phone chump! Get a computer!", + "title": "Don't be a phone chump! Get a computer!", + "type": "misc", + "contentType": "image" + }, + { + "image": "https://assets.derg.cz/buttons/narrow-head.gif", + "url": "https://assets.derg.cz/buttons/narrow-head.gif", + "alt": "Coming soon.", + "title": "C̴̼͗ǫ̶̒m̷͓͒ī̴̲ṇ̷̐g̶̹͛ ̶̣͗s̸̻͠ō̷̠o̵̝͐n̴̡̚.̷̼̆", + "type": "misc", + "contentType": "image" } ]