commit
Change icon pack, and add a blog post.
diff --git a/bun.lock b/bun.lock
index 0743c62..029cfc1 100644
--- a/bun.lock
+++ b/bun.lock
@@ -5,12 +5,13 @@
"": {
"name": "testing-site",
"dependencies": {
- "iconsax": "^0.1.1",
+ "@giscus/svelte": "^3.1.0",
"simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0",
"yaml": "^2.9.1",
},
"devDependencies": {
"@eslint/js": "^10.0.1",
+ "@iconify-json/ic": "^1.2.4",
"@sveltejs/adapter-node": "^6.0.0",
"@sveltejs/kit": "^3.1.0",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
@@ -25,11 +26,14 @@
"svelte-check": "^4.7.7",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
+ "unplugin-icons": "^24.0.0",
"vite": "^8.3.5",
},
},
},
"packages": {
+ "@antfu/install-pkg": ["@antfu/[email protected]", "", { "dependencies": { "package-manager-detector": "^1.3.0", "tinyexec": "^1.0.1" } }, "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ=="],
+
"@cacheable/memory": ["@cacheable/[email protected]", "", { "dependencies": { "@cacheable/utils": "^2.5.0", "@keyv/bigmap": "^1.3.1", "hookified": "^1.15.1", "keyv": "^5.6.0" } }, "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ=="],
"@cacheable/utils": ["@cacheable/[email protected]", "", { "dependencies": { "hashery": "^1.5.1", "keyv": "^5.6.0" } }, "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA=="],
@@ -50,6 +54,8 @@
"@eslint/plugin-kit": ["@eslint/[email protected]", "", { "dependencies": { "@eslint/core": "^1.2.1", "levn": "^0.4.1" } }, "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q=="],
+ "@giscus/svelte": ["@giscus/[email protected]", "", { "dependencies": { "giscus": "^1.6.0" }, "peerDependencies": { "svelte": "^3 || ^4 || ^5" } }, "sha512-87AhkRvT5mUzGFbbv5RX1+DiC8RsRVZPzyGDNyshNUlezlTjnLB7cXf7ySqEKu6KlRTP41c1XGUufoKhoaQjqg=="],
+
"@humanfs/core": ["@humanfs/[email protected]", "", { "dependencies": { "@humanfs/types": "^0.15.0" } }, "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA=="],
"@humanfs/node": ["@humanfs/[email protected]", "", { "dependencies": { "@humanfs/core": "^0.19.2", "@humanfs/types": "^0.15.0", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ=="],
@@ -60,6 +66,12 @@
"@humanwhocodes/retry": ["@humanwhocodes/[email protected]", "", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="],
+ "@iconify-json/ic": ["@iconify-json/[email protected]", "", { "dependencies": { "@iconify/types": "*" } }, "sha512-pzPMmrZrBQuwT7nmtrYdkttun8KalRGgZPIL1Ny9KpF2zjRGIUPN+npTfuD3lrgO/OnSwAoJWuekQwBpt/Cqrw=="],
+
+ "@iconify/types": ["@iconify/[email protected]", "", {}, "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg=="],
+
+ "@iconify/utils": ["@iconify/[email protected]", "", { "dependencies": { "@antfu/install-pkg": "^2.0.1", "@iconify/types": "^2.0.0", "import-meta-resolve": "^4.2.0" } }, "sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w=="],
+
"@jridgewell/gen-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="],
"@jridgewell/remapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="],
@@ -74,6 +86,10 @@
"@keyv/serialize": ["@keyv/[email protected]", "", {}, "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA=="],
+ "@lit-labs/ssr-dom-shim": ["@lit-labs/[email protected]", "", {}, "sha512-VHb0ALPMTlgKjM6yIxxoQNnpKyUKLD04VzeQdsiXkMqkvYlAHxq9glGLmgbb889/1GsohSOAjvQYoiBppXFqrQ=="],
+
+ "@lit/reactive-element": ["@lit/[email protected]", "", { "dependencies": { "@lit-labs/ssr-dom-shim": "^1.5.0" } }, "sha512-pbCDiVMnne1lYUIaYNN5wrwQXDtHaYtg7YEFPeW+hws6U47WeFvISGUWekPGKWOP1ygrs0ef0o1VJMk1exos5A=="],
+
"@oxc-project/types": ["@oxc-project/[email protected]", "", {}, "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q=="],
"@polka/url": ["@polka/[email protected]", "", {}, "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww=="],
@@ -130,6 +146,8 @@
"@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ=="],
+ "@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],
+
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.72.0", "@typescript-eslint/type-utils": "8.72.0", "@typescript-eslint/utils": "8.72.0", "@typescript-eslint/visitor-keys": "8.72.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.72.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-aysKgysPX9XOv/dk95UkvUDe++Q3n3dJPG9CEWT3RUccxfkPJ+Qn6nhKPDhZXU6Ofo9kgwGWwKyQCnZIXTgngg=="],
"@typescript-eslint/parser": ["@typescript-eslint/[email protected]", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.72.0", "@typescript-eslint/types": "8.72.0", "@typescript-eslint/typescript-estree": "8.72.0", "@typescript-eslint/visitor-keys": "8.72.0", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-0O+x3ynciD6zuXb1CKSu165haQV6ey53DKhHHUnujP7U+XlltJG+/keT0Xhd1HXCze+IHf7Tvt39ovyepX/LNw=="],
@@ -170,6 +188,8 @@
"clsx": ["[email protected]", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
+ "confbox": ["[email protected]", "", {}, "sha512-ZUAKhKlkCOrIGKc8cj7zek9s9z1mveHif/25nUshI2BzCRzF7KH7KHa+Lnh2ubq+e1tIlaFuP763mzW4qVoehg=="],
+
"cookie": ["[email protected]", "", {}, "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w=="],
"cross-spawn": ["[email protected]", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
@@ -212,6 +232,8 @@
"esutils": ["[email protected]", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="],
+ "exsolve": ["[email protected]", "", {}, "sha512-h1pQPR9XoeSMdntRNCjyTznaume4UpfXrULBnlkZ2CUM/G5eSa+pBByGldO5uR8dxbPC+OuJXsPPNf+JZ81ADg=="],
+
"fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
"fast-json-stable-stringify": ["[email protected]", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="],
@@ -230,6 +252,8 @@
"fsevents": ["[email protected]", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
+ "giscus": ["[email protected]", "", { "dependencies": { "lit": "^3.2.1" } }, "sha512-Zrsi8r4t1LVW950keaWcsURuZUQwUaMKjvJgTCY125vkW6OiEBkatE7ScJDbpqKHdZwb///7FVC21SE3iFK3PQ=="],
+
"glob-parent": ["[email protected]", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="],
"globals": ["[email protected]", "", {}, "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg=="],
@@ -238,10 +262,10 @@
"hookified": ["[email protected]", "", {}, "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg=="],
- "iconsax": ["[email protected]", "", { "bin": { "iconsax": "bin/iconsax.js" } }, "sha512-/HXomG+SuhytKH/Yw4ZdunDGyWP02Osuk/pjony1k9CCMOsg7dUpnomu7HZUOHNu0yK0b3phErjH2IgUTJFjPA=="],
-
"ignore": ["[email protected]", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
+ "import-meta-resolve": ["[email protected]", "", {}, "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg=="],
+
"imurmurhash": ["[email protected]", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="],
"is-extglob": ["[email protected]", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
@@ -288,6 +312,14 @@
"lilconfig": ["[email protected]", "", {}, "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ=="],
+ "lit": ["[email protected]", "", { "dependencies": { "@lit/reactive-element": "^2.1.0", "lit-element": "^4.2.0", "lit-html": "^3.3.0" } }, "sha512-fycuvZg/hkpozL00lm1pEJH5nN/lr9ZXd6mJI2HSN4+Bzc+LDNdEApJ6HFbPkdFNHLvOplIIuJvxkS4XUxqirw=="],
+
+ "lit-element": ["[email protected]", "", { "dependencies": { "@lit-labs/ssr-dom-shim": "^1.5.0", "@lit/reactive-element": "^2.1.0", "lit-html": "^3.3.0" } }, "sha512-aFKhNToWxoyhkNDmWZwEva2SlQia+jfG0fjIWV//YeTaWrVnOxD89dPKfigCUspXFmjzOEUQpOkejH5Ly6sG0w=="],
+
+ "lit-html": ["[email protected]", "", { "dependencies": { "@types/trusted-types": "^2.0.2" } }, "sha512-el8M6jK2o3RXBnrSHX3ZKrsN8zEV63pSExTO1wYJz7QndGYZ8353e2a5PPX+qHe2aGayfnchQmkAojaWAREOIA=="],
+
+ "local-pkg": ["[email protected]", "", { "dependencies": { "mlly": "^1.7.4", "pkg-types": "^2.3.0", "quansync": "^0.2.11" } }, "sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q=="],
+
"locate-character": ["[email protected]", "", {}, "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA=="],
"locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="],
@@ -296,6 +328,8 @@
"minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^5.0.8" } }, "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A=="],
+ "mlly": ["[email protected]", "", { "dependencies": { "acorn": "^8.16.0", "pathe": "^2.0.3", "pkg-types": "^1.3.1", "ufo": "^1.6.3" } }, "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA=="],
+
"mri": ["[email protected]", "", {}, "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA=="],
"mrmime": ["[email protected]", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="],
@@ -314,14 +348,20 @@
"p-locate": ["[email protected]", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="],
+ "package-manager-detector": ["[email protected]", "", {}, "sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA=="],
+
"path-exists": ["[email protected]", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="],
"path-key": ["[email protected]", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
+ "pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
+
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
"picomatch": ["[email protected]", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
+ "pkg-types": ["[email protected]", "", { "dependencies": { "confbox": "^0.3.1", "exsolve": "^1.1.3", "pathe": "^2.0.3" } }, "sha512-07Fys7iVx0X6TcviMOgogM1Lk33ZyqOezMnU79S+kffWqwolG/5W9V8EgQSeYCIfFTYVgssRbnH630Oa2+soBA=="],
+
"postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", "source-map-js": "^1.2.2" } }, "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg=="],
"postcss-load-config": ["[email protected]", "", { "dependencies": { "lilconfig": "^2.0.5", "yaml": "^1.10.2" }, "peerDependencies": { "postcss": ">=8.0.9", "ts-node": ">=9.0.0" }, "optionalPeers": ["postcss", "ts-node"] }, "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg=="],
@@ -342,6 +382,8 @@
"qified": ["[email protected]", "", { "dependencies": { "hookified": "^2.1.1" } }, "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA=="],
+ "quansync": ["[email protected]", "", {}, "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA=="],
+
"readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
"rolldown": ["[email protected]", "", { "dependencies": { "@oxc-project/types": "=0.155.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.15", "@rolldown/binding-android-arm64": "1.2.15", "@rolldown/binding-darwin-arm64": "1.2.15", "@rolldown/binding-darwin-x64": "1.2.15", "@rolldown/binding-freebsd-x64": "1.2.15", "@rolldown/binding-linux-arm-gnueabihf": "1.2.15", "@rolldown/binding-linux-arm64-gnu": "1.2.15", "@rolldown/binding-linux-arm64-musl": "1.2.15", "@rolldown/binding-linux-ppc64-gnu": "1.2.15", "@rolldown/binding-linux-s390x-gnu": "1.2.15", "@rolldown/binding-linux-x64-gnu": "1.2.15", "@rolldown/binding-linux-x64-musl": "1.2.15", "@rolldown/binding-openharmony-arm64": "1.2.15", "@rolldown/binding-win32-arm64-msvc": "1.2.15", "@rolldown/binding-win32-x64-msvc": "1.2.15" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g=="],
@@ -366,6 +408,8 @@
"svelte-eslint-parser": ["[email protected]", "", { "dependencies": { "eslint-scope": "^8.2.0", "eslint-visitor-keys": "^4.0.0", "espree": "^10.0.0", "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "postcss-selector-parser": "^7.0.0", "semver": "^7.7.2" }, "peerDependencies": { "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["svelte"] }, "sha512-1bNtsoGwEx/J1qNz1xa5dSt/Ue5+C7+WpV92cCPZDbF6dx/YXHKzC9yTP25vFvAK40yd/mHXi1WACZO7FGf0Bw=="],
+ "tinyexec": ["[email protected]", "", {}, "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA=="],
+
"tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
"totalist": ["[email protected]", "", {}, "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ=="],
@@ -378,8 +422,14 @@
"typescript-eslint": ["[email protected]", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.72.0", "@typescript-eslint/parser": "8.72.0", "@typescript-eslint/typescript-estree": "8.72.0", "@typescript-eslint/utils": "8.72.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-r26Fkc8As+mZvqp7SLsMmNFyYUup/6CjK7/eHBHmhOw6GH6n6YFxHVFrG0jN1c5CMpDzelLPxvgeCOzx7BjN+A=="],
+ "ufo": ["[email protected]", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="],
+
"undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
+ "unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "@rolldown/pluginutils": "^1.0.1", "picomatch": "^4.0.7", "webpack-virtual-modules": "^0.6.2" }, "peerDependencies": { "@farmfe/core": "*", "@rsbuild/core": "*", "@rspack/core": "*", "bun-types-no-globals": "*", "esbuild": "*", "rolldown": "*", "rollup": "*", "unloader": "*", "vite": "*", "webpack": "*" }, "optionalPeers": ["@farmfe/core", "@rsbuild/core", "@rspack/core", "bun-types-no-globals", "esbuild", "rolldown", "rollup", "unloader", "vite", "webpack"] }, "sha512-GrM2uq3DQo3hvLU2FjeYhooJ8BY9N6j1Fbzgx7Pta3VVJevsD3VP4dPjZkZOS0mLvN8w9zzr9OlP+31bSMyuLw=="],
+
+ "unplugin-icons": ["[email protected]", "", { "dependencies": { "@antfu/install-pkg": "^1.1.0", "@iconify/utils": "^3.1.7", "local-pkg": "^1.2.1", "obug": "^2.2.1", "unplugin": "^3.3.0" }, "peerDependencies": { "@svgr/core": ">=7.0.0", "@svgx/core": "^1.0.1", "@vue/compiler-sfc": "^3.0.2", "@vue/compiler-vapor": "^3.6.0-rc.5", "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["@svgr/core", "@svgx/core", "@vue/compiler-sfc", "@vue/compiler-vapor", "svelte"] }, "sha512-wV6c7I0PtiIP8KIU7Z1Ukyc2uzgY9ind3RXNu7j63L9qTWDn7CzLnW9FD57DKbfGpWKQv3qyV2PCtBG8Y5Llcg=="],
+
"uri-js": ["[email protected]", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="],
"util-deprecate": ["[email protected]", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
@@ -388,6 +438,8 @@
"vitefu": ["[email protected]", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["vite"] }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="],
+ "webpack-virtual-modules": ["[email protected]", "", {}, "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ=="],
+
"which": ["[email protected]", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
"word-wrap": ["[email protected]", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="],
@@ -400,10 +452,14 @@
"@eslint-community/eslint-utils/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
+ "@iconify/utils/@antfu/install-pkg": ["@antfu/[email protected]", "", { "dependencies": { "package-manager-detector": "^1.8.0", "tinyexec": "^1.3.1" } }, "sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw=="],
+
"@typescript-eslint/eslint-plugin/ignore": ["[email protected]", "", {}, "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ=="],
"eslint-plugin-svelte/globals": ["[email protected]", "", {}, "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ=="],
+ "mlly/pkg-types": ["[email protected]", "", { "dependencies": { "confbox": "^0.1.8", "mlly": "^1.7.4", "pathe": "^2.0.1" } }, "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ=="],
+
"postcss-load-config/yaml": ["[email protected]", "", {}, "sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA=="],
"qified/hookified": ["[email protected]", "", {}, "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA=="],
@@ -415,5 +471,7 @@
"svelte-eslint-parser/eslint-visitor-keys": ["[email protected]", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="],
"svelte-eslint-parser/espree": ["[email protected]", "", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.1" } }, "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ=="],
+
+ "mlly/pkg-types/confbox": ["[email protected]", "", {}, "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w=="],
}
}
diff --git a/package.json b/package.json
index 2001659..90901e1 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
+ "@iconify-json/ic": "^1.2.4",
"@sveltejs/adapter-node": "^6.0.0",
"@sveltejs/kit": "^3.1.0",
"@sveltejs/vite-plugin-svelte": "^7.3.1",
@@ -29,6 +30,7 @@
"svelte-check": "^4.7.7",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
+ "unplugin-icons": "^24.0.0",
"vite": "^8.3.5"
},
"imports": {
@@ -36,7 +38,7 @@
"#lib/*": "./src/lib/*"
},
"dependencies": {
- "iconsax": "^0.1.1",
+ "@giscus/svelte": "^3.1.0",
"simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0",
"yaml": "^2.9.1"
}
diff --git a/src/app.d.ts b/src/app.d.ts
index 8c2caed..802653b 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -2,6 +2,8 @@
* DASL-1.2 — (c) Clove Twilight
*/
+/// <reference types="unplugin-icons/types/svelte5" />
+
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
@@ -20,17 +22,4 @@ declare global {
}
}
-// <iconsax-icon> is registered by `import 'iconsax'` in src/hooks.client.ts
-declare module 'svelte/elements' {
- export interface SvelteHTMLElements {
- 'iconsax-icon': HTMLAttributes<HTMLElement> & {
- name: string;
- type?: 'bold' | 'broken' | 'bulk' | 'linear' | 'outline' | 'twotone';
- size?: number | string;
- color?: string;
- pro?: boolean;
- };
- }
-}
-
export {};
diff --git a/src/hooks.client.ts b/src/hooks.client.ts
index 570fb66..fb7b652 100644
--- a/src/hooks.client.ts
+++ b/src/hooks.client.ts
@@ -2,9 +2,6 @@
* DASL-1.2 — (c) Clove Twilight
*/
-// Registers <iconsax-icon>. Client-only: the package extends HTMLElement, which doesn't exist during SSR
-import 'iconsax';
-
import { connectLive } from '#lib/scripts/discord.ts';
import { discordId } from '#lib';
diff --git a/src/lib/components/BlogPost.svelte b/src/lib/components/BlogPost.svelte
new file mode 100644
index 0000000..87483db
--- /dev/null
+++ b/src/lib/components/BlogPost.svelte
@@ -0,0 +1,76 @@
+<!-- src/lib/components/BlogPost.svelte
+ DASL-1.2 — (c) Clove Twilight
+-->
+
+<script lang="ts">
+ import type { Snippet } from 'svelte';
+ import Meta from '#lib/components/Meta.svelte';
+ import Giscus from '#lib/components/Giscus.svelte';
+ import IcArrowBack from '~icons/ic/outline-arrow-back';
+ import IcWarningAmber from '~icons/ic/outline-warning-amber';
+ import IcInfo from '~icons/ic/outline-info';
+ import { fmtPostDate, type PostMeta } from '#lib/scripts/blog.ts';
+ import '#lib/styles/blog.css';
+
+ let { meta, children }: { meta: PostMeta; children: Snippet } = $props();
+
+ // Posts with a content warning stay hidden until the reader chooses to continue
+ let revealed = $state(false);
+ const showPost = $derived(!meta.warning || revealed);
+</script>
+
+<Meta title={meta.title} description={meta.excerpt} />
+
+<section class="hero">
+ <div class="wrap post-wrap">
+ <a class="post-back" href="/blog"><IcArrowBack aria-hidden="true" />All posts</a>
+ <h1>{meta.title}</h1>
+ <p class="subtitle">{meta.excerpt}</p>
+ <p class="post-meta">
+ <time datetime={meta.date}>{fmtPostDate(meta.date)}</time>
+ <span aria-hidden="true">·</span>
+ <span>{meta.user}</span>
+ </p>
+ {#if meta.tags.length}
+ <ul class="post-tags">
+ {#each meta.tags as tag (tag)}
+ <li class="chip">{tag}</li>
+ {/each}
+ </ul>
+ {/if}
+ </div>
+</section>
+
+<section class="wrap post-wrap">
+ {#if meta.warning}
+ <div class="post-notice post-warning" role="note">
+ <IcWarningAmber aria-hidden="true" />
+ <div>
+ <p><b>Warning:</b> {meta.warning}</p>
+ {#if !revealed}
+ <button class="post-reveal" type="button" onclick={() => (revealed = true)}>
+ Continue to post
+ </button>
+ {/if}
+ </div>
+ </div>
+ {/if}
+
+ {#if showPost}
+ {#if meta.disclaimer}
+ <div class="post-notice" role="note">
+ <IcInfo aria-hidden="true" />
+ <p>{meta.disclaimer}</p>
+ </div>
+ {/if}
+
+ <article class="post-body">
+ {@render children()}
+ </article>
+ {/if}
+
+ <!-- Comments stay visible behind a content warning, so readers can join in without reading the post -->
+ <div class="post-comments">
+ <Giscus />
+ </div>
+</section>
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
index d735289..a5e3e55 100644
--- a/src/lib/components/Footer.svelte
+++ b/src/lib/components/Footer.svelte
@@ -5,6 +5,7 @@
<script lang="ts">
import '#lib/styles/footer.css';
import { websiteDomain } from '#lib';
+ import IcFavorite from '~icons/ic/outline-favorite';
</script>
<footer>
@@ -16,7 +17,7 @@
<span>
made fully by hand with zero AI-generated code
- <iconsax-icon name="heart" type="bulk" size="16" class="beat"></iconsax-icon>
+ <IcFavorite class="beat" />
</span>
<span>Clove Twilight © 2026</span>
diff --git a/src/lib/components/FriendCard.svelte b/src/lib/components/FriendCard.svelte
index a19197d..a2e007f 100644
--- a/src/lib/components/FriendCard.svelte
+++ b/src/lib/components/FriendCard.svelte
@@ -14,6 +14,14 @@
</script>
<script lang="ts">
+ import IcDesktopWindows from '~icons/ic/outline-desktop-windows';
+ import IcDiamond from '~icons/ic/outline-diamond';
+ import IcLanguage from '~icons/ic/outline-language';
+ import IcLink from '~icons/ic/outline-link';
+ import IcSchedule from '~icons/ic/outline-schedule';
+ import IcSmartphone from '~icons/ic/outline-smartphone';
+ import IcStar from '~icons/ic/outline-star';
+ import IcVerified from '~icons/ic/outline-verified';
import ListeningIcon from '#lib/components/ListeningIcon.svelte';
import {
pickListening,
@@ -86,9 +94,9 @@
const platforms = $derived(
[
- presence?.platform.desktop && { label: 'Desktop', icon: 'monitor' },
- presence?.platform.mobile && { label: 'Mobile', icon: 'mobile' },
- presence?.platform.web && { label: 'Web', icon: 'global' }
+ presence?.platform.desktop && { label: 'Desktop', icon: IcDesktopWindows },
+ presence?.platform.mobile && { label: 'Mobile', icon: IcSmartphone },
+ presence?.platform.web && { label: 'Web', icon: IcLanguage }
].filter((p) => !!p)
);
@@ -158,8 +166,7 @@
{#if pronouns}<span class="chip">{pronouns}</span>{/if}
{#if tzOffset != null}
<span class="chip" title="{record?.timezone?.timezone ?? ''} ({fmtUtcOffset(tzOffset)})">
- <iconsax-icon name="clock" type="bulk" size="24" aria-hidden="true"
- ></iconsax-icon>{fmtClock(now, tzOffset)}
+ <IcSchedule aria-hidden="true" />{fmtClock(now, tzOffset)}
</span>
{/if}
{#if nitro}
@@ -176,18 +183,11 @@
title="Boosting since {fmtMonthYear(user.premium.guild_since)}"
aria-label="Server booster"
>
- <iconsax-icon name="diamonds" type="bulk" size="24" aria-hidden="true"></iconsax-icon>
+ <IcDiamond aria-hidden="true" />
</span>
{/if}
{#each platforms as p (p.label)}
- <iconsax-icon
- name={p.icon}
- type="bulk"
- size="24"
- class="fc-platform"
- aria-label={p.label}
- role="img"
- ></iconsax-icon>
+ <p.icon class="fc-platform" aria-label={p.label} role="img" />
{/each}
</div>
@@ -240,7 +240,7 @@
aria-expanded={wishlistOpen}
onclick={() => (wishlistOpen = !wishlistOpen)}
>
- <iconsax-icon name="star" type="bulk" size="24" aria-hidden="true"></iconsax-icon>
+ <IcStar aria-hidden="true" />
</button>
{/if}
</div>
@@ -265,16 +265,9 @@
rel={href ? 'noopener' : undefined}
title={c.type}
>
- <iconsax-icon name="link" type="bulk" size="24" aria-hidden="true"></iconsax-icon>
+ <IcLink aria-hidden="true" />
<span class="fc-conn-name">{c.name}</span>
- {#if c.verified}<iconsax-icon
- name="verify"
- type="bulk"
- size="24"
- class="fc-conn-check"
- aria-label="Verified"
- role="img"
- ></iconsax-icon>{/if}
+ {#if c.verified}<IcVerified class="fc-conn-check" aria-label="Verified" role="img" />{/if}
</svelte:element>
{/each}
</div>
diff --git a/src/lib/components/Giscus.svelte b/src/lib/components/Giscus.svelte
new file mode 100644
index 0000000..eb3c595
--- /dev/null
+++ b/src/lib/components/Giscus.svelte
@@ -0,0 +1,18 @@
+<script>
+ import Giscus from '@giscus/svelte';
+</script>
+
+<Giscus
+ repo="doughmination/web"
+ repoId="R_kgDOVBqZWQ"
+ category="Announcements"
+ mapping="pathname"
+ categoryId="DIC_kwDOVBqZWc4DKPvC"
+ strict="1"
+ reactionsEnabled="0"
+ emitMetadata="0"
+ inputPosition="top"
+ theme="preferred_color_scheme"
+ lang="en"
+ loading="lazy"
+/>
diff --git a/src/lib/components/Hamburger.svelte b/src/lib/components/Hamburger.svelte
index ae341a9..44c8ea6 100644
--- a/src/lib/components/Hamburger.svelte
+++ b/src/lib/components/Hamburger.svelte
@@ -3,6 +3,8 @@
-->
<script lang="ts">
+ import IcCancel from '~icons/ic/outline-cancel';
+ import IcMenu from '~icons/ic/outline-menu';
import '#lib/styles/hamburger.css';
import { page } from '$app/state';
@@ -55,15 +57,14 @@
aria-controls="hamburger-menu"
onclick={() => (open = true)}
>
- <iconsax-icon name="textalign-justifycenter" type="bulk" size="24" class="nav-icon"
- ></iconsax-icon>
+ <IcMenu class="nav-icon" />
</button>
<div class="hamburger-backdrop" class:open onclick={close} aria-hidden="true"></div>
<nav id="hamburger-menu" class="hamburger-drawer" class:open aria-label="Pages" inert={!open}>
<button class="hamburger hamburger-close" type="button" aria-label="Close menu" onclick={close}>
- <iconsax-icon name="close-circle" type="bulk" size="24" class="nav-icon"></iconsax-icon>
+ <IcCancel class="nav-icon" />
</button>
<ul>
{#each links as link (link.href)}
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 37c0bf7..85e05ee 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -3,6 +3,9 @@
-->
<script lang="ts">
+ import IcArticle from '~icons/ic/outline-article';
+ import IcCall from '~icons/ic/outline-call';
+ import IcKey from '~icons/ic/outline-key';
import Hamburger from '#lib/components/Hamburger.svelte';
import { SiGithub, SiDiscord } from 'simple-icons';
import '#lib/styles/header.css';
@@ -18,16 +21,13 @@
<span>{websiteDomain}</span>
</a>
<nav>
- <a href="https://auth.doughmination.gay" target="_blank"
- ><iconsax-icon name="key" type="bulk" size="24" class="nav-icon"></iconsax-icon>Apps</a
- >
+ <a href="https://auth.doughmination.gay" target="_blank"><IcKey class="nav-icon" />Apps</a>
<a href="https://github.com/doughmination" target="_blank"
><SiGithub class="nav-icon" />GitHub</a
>
- <a href="/contact"
- ><iconsax-icon name="call" type="bulk" size="24" class="nav-icon"></iconsax-icon>Contact</a
- >
+ <a href="/contact"><IcCall class="nav-icon" />Contact</a>
<a href="/invite"> <SiDiscord class="nav-icon" />Discord Server</a>
+ <a href="/blog"><IcArticle class="nav-icon" />Blog</a>
<Hamburger />
</nav>
</header>
diff --git a/src/lib/components/ListeningIcon.svelte b/src/lib/components/ListeningIcon.svelte
index d4d4da6..a1e4b31 100644
--- a/src/lib/components/ListeningIcon.svelte
+++ b/src/lib/components/ListeningIcon.svelte
@@ -3,6 +3,7 @@
-->
<script lang="ts">
+ import IcSportsEsports from '~icons/ic/outline-sports-esports';
import { SiSpotify } from 'simple-icons';
// Decorative: the text next to it always names the app
@@ -13,7 +14,7 @@
{#if source === 'spotify'}
<SiSpotify color="#1db954" title="Spotify" />
{:else}
- <iconsax-icon name="game" type="bulk" size="24"></iconsax-icon>
+ <IcSportsEsports />
{/if}
</span>
diff --git a/src/lib/scripts/blog.ts b/src/lib/scripts/blog.ts
new file mode 100644
index 0000000..fcf3c55
--- /dev/null
+++ b/src/lib/scripts/blog.ts
@@ -0,0 +1,32 @@
+/* src/lib/scripts/blog.ts
+ * DASL-1.2 — (c) Clove Twilight
+ */
+
+// Each post is src/routes/blog/<slug>/+page.svelte and exports one of these
+// from its `<script module>` block, which is what the /blog list reads
+export interface PostMeta {
+ title: string;
+ excerpt: string;
+ // YYYY-MM-DD
+ date: string;
+ user: string;
+ tags: string[];
+ // Content warning shown before the post, which stays hidden until the reader chooses to continue
+ warning?: string;
+ // Note shown above the post, such as how it was written
+ disclaimer?: string;
+}
+
+export interface PostSummary extends PostMeta {
+ slug: string;
+}
+
+export function fmtPostDate(date: string): string {
+ // Read as UTC so the day doesn't shift with the visitor's timezone
+ return new Date(date + 'T00:00:00Z').toLocaleDateString('en-GB', {
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ timeZone: 'UTC'
+ });
+}
diff --git a/src/lib/styles/blog.css b/src/lib/styles/blog.css
new file mode 100644
index 0000000..afdf3ea
--- /dev/null
+++ b/src/lib/styles/blog.css
@@ -0,0 +1,207 @@
+/* src/lib/styles/blog.css
+ * DASL-1.2 — (c) Clove Twilight
+ */
+
+/* Shared by the list and posts */
+
+.post-meta {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+ margin: 0;
+ color: var(--muted);
+ font-size: 0.9rem;
+}
+
+.post-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.4rem;
+ margin: 0.75rem 0 0;
+ padding: 0;
+ list-style: none;
+}
+
+.post-tags .chip {
+ display: inline-flex;
+ gap: 0.3rem;
+ align-items: center;
+ padding: 0.1rem 0.6rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ background: var(--raised);
+ color: var(--text);
+ font-size: 0.8rem;
+}
+
+.post-tags .chip svg {
+ width: 0.85rem;
+ height: 0.85rem;
+}
+
+.post-tags .chip-warning {
+ border-color: rgb(250 166 26 / 35%);
+ color: #faa61a;
+}
+
+/* List */
+
+.post-list {
+ display: grid;
+ gap: 0.75rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.post-card {
+ display: flex;
+ flex-direction: column;
+ gap: 0.35rem;
+ padding: 1.1rem 1.25rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: var(--raised);
+ color: inherit;
+ text-decoration: none;
+ transition: border-color 0.15s ease;
+}
+
+.post-card:hover,
+.post-card:focus-visible {
+ border-color: rgb(235 69 158 / 40%);
+}
+
+.post-card-title {
+ color: var(--accent);
+ font-size: 1.25rem;
+ font-weight: 600;
+ letter-spacing: -0.01em;
+}
+
+.post-card-excerpt {
+ color: #ddd3e1;
+}
+
+.post-card .post-tags {
+ margin-top: 0.4rem;
+}
+
+/* Post */
+
+.post-wrap {
+ max-width: 46rem;
+}
+
+.post-back {
+ display: inline-flex;
+ gap: 0.35rem;
+ align-items: center;
+ margin-bottom: 1.5rem;
+ color: var(--muted);
+ font-size: 0.9rem;
+ text-decoration: none;
+}
+
+.post-back:hover,
+.post-back:focus-visible {
+ color: var(--accent);
+}
+
+.post-back svg {
+ width: 1rem;
+ height: 1rem;
+}
+
+.post-wrap h1 {
+ font-size: clamp(2.25rem, 7vw, 3.5rem);
+}
+
+.post-notice {
+ display: flex;
+ gap: 0.75rem;
+ margin: 0 0 1.25rem;
+ padding: 0.9rem 1.1rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: var(--raised);
+ color: var(--muted);
+ font-size: 0.95rem;
+}
+
+.post-notice > svg {
+ flex-shrink: 0;
+ width: 1.25rem;
+ height: 1.25rem;
+ margin-top: 0.15rem;
+}
+
+.post-notice p {
+ margin: 0;
+}
+
+.post-warning {
+ border-color: rgb(250 166 26 / 35%);
+ background: rgb(250 166 26 / 6%);
+ color: var(--text);
+}
+
+.post-warning > svg {
+ color: #faa61a;
+}
+
+.post-reveal {
+ margin-top: 0.85rem;
+ padding: 0.45rem 1rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ background: var(--accent-dim);
+ color: var(--text);
+ font: inherit;
+ cursor: pointer;
+}
+
+.post-reveal:hover,
+.post-reveal:focus-visible {
+ border-color: var(--accent);
+}
+
+.post-body {
+ color: #ddd3e1;
+ font-size: 1.05rem;
+ line-height: 1.75;
+}
+
+.post-body h2 {
+ margin: 2.5rem 0 0.75rem;
+ color: var(--accent);
+ font-size: clamp(1.4rem, 3.5vw, 1.75rem);
+ font-weight: 600;
+ letter-spacing: -0.02em;
+}
+
+.post-body p {
+ margin: 0 0 1.25rem;
+}
+
+.post-body strong {
+ color: var(--text);
+}
+
+.post-body a {
+ color: var(--accent);
+}
+
+.post-comments {
+ margin-top: 3rem;
+ padding-top: 2rem;
+ border-top: 1px solid var(--line);
+}
+
+@media print {
+ .post-back,
+ .post-reveal,
+ .post-comments {
+ display: none;
+ }
+}
diff --git a/src/lib/styles/discord.css b/src/lib/styles/discord.css
index 88a0871..4bafe4d 100644
--- a/src/lib/styles/discord.css
+++ b/src/lib/styles/discord.css
@@ -265,7 +265,7 @@
transition: transform 0.2s ease;
}
-.panel-toggle .chevron svg {
+.panel-toggle .chevron {
width: 1rem;
height: 1rem;
}
diff --git a/src/lib/styles/footer.css b/src/lib/styles/footer.css
index 036b9ce..12d10cc 100644
--- a/src/lib/styles/footer.css
+++ b/src/lib/styles/footer.css
@@ -50,7 +50,7 @@ footer {
animation: beat 1.2s ease-in-out infinite;
}
-.beat svg {
+.beat {
width: 1em;
height: 1em;
}
@@ -119,4 +119,4 @@ footer {
footer {
display: none;
}
-}
\ No newline at end of file
+}
diff --git a/src/lib/styles/friends.css b/src/lib/styles/friends.css
index aff064b..ca00718 100644
--- a/src/lib/styles/friends.css
+++ b/src/lib/styles/friends.css
@@ -180,7 +180,7 @@ a.fc-name:hover {
font-weight: 500;
}
-.fc-platform svg {
+.fc-platform {
width: 0.9rem;
height: 0.9rem;
}
diff --git a/src/lib/styles/global.css b/src/lib/styles/global.css
index a8335fb..4f0d6e4 100644
--- a/src/lib/styles/global.css
+++ b/src/lib/styles/global.css
@@ -6,12 +6,6 @@
box-sizing: border-box;
}
-/* <iconsax-icon> renders its <svg> inside itself, so size that via `... svg` selectors */
-iconsax-icon {
- display: inline-flex;
- flex-shrink: 0;
-}
-
html {
height: 100%;
}
@@ -118,4 +112,4 @@ br {
.wrap {
display: none;
}
-}
\ No newline at end of file
+}
diff --git a/src/lib/styles/header.css b/src/lib/styles/header.css
index a917ecf..b6ee999 100644
--- a/src/lib/styles/header.css
+++ b/src/lib/styles/header.css
@@ -88,7 +88,7 @@ header nav a:hover {
}
@media print {
- header{
+ header {
display: none;
}
-}
\ No newline at end of file
+}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index ea8176b..6ea9bb1 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -3,6 +3,15 @@
-->
<script lang="ts">
+ import IcBattery4Bar from '~icons/ic/outline-battery-4-bar';
+ import IcBatteryAlert from '~icons/ic/outline-battery-alert';
+ import IcBatteryChargingFull from '~icons/ic/outline-battery-charging-full';
+ import IcBatteryFull from '~icons/ic/outline-battery-full';
+ import IcBatteryUnknown from '~icons/ic/outline-battery-unknown';
+ import IcFavorite from '~icons/ic/outline-favorite';
+ import IcMusicNote from '~icons/ic/outline-music-note';
+ import IcPeople from '~icons/ic/outline-people';
+ import IcSmartphone from '~icons/ic/outline-smartphone';
import Meta from '#lib/components/Meta.svelte';
import '#lib/styles/index.css';
import '#lib/styles/presence.css';
@@ -119,13 +128,13 @@
const lineText = $derived(line?.text ?? '');
const flyMs = $derived(reduceMotion ? 0 : 450);
- const batteryIcon = $derived.by(() => {
+ const BatteryIcon = $derived.by(() => {
const level = phone?.level;
- if (phone?.charging) return 'battery-charging';
- if (level == null) return 'battery-empty';
- if (level >= 80) return 'battery-full';
- if (level >= 35) return 'battery-2bars';
- return 'battery-empty-1';
+ if (phone?.charging) return IcBatteryChargingFull;
+ if (level == null) return IcBatteryUnknown;
+ if (level >= 80) return IcBatteryFull;
+ if (level >= 35) return IcBattery4Bar;
+ return IcBatteryAlert;
});
</script>
@@ -209,9 +218,7 @@
</a>
{:else if lastPlayed}
<a class="now-item" href="/music">
- <span class="now-icon" aria-hidden="true"
- ><iconsax-icon name="music" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="now-icon" aria-hidden="true"><IcMusicNote /></span>
<span>
Last played <strong>{lastPlayed.name}</strong>{#if lastPlayed.artist} — {lastPlayed.artist}{/if}
{#if lastPlayed.uts}<span class="now-muted">· {timeAgo(lastPlayed.uts, now)}</span>{/if}
@@ -220,9 +227,7 @@
{/if}
{#if fronters.length}
<span class="now-item" title="Currently fronting">
- <span class="now-icon" aria-hidden="true"
- ><iconsax-icon name="profile-2user" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="now-icon" aria-hidden="true"><IcPeople /></span>
<span class="now-row">
Fronting
{#each fronters as member, i (member.id)}
@@ -247,9 +252,7 @@
class="now-item"
title="Phone, updated {timeAgo(Math.floor(Date.parse(phone.updated_at) / 1000), now)}"
>
- <span class="now-icon" aria-hidden="true"
- ><iconsax-icon name="mobile" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="now-icon" aria-hidden="true"><IcSmartphone /></span>
<span class="now-row">
Phone
{#if phone.level != null}
@@ -257,9 +260,7 @@
class="now-battery"
class:now-battery-low={phone.level < 20 && !phone.charging}
>
- <span class="now-icon" aria-hidden="true"
- ><iconsax-icon name={batteryIcon} type="bulk" size="24"></iconsax-icon></span
- >{phone.level}%
+ <span class="now-icon" aria-hidden="true"><BatteryIcon /></span>{phone.level}%
</strong>
{/if}
{#if phone.charging}<span class="now-muted">· charging</span>{/if}
@@ -269,18 +270,14 @@
</span>
{/if}
<a class="now-item" href="https://bwah.dev" target="_blank" rel="noopener">
- <span class="now-icon now-heart" aria-hidden="true"
- ><iconsax-icon name="heart" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="now-icon now-heart" aria-hidden="true"><IcFavorite /></span>
<span>In a relationship with <strong>Aria</strong></span>
</a>
</p>
{#if synced}
<a class="now-lyric" href="/music">
<span class="now-lyric-label">
- <span class="now-icon" aria-hidden="true"
- ><iconsax-icon name="music" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="now-icon" aria-hidden="true"><IcMusicNote /></span>
Lyrics
</span>
<span class="now-lyric-stage">
diff --git a/src/routes/blog/+page.server.ts b/src/routes/blog/+page.server.ts
new file mode 100644
index 0000000..a00ef23
--- /dev/null
+++ b/src/routes/blog/+page.server.ts
@@ -0,0 +1,19 @@
+// src/routes/blog/+page.server.ts
+// DASL-1.2 — (c) Clove Twilight
+
+import type { PostMeta, PostSummary } from '#lib/scripts/blog.ts';
+
+// Every post folder's `metadata` export, so a new post shows up here without touching this file.
+// Runs on the server only, so the post components never end up in the list page's bundle.
+const modules = import.meta.glob<PostMeta>('./*/+page.svelte', {
+ eager: true,
+ import: 'metadata'
+});
+
+const posts: PostSummary[] = Object.entries(modules)
+ .map(([file, meta]) => ({ ...meta, slug: file.split('/')[1] }))
+ .sort((a, b) => b.date.localeCompare(a.date));
+
+export function load() {
+ return { posts };
+}
diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte
new file mode 100644
index 0000000..ee18945
--- /dev/null
+++ b/src/routes/blog/+page.svelte
@@ -0,0 +1,54 @@
+<!-- src/routes/blog/+page.svelte
+ DASL-1.2 — (c) Clove Twilight
+-->
+
+<script lang="ts">
+ import Meta from '#lib/components/Meta.svelte';
+ import IcWarningAmber from '~icons/ic/outline-warning-amber';
+ import { fmtPostDate } from '#lib/scripts/blog.ts';
+ import '#lib/styles/blog.css';
+
+ let { data } = $props();
+</script>
+
+<Meta title="Blog" description="Posts by Clove Twilight about life, identity, code and more." />
+
+<section class="hero">
+ <div class="wrap">
+ <p class="eyebrow">Writing</p>
+ <h1>Blog</h1>
+ <p class="subtitle">Things I've written, newest first</p>
+ </div>
+</section>
+
+<section class="wrap">
+ {#if data.posts.length}
+ <ul class="post-list">
+ {#each data.posts as post (post.slug)}
+ <li>
+ <a class="post-card" href="/blog/{post.slug}">
+ <span class="post-card-title">{post.title}</span>
+ <span class="post-meta">
+ <time datetime={post.date}>{fmtPostDate(post.date)}</time>
+ <span aria-hidden="true">·</span>
+ <span>{post.user}</span>
+ </span>
+ <span class="post-card-excerpt">{post.excerpt}</span>
+ <span class="post-tags">
+ {#if post.warning}
+ <span class="chip chip-warning"
+ ><IcWarningAmber aria-hidden="true" />Content warning</span
+ >
+ {/if}
+ {#each post.tags as tag (tag)}
+ <span class="chip">{tag}</span>
+ {/each}
+ </span>
+ </a>
+ </li>
+ {/each}
+ </ul>
+ {:else}
+ <p class="subtitle">No posts yet.</p>
+ {/if}
+</section>
diff --git a/src/routes/blog/about-me/+page.md b/src/routes/blog/about-me/+page.md
new file mode 100644
index 0000000..2e148a8
--- /dev/null
+++ b/src/routes/blog/about-me/+page.md
@@ -0,0 +1,45 @@
+---
+title: About Me
+excerpt: More in-depth about me, my past and who I am.
+date: 2026-07-30
+user: Clove
+tags:
+ - Personal
+ - Mental Health
+sensitive: true
+warning: >-
+ <b>⚠ Warning:</b> This post contains sensitive topics, which may cause
+ unwanted distress for viewers. These topics include Suicide,
+ Alcohol/Substance Abuse, Child Sexual Abuse and Domestic Violence. If you are
+ uncomfortable with these topics, please do not read this post.
+disclaimer: >-
+ This post was written with AI assistance. The story, the memories, and the
+ words are entirely my own, but writing about my past isn't easy, and my first
+ draft was raw and disjointed. I wrote down everything as it came to me, then
+ asked an AI to help me shape it into something clearer and easier to read.
+ Every detail here is true and mine; AI simply helped me tell it well.
+---
+
+I've realised that I've never really shared my past with many people in its full, uncensored context, or explained how much it has shaped the person I am today. This is a difficult story to tell, and while some parts are painful to revisit, I believe it is important to acknowledge where I came from and how far I have travelled since then.
+
+This is not just a story about the things that happened to me. It is also a story about rebuilding, finding myself, and creating a life where I can feel safe and accepted.
+
+## My Past
+
+**Ages 0–4:** I was born in Exeter, England, and spent the first few years of my life there. After my sibling was born, my early childhood became increasingly difficult. Between the ages of 2 and 4, I experienced child sexual abuse and neglect from the people who were supposed to protect me: my biological parents. The people who brought me into the world and were meant to keep me safe became the source of my trauma. It took the actions of a postman, who noticed something was wrong and contacted the police, for my sibling and I to be removed from that situation and given the chance to be safe. These experiences had a lasting impact on me. They contributed to the development of the mental health struggles I experience today, including CPTSD, depression, and anxiety.
+
+**Ages 4–14:** Life after that point became safer. My sibling and I provided statements to the police, and while the legal process has continued for many years, we were able to begin rebuilding our lives. After being adopted at the age of 6, I began experiencing my first feelings of gender dysphoria. At the time, I didn't understand what those feelings meant. I assumed they were just part of growing up or connected to the trauma I had experienced. I believed I was living a normal, safe life, even though there were parts of myself I had not yet understood.
+
+**Ages 15–17:** During my teenage years, I began to understand that I was transgender. This realisation was an important part of understanding myself, but it also brought new challenges. Despite being adopted by a lesbian couple, I experienced transphobia within my home environment. It left me feeling unsafe, isolated, and unable to be fully open about who I was. The pressure eventually became overwhelming, leading to my first major breakdown. I began making choices that were harmful to myself as a way of coping. I became reckless, started using substances, and struggled to find healthy ways to process everything I was feeling. At 16, I reached a point where I attempted to take my own life. Since then, suicidal thoughts have remained something I have had to work through, but I continue choosing to move forward one day at a time. After coming out to my parents, I experienced further harm through emotional, financial, and physical abuse. Eventually, university became my opportunity to leave that environment and find somewhere I could finally feel safe and supported.
+
+**18–Present:** Moving to university was the beginning of a new chapter in my life. After the Christmas break, I made the difficult decision to distance myself from my parents because their treatment of me had reached a point where my wellbeing and medical safety were at risk. They attempted to interfere with my medication despite knowing the consequences of stopping it. They believed I was making them appear worse than they were, but I knew I needed to prioritise my own safety and future. Leaving was painful, but it allowed me to build a life where I could finally feel secure, accepted, and able to be myself.
+
+## How This Affects Me Now
+
+As I continue moving forward, I'm grateful for the lessons I've learned and for the people who have supported me throughout my journey. The friendships and connections I have built have shown me what genuine care and acceptance look like. The loss of family relationships has been difficult, and I continue to live with the effects of CPTSD and BPD. These conditions bring challenges, including periods of depression, anxiety, and emotional instability. They are things I continue learning to manage rather than things that define who I am. Coding has become one of the ways I look after my mental health. It gives me something to focus on, helps me stay grounded, and allows me to create and connect with others. Being part of online communities has also helped me feel less alone and has given me people who genuinely care about my wellbeing. I still have difficult days. I still experience setbacks and moments where things feel overwhelming. But I have also grown, adapted, and built a support system around me that reminds me I am not facing everything alone. My past has shaped me, but it does not control my future. I am still here, still learning, and still becoming the person I want to be.
+
+## Further Reading
+
+UPDATED September 1st, 2021:
+
+It seems that the TransActual post, and the site itself was nuked off the face of the earth, so I have removed the URL.
diff --git a/src/routes/blog/about-me/+page.svelte b/src/routes/blog/about-me/+page.svelte
new file mode 100644
index 0000000..32f59ba
--- /dev/null
+++ b/src/routes/blog/about-me/+page.svelte
@@ -0,0 +1,110 @@
+<!-- src/routes/blog/about-me/+page.svelte
+ DASL-1.2 — (c) Clove Twilight
+-->
+
+<script lang="ts" module>
+ import type { PostMeta } from '#lib/scripts/blog.ts';
+
+ export const metadata: PostMeta = {
+ title: 'About Me',
+ excerpt: 'More in-depth about me, my past and who I am.',
+ date: '2026-07-30',
+ user: 'Clove',
+ tags: ['Personal', 'Mental Health'],
+ warning:
+ 'This post contains sensitive topics, which may cause unwanted distress for viewers. These topics include Suicide, Alcohol/Substance Abuse, Child Sexual Abuse and Domestic Violence. If you are uncomfortable with these topics, please do not read this post.',
+ disclaimer:
+ "This post was written with AI assistance. The story, the memories, and the words are entirely my own, but writing about my past isn't easy, and my first draft was raw and disjointed. I wrote down everything as it came to me, then asked an AI to help me shape it into something clearer and easier to read. Every detail here is true and mine; AI simply helped me tell it well."
+ };
+</script>
+
+<script lang="ts">
+ import BlogPost from '#lib/components/BlogPost.svelte';
+</script>
+
+<BlogPost meta={metadata}>
+ <p>
+ I've realised that I've never really shared my past with many people in its full, uncensored
+ context, or explained how much it has shaped the person I am today. This is a difficult story to
+ tell, and while some parts are painful to revisit, I believe it is important to acknowledge
+ where I came from and how far I have travelled since then.
+ </p>
+
+ <p>
+ This is not just a story about the things that happened to me. It is also a story about
+ rebuilding, finding myself, and creating a life where I can feel safe and accepted.
+ </p>
+
+ <h2>My Past</h2>
+
+ <p>
+ <strong>Ages 0–4:</strong> I was born in Exeter, England, and spent the first few years of my life
+ there. After my sibling was born, my early childhood became increasingly difficult. Between the ages
+ of 2 and 4, I experienced child sexual abuse and neglect from the people who were supposed to protect
+ me: my biological parents. The people who brought me into the world and were meant to keep me safe
+ became the source of my trauma. It took the actions of a postman, who noticed something was wrong
+ and contacted the police, for my sibling and I to be removed from that situation and given the chance
+ to be safe. These experiences had a lasting impact on me. They contributed to the development of the
+ mental health struggles I experience today, including CPTSD, depression, and anxiety.
+ </p>
+
+ <p>
+ <strong>Ages 4–14:</strong> Life after that point became safer. My sibling and I provided statements
+ to the police, and while the legal process has continued for many years, we were able to begin rebuilding
+ our lives. After being adopted at the age of 6, I began experiencing my first feelings of gender dysphoria.
+ At the time, I didn't understand what those feelings meant. I assumed they were just part of growing
+ up or connected to the trauma I had experienced. I believed I was living a normal, safe life, even
+ though there were parts of myself I had not yet understood.
+ </p>
+
+ <p>
+ <strong>Ages 15–17:</strong> During my teenage years, I began to understand that I was transgender.
+ This realisation was an important part of understanding myself, but it also brought new challenges.
+ Despite being adopted by a lesbian couple, I experienced transphobia within my home environment. It
+ left me feeling unsafe, isolated, and unable to be fully open about who I was. The pressure eventually
+ became overwhelming, leading to my first major breakdown. I began making choices that were harmful
+ to myself as a way of coping. I became reckless, started using substances, and struggled to find healthy
+ ways to process everything I was feeling. At 16, I reached a point where I attempted to take my own
+ life. Since then, suicidal thoughts have remained something I have had to work through, but I continue
+ choosing to move forward one day at a time. After coming out to my parents, I experienced further
+ harm through emotional, financial, and physical abuse. Eventually, university became my opportunity
+ to leave that environment and find somewhere I could finally feel safe and supported.
+ </p>
+
+ <p>
+ <strong>18–Present:</strong> Moving to university was the beginning of a new chapter in my life. After
+ the Christmas break, I made the difficult decision to distance myself from my parents because their
+ treatment of me had reached a point where my wellbeing and medical safety were at risk. They attempted
+ to interfere with my medication despite knowing the consequences of stopping it. They believed I was
+ making them appear worse than they were, but I knew I needed to prioritise my own safety and future.
+ Leaving was painful, but it allowed me to build a life where I could finally feel secure, accepted,
+ and able to be myself.
+ </p>
+
+ <h2>How This Affects Me Now</h2>
+
+ <p>
+ As I continue moving forward, I'm grateful for the lessons I've learned and for the people who
+ have supported me throughout my journey. The friendships and connections I have built have shown
+ me what genuine care and acceptance look like. The loss of family relationships has been
+ difficult, and I continue to live with the effects of CPTSD and BPD. These conditions bring
+ challenges, including periods of depression, anxiety, and emotional instability. They are things
+ I continue learning to manage rather than things that define who I am. Coding has become one of
+ the ways I look after my mental health. It gives me something to focus on, helps me stay
+ grounded, and allows me to create and connect with others. Being part of online communities has
+ also helped me feel less alone and has given me people who genuinely care about my wellbeing. I
+ still have difficult days. I still experience setbacks and moments where things feel
+ overwhelming. But I have also grown, adapted, and built a support system around me that reminds
+ me I am not facing everything alone. My past has shaped me, but it does not control my future. I
+ am still here, still learning, and still becoming the person I want to be.
+ </p>
+
+ <h2>Further Reading</h2>
+
+ <p>UPDATED September 1st, 2021:</p>
+
+ <p>
+ It seems that the TransActual post, and the site itself was nuked off the face of the earth, so
+ I have removed the URL.
+ </p>
+</BlogPost>
diff --git a/src/routes/contact/+page.svelte b/src/routes/contact/+page.svelte
index 70193a3..6104b42 100644
--- a/src/routes/contact/+page.svelte
+++ b/src/routes/contact/+page.svelte
@@ -3,6 +3,9 @@
-->
<script lang="ts">
+ import IcCall from '~icons/ic/outline-call';
+ import IcEmail from '~icons/ic/outline-email';
+ import IcWork from '~icons/ic/outline-work';
import Meta from '#lib/components/Meta.svelte';
import {
SiX,
@@ -29,13 +32,13 @@
name: 'Email',
value: `clove@${websiteDomain}`,
href: `mailto:clove@${websiteDomain}`,
- iconsax: 'sms'
+ icon: IcEmail
},
{
name: 'Phone',
value: '+44 7562 523118',
href: 'tel:+447562523118',
- iconsax: 'call'
+ icon: IcCall
},
{
name: 'Twitter',
@@ -47,7 +50,7 @@
name: 'LinkedIn',
value: 'estrogenhrt',
href: 'https://uk.linkedin.com/in/estrogen',
- iconsax: 'briefcase'
+ icon: IcWork
},
{
name: 'Twitch',
@@ -120,10 +123,7 @@
<div class="contact-grid">
{#each others as c (c.name)}
<a class="contact-tile" href={c.href}>
- <span class="contact-icon"
- >{#if c.iconsax}<iconsax-icon name={c.iconsax} type="bulk" size="24"
- ></iconsax-icon>{:else if c.icon}<c.icon />{/if}</span
- >
+ <span class="contact-icon"><c.icon /></span>
<p class="contact-name">{c.name}</p>
<p class="contact-value">{c.value}</p>
</a>
diff --git a/src/routes/discord/+page.svelte b/src/routes/discord/+page.svelte
index 65f1e85..88c5f1c 100644
--- a/src/routes/discord/+page.svelte
+++ b/src/routes/discord/+page.svelte
@@ -3,6 +3,14 @@
-->
<script lang="ts">
+ import IcChevronRight from '~icons/ic/outline-chevron-right';
+ import IcDesktopWindows from '~icons/ic/outline-desktop-windows';
+ import IcDiamond from '~icons/ic/outline-diamond';
+ import IcLanguage from '~icons/ic/outline-language';
+ import IcLink from '~icons/ic/outline-link';
+ import IcSchedule from '~icons/ic/outline-schedule';
+ import IcSmartphone from '~icons/ic/outline-smartphone';
+ import IcVerified from '~icons/ic/outline-verified';
import Meta from '#lib/components/Meta.svelte';
import '#lib/styles/presence.css';
import '#lib/styles/discord.css';
@@ -79,9 +87,9 @@
const platforms = $derived(
[
- presence?.platform.desktop && { label: 'Desktop', icon: 'monitor' },
- presence?.platform.mobile && { label: 'Mobile', icon: 'mobile' },
- presence?.platform.web && { label: 'Web', icon: 'global' }
+ presence?.platform.desktop && { label: 'Desktop', icon: IcDesktopWindows },
+ presence?.platform.mobile && { label: 'Mobile', icon: IcSmartphone },
+ presence?.platform.web && { label: 'Web', icon: IcLanguage }
].filter((p) => !!p)
);
@@ -192,8 +200,7 @@
class="chip"
title="{record.timezone?.timezone ?? ''} ({fmtUtcOffset(tzOffset)})"
>
- <iconsax-icon name="clock" type="bulk" size="24" aria-hidden="true"
- ></iconsax-icon>{fmtClock(now, tzOffset)}
+ <IcSchedule aria-hidden="true" />{fmtClock(now, tzOffset)}
</span>
{/if}
{#if nitro}
@@ -210,15 +217,13 @@
title="Boosting since {fmtMonthYear(user.premium.guild_since)}"
aria-label="Server booster"
>
- <iconsax-icon name="diamonds" type="bulk" size="24" aria-hidden="true"
- ></iconsax-icon>
+ <IcDiamond aria-hidden="true" />
</span>
{/if}
{#if platforms.length}
<span class="platforms">
{#each platforms as p (p.label)}
- <iconsax-icon name={p.icon} type="bulk" size="24" aria-label={p.label} role="img"
- ></iconsax-icon>
+ <p.icon aria-label={p.label} role="img" />
{/each}
</span>
{/if}
@@ -436,13 +441,7 @@
>
<span>Connections</span>
<span class="panel-count">{connections.length}</span>
- <iconsax-icon
- name="arrow-right-02"
- type="bulk"
- size="24"
- class="chevron"
- aria-hidden="true"
- ></iconsax-icon>
+ <IcChevronRight class="chevron" aria-hidden="true" />
</button>
<div id="discord-connections" hidden={!connectionsOpen}>
{#if connections.length}
@@ -456,23 +455,14 @@
target={href ? '_blank' : undefined}
rel={href ? 'noopener' : undefined}
>
- <span class="conn-icon"
- ><iconsax-icon name="link" type="bulk" size="24" aria-hidden="true"
- ></iconsax-icon></span
- >
+ <span class="conn-icon"><IcLink aria-hidden="true" /></span>
<span class="conn-text">
<span class="conn-type">{c.type}</span>
<span class="conn-name">{c.name}</span>
</span>
{#if c.verified}
<span class="conn-check" title="Verified"
- ><iconsax-icon
- name="verify"
- type="bulk"
- size="24"
- aria-label="Verified"
- role="img"
- ></iconsax-icon></span
+ ><IcVerified aria-label="Verified" role="img" /></span
>
{/if}
</svelte:element>
@@ -494,13 +484,7 @@
>
<span>Wishlist</span>
<span class="panel-count">{wishlist.length}</span>
- <iconsax-icon
- name="arrow-right-02"
- type="bulk"
- size="24"
- class="chevron"
- aria-hidden="true"
- ></iconsax-icon>
+ <IcChevronRight class="chevron" aria-hidden="true" />
</button>
<div id="discord-wishlist" hidden={!wishlistOpen}>
{#if wishlist.length}
diff --git a/src/routes/music/+page.svelte b/src/routes/music/+page.svelte
index 45d4575..7a1f0fb 100644
--- a/src/routes/music/+page.svelte
+++ b/src/routes/music/+page.svelte
@@ -3,6 +3,7 @@
-->
<script lang="ts">
+ import IcMusicNote from '~icons/ic/outline-music-note';
import Meta from '#lib/components/Meta.svelte';
import '#lib/styles/music.css';
import { untrack } from 'svelte';
@@ -185,9 +186,7 @@
onerror={hideBroken}
/>
{:else}
- <span class="mu-art mu-art-blank" aria-hidden="true"
- ><iconsax-icon name="music" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="mu-art mu-art-blank" aria-hidden="true"><IcMusicNote /></span>
{/if}
<div class="mu-meta">
<p class="mu-state">
@@ -259,13 +258,7 @@
<p class="mu-note">{lyrics.text}</p>
{:else if lyrics.kind === 'instrumental'}
<p class="mu-note">
- <iconsax-icon name="music" type="bulk" size="24" aria-hidden="true"
- ></iconsax-icon>Instrumental<iconsax-icon
- name="music"
- type="bulk"
- size="24"
- aria-hidden="true"
- ></iconsax-icon>
+ <IcMusicNote aria-hidden="true" />Instrumental<IcMusicNote aria-hidden="true" />
</p>
{:else if lyrics.kind === 'synced'}
{#each lyrics.lines as line, i (i)}
@@ -300,9 +293,7 @@
{#if r.art}
<img class="mu-recent-art" src={r.art} alt="" loading="lazy" />
{:else}
- <span class="mu-recent-art mu-art-blank" aria-hidden="true"
- ><iconsax-icon name="music" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="mu-recent-art mu-art-blank" aria-hidden="true"><IcMusicNote /></span>
{/if}
<span class="mu-recent-text">
<span class="mu-recent-name">{r.name}</span>
@@ -331,9 +322,7 @@
{#if topArt[a.name]}
<img class="mu-top-art" src={topArt[a.name]} alt="" referrerpolicy="no-referrer" />
{:else}
- <span class="mu-top-art mu-art-blank" aria-hidden="true"
- ><iconsax-icon name="music" type="bulk" size="24"></iconsax-icon></span
- >
+ <span class="mu-top-art mu-art-blank" aria-hidden="true"><IcMusicNote /></span>
{/if}
<span class="mu-top-text">
<span class="mu-top-name">{a.name}</span>
diff --git a/vite.config.ts b/vite.config.ts
index 2a2f9d9..25e6fac 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -5,6 +5,7 @@
import adapter from '@sveltejs/adapter-node';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
+import Icons from 'unplugin-icons/vite';
export default defineConfig({
plugins: [
@@ -16,10 +17,8 @@ export default defineConfig({
},
adapter: adapter(),
inspector: true
- })
- ],
- // iconsax fetches its icon data relative to its own file, which pre-bundling breaks
- optimizeDeps: {
- exclude: ['iconsax']
- }
+ }),
+ // Turns each `~icons/<set>/<name>` import into an inline-SVG Svelte component at build time
+ Icons({ compiler: 'svelte', scale: 1 })
+ ]
});