added price sheet and discord links
This commit is contained in:
parent
30a785ad73
commit
d8fa695a64
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
Before Width: | Height: | Size: 298 KiB |
|
@ -41,12 +41,13 @@ let refunds = {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'yugen',
|
name: 'yugen',
|
||||||
updateToken: 'qwertzuiop1234567890',
|
updateToken: 'qwertzuiop1234567890',
|
||||||
tos: [ payment, turnaround, refunds, other ],
|
tos: [payment, turnaround, refunds, other],
|
||||||
socials: {
|
socials: {
|
||||||
twitter: 'https://twitter.com/CorgiYugy',
|
twitter: 'https://twitter.com/CorgiYugy',
|
||||||
instagram: 'https://instagram.com/CorgiYugy',
|
instagram: 'https://instagram.com/CorgiYugy',
|
||||||
patreon: 'https://patreon.com/CorgiYugy',
|
patreon: 'https://patreon.com/CorgiYugy',
|
||||||
kofi: 'https://ko-fi.com/CorgiYugy',
|
kofi: 'https://ko-fi.com/CorgiYugy',
|
||||||
trello: 'https://trello.com/b/PTh1X2bw/yugen-the-corgi-commisions'
|
trello: 'https://trello.com/b/PTh1X2bw/yugen-the-corgi-commisions',
|
||||||
|
discord: 'https://discord.gg/S9vbP3n'
|
||||||
}
|
}
|
||||||
};
|
};
|
63
server.js
63
server.js
|
@ -11,7 +11,10 @@ const exec = require('shell-exec');
|
||||||
const simpleIcons = require('simple-icons');
|
const simpleIcons = require('simple-icons');
|
||||||
|
|
||||||
const con = require('./constants');
|
const con = require('./constants');
|
||||||
let { port, hostname } = {
|
let {
|
||||||
|
port,
|
||||||
|
hostname
|
||||||
|
} = {
|
||||||
port: 3926
|
port: 3926
|
||||||
//hostname: '67.182.206.28'
|
//hostname: '67.182.206.28'
|
||||||
};
|
};
|
||||||
|
@ -24,7 +27,7 @@ app.engine(
|
||||||
extname: 'hbs',
|
extname: 'hbs',
|
||||||
defaultView: 'default',
|
defaultView: 'default',
|
||||||
helpers: {
|
helpers: {
|
||||||
ifeq: function(a, b, options) {
|
ifeq: function (a, b, options) {
|
||||||
if (a === b) {
|
if (a === b) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -69,13 +72,40 @@ module.exports = (client) => {
|
||||||
layout: 'main',
|
layout: 'main',
|
||||||
name: con.name,
|
name: con.name,
|
||||||
host: req.hostname,
|
host: req.hostname,
|
||||||
item: [ { name: 'TOS', source: '/tos' } ],
|
item: [{
|
||||||
social: [
|
name: 'TOS',
|
||||||
{ name: 'Twitter', link: 'twitter.com/CorgiYugy', icon: simpleIcons.Twitter },
|
source: '/tos'
|
||||||
{ name: 'Instagram', link: 'instagram.com/CorgiYugy', icon: simpleIcons.Instagram },
|
}],
|
||||||
{ name: 'Patreon', link: 'Patreon.com/CorgiYugy', icon: simpleIcons.Patreon },
|
social: [{
|
||||||
{ name: 'Ko-Fi', link: 'ko-fi.com/CorgiYugy', icon: simpleIcons['Ko-fi'] },
|
name: 'Twitter',
|
||||||
{ name: 'Trello', link: 'trello.com/b/PTh1X2bw/yugen-the-corgi-commisions', icon: simpleIcons.Trello }
|
link: 'twitter.com/CorgiYugy',
|
||||||
|
icon: simpleIcons.Twitter
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Instagram',
|
||||||
|
link: 'instagram.com/CorgiYugy',
|
||||||
|
icon: simpleIcons.Instagram
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Patreon',
|
||||||
|
link: 'Patreon.com/CorgiYugy',
|
||||||
|
icon: simpleIcons.Patreon
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Ko-Fi',
|
||||||
|
link: 'ko-fi.com/CorgiYugy',
|
||||||
|
icon: simpleIcons['Ko-fi']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Discord',
|
||||||
|
link: 'discord.gg/S9vbP3n',
|
||||||
|
icon: simpleIcons.Discord
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Trello',
|
||||||
|
link: 'trello.com/b/PTh1X2bw/yugen-the-corgi-commisions',
|
||||||
|
icon: simpleIcons.Trello
|
||||||
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -87,12 +117,16 @@ module.exports = (client) => {
|
||||||
layout: 'tos',
|
layout: 'tos',
|
||||||
name: con.name,
|
name: con.name,
|
||||||
host: req.hostname,
|
host: req.hostname,
|
||||||
WillDraw: [ 'Furries', 'Toony', 'Cell Shaded', 'Any Species', 'SFW', 'Candy-/Softgore' ],
|
WillDraw: ['Furries', 'Toony', 'Cell Shaded', 'Any Species', 'SFW', 'Candy-/Softgore'],
|
||||||
WontDraw: [ 'NSFW', 'Hardgore', 'Feral (unless Chibi)', 'Realism', 'Humans', 'Hard fetish (ask)' ],
|
WontDraw: ['NSFW', 'Hardgore', 'Feral (unless Chibi)', 'Realism', 'Humans', 'Hard fetish (ask)'],
|
||||||
tos: con.tos
|
tos: con.tos
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get('/prices', async (req, res) => {
|
||||||
|
res.sendFile(__dirname + '/assets/images/sheet.png')
|
||||||
|
})
|
||||||
|
|
||||||
app.get('/twitter', (req, res) => {
|
app.get('/twitter', (req, res) => {
|
||||||
res.redirect(con.socials.twitter);
|
res.redirect(con.socials.twitter);
|
||||||
});
|
});
|
||||||
|
@ -108,8 +142,11 @@ module.exports = (client) => {
|
||||||
app.get('/kofi', (req, res) => {
|
app.get('/kofi', (req, res) => {
|
||||||
res.redirect(con.socials.kofi);
|
res.redirect(con.socials.kofi);
|
||||||
});
|
});
|
||||||
|
app.get('/discord', (req, res) => {
|
||||||
|
res.redirect(con.socials.discord);
|
||||||
|
});
|
||||||
|
|
||||||
app.listen(port /* , hostname */, () => {
|
app.listen(port /* , hostname */ , () => {
|
||||||
console.log(`[ Server ] Listening on ${port}`);
|
console.log(`[ Server ] Listening on ${port}`);
|
||||||
});
|
});
|
||||||
};
|
};
|
Loading…
Reference in New Issue