xmr-remote-nodes/frontend/src/routes/(front)/add-node/+page.js

28 lines
796 B
JavaScript
Raw Normal View History

/** @type {import('./$types').PageLoad} */
export async function load({ data }) {
/* prettier-ignore */
const metaDefaults = {
title: 'Add Monero Node',
description: 'You can use this page to add known remote node to the system so my bots can monitor it.',
keywords: 'monero, monero node, monero public node, monero wallet'
};
return {
meta: {
title: metaDefaults.title,
description: metaDefaults.description,
keywords: metaDefaults.keywords,
image:
'https://vcl-og-img.ditatompel.com/' + encodeURIComponent(metaDefaults.title) + '.png?md=0',
// Article
article: { publishTime: '', modifiedTime: '', author: '' },
// Twitter
twitter: {
title: metaDefaults.title,
description: metaDefaults.description,
image: metaDefaults.image
}
}
};
}