Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default defineConfig({
"fa6-brands": ["*"],
"fa6-regular": ["*"],
"fa6-solid": ["*"],
"simple-icons": ["*"],
},
}),
svelte(),
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
19 changes: 19 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/images/support_me_on_kofi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down
8 changes: 8 additions & 0 deletions src/pages/posts/[...slug].astro
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -106,6 +108,11 @@ const jsonLd = {

{licenseConfig.enable && <License title={entry.data.title} slug={entry.slug} pubDate={entry.data.published} class="mb-6 rounded-xl license-container onload-animation"></License>}

<center>
<a href="https://ko-fi.com/belfardev" target="_blank">
<Image src={kofiButton} width="300px" alt="Support me on Ko-fi!" />
</a>
</center>
</div>
</div>

Expand All @@ -131,4 +138,5 @@ const jsonLd = {
</a>
</div>


</MainGridLayout>