diff --git a/astro.config.mjs b/astro.config.mjs
index 10842bca0c..b233ebdd24 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -50,6 +50,7 @@ export default defineConfig({
"fa6-brands": ["*"],
"fa6-regular": ["*"],
"fa6-solid": ["*"],
+ "simple-icons": ["*"],
},
}),
svelte(),
diff --git a/package.json b/package.json
index 6b98116a6d..f4f4d45a24 100644
--- a/package.json
+++ b/package.json
@@ -26,6 +26,7 @@
"@iconify-json/fa6-regular": "^1.2.2",
"@iconify-json/fa6-solid": "^1.2.2",
"@iconify-json/material-symbols": "^1.2.8",
+ "@iconify-json/simple-icons": "^1.2.34",
"@iconify/svelte": "^4.0.2",
"@swup/astro": "^1.5.0",
"@tailwindcss/typography": "^0.5.15",
@@ -51,6 +52,7 @@
"remark-sectionize": "^2.0.0",
"sanitize-html": "^2.13.1",
"sharp": "^0.33.5",
+ "simple-icons": "^14.13.0",
"stylus": "^0.63.0",
"svelte": "^5.5.3",
"tailwindcss": "^3.4.16",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index dd400ce777..e9c7ecc29d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -41,6 +41,9 @@ importers:
'@iconify-json/material-symbols':
specifier: ^1.2.8
version: 1.2.8
+ '@iconify-json/simple-icons':
+ specifier: ^1.2.34
+ version: 1.2.34
'@iconify/svelte':
specifier: ^4.0.2
version: 4.0.2(svelte@5.5.3)
@@ -116,6 +119,9 @@ importers:
sharp:
specifier: ^0.33.5
version: 0.33.5
+ simple-icons:
+ specifier: ^14.13.0
+ version: 14.13.0
stylus:
specifier: ^0.63.0
version: 0.63.0
@@ -1207,6 +1213,9 @@ packages:
'@iconify-json/material-symbols@1.2.8':
resolution: {integrity: sha512-X89QwN5eRMVHEfm5HWMYCZxkUqUPQM2TNv7D8rIPUn2jTzDmgjgiTMomn3DOXWyh1/geHPnTt1bTSFcUXlpGbw==}
+ '@iconify-json/simple-icons@1.2.34':
+ resolution: {integrity: sha512-1FRWEA94hSl5zmBogRh6lQL36l7bVTfrl0n5+QJ+WmXmw70RccPT5phqeiSynwo3IhUWKoW2LiajyUMeweXW8g==}
+
'@iconify/svelte@4.0.2':
resolution: {integrity: sha512-6BSrU85FzGfhQD3bTXpnkCCvBAglEt8T9QednVnXAYm4C+d3464y+pYMzhQNJm5mPId2cuiw+2wXlDflXllHDw==}
peerDependencies:
@@ -4415,6 +4424,10 @@ packages:
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
engines: {node: '>=14'}
+ simple-icons@14.13.0:
+ resolution: {integrity: sha512-RUe7J0SDDBAh9Py1ANOA8LkDKJSL+TleDB3+FIaihqf2cNsjeM+V6Pkr3hXX4ug0ZQXToWikdjMMKSFIN2Tc/g==}
+ engines: {node: '>=0.12.18'}
+
simple-swizzle@0.2.2:
resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
@@ -6263,6 +6276,10 @@ snapshots:
dependencies:
'@iconify/types': 2.0.0
+ '@iconify-json/simple-icons@1.2.34':
+ dependencies:
+ '@iconify/types': 2.0.0
+
'@iconify/svelte@4.0.2(svelte@5.5.3)':
dependencies:
'@iconify/types': 2.0.0
@@ -10195,6 +10212,8 @@ snapshots:
signal-exit@4.1.0: {}
+ simple-icons@14.13.0: {}
+
simple-swizzle@0.2.2:
dependencies:
is-arrayish: 0.3.2
diff --git a/src/assets/images/support_me_on_kofi.png b/src/assets/images/support_me_on_kofi.png
new file mode 100644
index 0000000000..650c3ec426
Binary files /dev/null and b/src/assets/images/support_me_on_kofi.png differ
diff --git a/src/config.ts b/src/config.ts
index 2749cf63fa..1d130646d9 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -68,14 +68,19 @@ export const profileConfig: ProfileConfig = {
// icon: 'fa6-brands:steam',
// url: 'https://store.steampowered.com',
// },
+ // {
+ // name: 'itch.io',
+ // icon: 'fa6-brands:itch-io',
+ // url: 'https://belfardev.itch.io/',
+ // },
{
- name: 'itch.io',
- icon: 'fa6-brands:itch-io',
- url: 'https://belfardev.itch.io/',
+ name: 'Ko-fi',
+ icon: 'simple-icons:kofi',
+ url: 'https://ko-fi.com/belfardev',
},
{
name: 'GitHub',
- icon: 'fa6-brands:github',
+ icon: 'simple-icons:github',
url: 'https://github.com/belfargamedev',
},
],
diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro
index 99fd119b85..9fc0410703 100644
--- a/src/pages/posts/[...slug].astro
+++ b/src/pages/posts/[...slug].astro
@@ -1,4 +1,6 @@
---
+import { Image } from 'astro:assets';
+import kofiButton from './src/assets/images/support_me_on_kofi.png'
import path from 'node:path'
import { getCollection } from 'astro:content'
import License from '@components/misc/License.astro'
@@ -106,6 +108,11 @@ const jsonLd = {
{licenseConfig.enable &&