diff --git a/assets/images/Z.png b/assets/images/Z.png deleted file mode 100644 index 69f36db..0000000 Binary files a/assets/images/Z.png and /dev/null differ diff --git a/assets/images/y.png b/assets/images/y.png deleted file mode 100644 index 5d1e90e..0000000 Binary files a/assets/images/y.png and /dev/null differ diff --git a/constants.js b/constants.js index 6ee3a8c..1cbfefe 100644 --- a/constants.js +++ b/constants.js @@ -41,12 +41,13 @@ let refunds = { module.exports = { name: 'yugen', updateToken: 'qwertzuiop1234567890', - tos: [ payment, turnaround, refunds, other ], + tos: [payment, turnaround, refunds, other], socials: { twitter: 'https://twitter.com/CorgiYugy', instagram: 'https://instagram.com/CorgiYugy', patreon: 'https://patreon.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' } -}; +}; \ No newline at end of file diff --git a/server.js b/server.js index 3d6b923..3f73bd1 100644 --- a/server.js +++ b/server.js @@ -11,7 +11,10 @@ const exec = require('shell-exec'); const simpleIcons = require('simple-icons'); const con = require('./constants'); -let { port, hostname } = { +let { + port, + hostname +} = { port: 3926 //hostname: '67.182.206.28' }; @@ -24,7 +27,7 @@ app.engine( extname: 'hbs', defaultView: 'default', helpers: { - ifeq: function(a, b, options) { + ifeq: function (a, b, options) { if (a === b) { return true; } @@ -69,13 +72,40 @@ module.exports = (client) => { layout: 'main', name: con.name, host: req.hostname, - item: [ { name: 'TOS', source: '/tos' } ], - social: [ - { name: 'Twitter', 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: 'Trello', link: 'trello.com/b/PTh1X2bw/yugen-the-corgi-commisions', icon: simpleIcons.Trello } + item: [{ + name: 'TOS', + source: '/tos' + }], + social: [{ + name: 'Twitter', + 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', name: con.name, host: req.hostname, - WillDraw: [ 'Furries', 'Toony', 'Cell Shaded', 'Any Species', 'SFW', 'Candy-/Softgore' ], - WontDraw: [ 'NSFW', 'Hardgore', 'Feral (unless Chibi)', 'Realism', 'Humans', 'Hard fetish (ask)' ], + WillDraw: ['Furries', 'Toony', 'Cell Shaded', 'Any Species', 'SFW', 'Candy-/Softgore'], + WontDraw: ['NSFW', 'Hardgore', 'Feral (unless Chibi)', 'Realism', 'Humans', 'Hard fetish (ask)'], tos: con.tos }); }); + app.get('/prices', async (req, res) => { + res.sendFile(__dirname + '/assets/images/sheet.png') + }) + app.get('/twitter', (req, res) => { res.redirect(con.socials.twitter); }); @@ -108,8 +142,11 @@ module.exports = (client) => { app.get('/kofi', (req, res) => { 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}`); }); -}; +}; \ No newline at end of file