Format code

This commit is contained in:
Foster Hangdaan 2024-05-31 13:18:12 -04:00
parent 5b7a9019c7
commit 35aaa9eb54
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -1,21 +1,25 @@
export const title = "Pay Foster Hangdaan";
export const description = "This site lists payment methods for making payments or donations to Foster Hangdaan.";
export const description =
"This site lists payment methods for making payments or donations to Foster Hangdaan.";
export const layout = "layout.tsx";
const crypto = [
{
name: "Monero",
icon: "https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/monero.svg",
icon:
"https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/monero.svg",
qrcode: "images/xmr-address.svg",
address: "47fQTNLjXUPPmjcB4eU3kuSwyHkpioms77XUjdCKMKPs6jwNNEfFpEYZM4sZi9NwZHHeJD3prgLTC66E2skbvzTm1jiXb1R",
address:
"47fQTNLjXUPPmjcB4eU3kuSwyHkpioms77XUjdCKMKPs6jwNNEfFpEYZM4sZi9NwZHHeJD3prgLTC66E2skbvzTm1jiXb1R",
preferred: true,
},
{
name: "Bitcoin",
icon: "https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/bitcoin.svg",
icon:
"https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/bitcoin.svg",
qrcode: "images/btc-address.svg",
address: "bc1q3w9e0zm9ez24c8hhhfyamgchfvf9x85ean5wqr",
}
},
];
export default function Home(data: Lume.Data, _helpers: Lume.Helpers) {
@ -23,7 +27,10 @@ export default function Home(data: Lume.Data, _helpers: Lume.Helpers) {
<div class="home-container">
<h1>{data.title}</h1>
<div class="preamble">
<p>This site lists the methods for sending payments or donations to <a href="https://www.fosterhangdaan.com">Foster Hangdaan</a>.</p>
<p>
This site lists the methods for sending payments or donations to{" "}
<a href="https://www.fosterhangdaan.com">Foster Hangdaan</a>.
</p>
<p>
I currently only accept cryptocurrency donations. My wallet addresses
are listed below:
@ -49,7 +56,7 @@ export default function Home(data: Lume.Data, _helpers: Lume.Helpers) {
</div>
</details>
</li>
{crypto.sort((a,b) => {
{crypto.sort((a, b) => {
return a.name > b.name ? 1 : -1;
}).map((c) => (
<li>