From db8cf3f93c8493e32d008fabaff464624785a8e6 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Thu, 26 Jun 2025 16:03:51 +0200 Subject: [PATCH] refactor: :recycle: use SVG sprite instead of individual SVGs This prevents 11ty with WebC/Markdown to produce excessive newlines in output markup --- src/components/icon-sprite.webc | 298 ++++++++++++++++++++++++ src/components/icon.webc | 388 +------------------------------- src/layouts/character.webc | 4 +- 3 files changed, 305 insertions(+), 385 deletions(-) create mode 100644 src/components/icon-sprite.webc diff --git a/src/components/icon-sprite.webc b/src/components/icon-sprite.webc new file mode 100644 index 0000000..00f2298 --- /dev/null +++ b/src/components/icon-sprite.webc @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/icon.webc b/src/components/icon.webc index da121e8..ce119c8 100644 --- a/src/components/icon.webc +++ b/src/components/icon.webc @@ -1,389 +1,9 @@ -