add reddit link

This commit is contained in:
zombieFox 2021-09-05 19:13:13 +01:00
parent 16f8eae44d
commit bae6077897

View File

@ -46,6 +46,8 @@ appSetting[appName.toLowerCase()] = (parent) => {
const githubLink = new Link({ text: 'GitHub.', href: 'https://github.com/zombieFox/' + appName, openNew: true });
const redditLink = new Link({ text: `Reddit ${appName} community.`, href: 'https://www.reddit.com/r/' + appName, openNew: true });
const licenseLink = new Link({ text: 'GNU General Public License v3.0', href: 'https://github.com/zombieFox/' + appName + '/blob/master/license', openNew: true });
parent.appendChild(
@ -60,7 +62,8 @@ appSetting[appName.toLowerCase()] = (parent) => {
]),
node('hr'),
complexNode({ tag: 'p', text: `This project can be found on ${githubLink.link().outerHTML}` }),
complexNode({ tag: 'p', text: `${appName} uses the ${licenseLink.link().outerHTML}` })
complexNode({ tag: 'p', text: `Share your setup with the ${redditLink.link().outerHTML}` }),
complexNode({ tag: 'p', text: `${appName} uses the ${licenseLink.link().outerHTML}` }),
])
);