Format code
This commit is contained in:
parent
5b7a9019c7
commit
35aaa9eb54
1 changed files with 14 additions and 7 deletions
21
index.tsx
21
index.tsx
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue