Add seo to donate page
This commit is contained in:
parent
f9802c8a5b
commit
7919c173e2
4 changed files with 33 additions and 2 deletions
|
@ -9,5 +9,10 @@
|
||||||
"copy.failed": "Copy Failed!",
|
"copy.failed": "Copy Failed!",
|
||||||
"monero.description": "Private and secure donation option.",
|
"monero.description": "Private and secure donation option.",
|
||||||
"paypal.description": "Want to show support in a friendly way?",
|
"paypal.description": "Want to show support in a friendly way?",
|
||||||
"paypal.link": "Open Donation link"
|
"paypal.link": "Open Donation link",
|
||||||
|
"seo.title": "💖 Donate – Support Embroidery Viewer",
|
||||||
|
"seo.description": "Help keep Embroidery Viewer free and improving by making a donation. Choose from Bitcoin, Monero, PayPal, or other secure options to support ongoing development and hosting.",
|
||||||
|
"keywords": "donate embroidery viewer, support embroidery viewer, embroidery viewer donations, help embroidery viewer, fund embroidery viewer, bitcoin donation embroidery, monero donation embroidery, paypal donation embroidery",
|
||||||
|
"url": "https://embroideryviewer.xyz/donate",
|
||||||
|
"image": "https://embroideryviewer.xyz/og/donate.png"
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,5 +9,10 @@
|
||||||
"copy.failed": "Falha na Cópia!",
|
"copy.failed": "Falha na Cópia!",
|
||||||
"monero.description": "Opção de doação privada e segura.",
|
"monero.description": "Opção de doação privada e segura.",
|
||||||
"paypal.description": "Quer demonstrar apoio de uma forma amigável?",
|
"paypal.description": "Quer demonstrar apoio de uma forma amigável?",
|
||||||
"paypal.link": "Abrir Link de Doação"
|
"paypal.link": "Abrir Link de Doação",
|
||||||
|
"seo.title": "💖 Doe – Apoie o Embroidery Viewer",
|
||||||
|
"seo.description": "Ajude a manter o Embroidery Viewer gratuito e em constante melhoria fazendo uma doação. Escolha entre Bitcoin, Monero, PayPal ou outras opções seguras para apoiar o desenvolvimento e hospedagem.",
|
||||||
|
"seo.keywords": "doar embroidery viewer, apoie embroidery viewer, doações embroidery viewer, ajudar embroidery viewer, financiar embroidery viewer, doação bitcoin embroidery, doação monero embroidery, doação paypal embroidery",
|
||||||
|
"url": "https://embroideryviewer.xyz/doar",
|
||||||
|
"image": "https://embroideryviewer.xyz/og/doar.png"
|
||||||
}
|
}
|
||||||
|
|
12
src/routes/donate/+page.js
Normal file
12
src/routes/donate/+page.js
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
/** @type {import('./$types').PageLoad} */
|
||||||
|
export function load() {
|
||||||
|
return {
|
||||||
|
metadata: {
|
||||||
|
title: 'donate.seo.title',
|
||||||
|
description: 'donate.seo.description',
|
||||||
|
keywords: 'donate.seo.keywords',
|
||||||
|
url: 'donate.seo.url',
|
||||||
|
image: 'donate.seo.image',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
|
@ -5,6 +5,13 @@
|
||||||
import monero from '$lib/assets/monero.svg';
|
import monero from '$lib/assets/monero.svg';
|
||||||
import paypal from '$lib/assets/paypal.svg';
|
import paypal from '$lib/assets/paypal.svg';
|
||||||
|
|
||||||
|
import Seo from '$lib/components/Seo.svelte';
|
||||||
|
|
||||||
|
/** @type {import('./$types').PageProps} */
|
||||||
|
let { data } = $props();
|
||||||
|
|
||||||
|
const metadata = data.metadata;
|
||||||
|
|
||||||
const BTC_ADDRESS = 'bc1qpc4lpyr6stxrrg3u0k4clp4crlt6z4j6q845rq';
|
const BTC_ADDRESS = 'bc1qpc4lpyr6stxrrg3u0k4clp4crlt6z4j6q845rq';
|
||||||
const XMR_ADDRESS =
|
const XMR_ADDRESS =
|
||||||
'8A9iyTskiBh6f6GDUwnUJaYhAW13gNjDYaZYJBftX434D3XLrcGBko4a8kC4pLSfiuJAoSJ7e8rwP8W4StsVypftCp6FGwm';
|
'8A9iyTskiBh6f6GDUwnUJaYhAW13gNjDYaZYJBftX434D3XLrcGBko4a8kC4pLSfiuJAoSJ7e8rwP8W4StsVypftCp6FGwm';
|
||||||
|
@ -31,6 +38,8 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<Seo {...metadata} />
|
||||||
|
|
||||||
<section aria-labelledby="donate-title" class="donate-container">
|
<section aria-labelledby="donate-title" class="donate-container">
|
||||||
<header>
|
<header>
|
||||||
<h1 id="donate-title">{$t('donate.title')}</h1>
|
<h1 id="donate-title">{$t('donate.title')}</h1>
|
||||||
|
|
Loading…
Add table
Reference in a new issue