From dcf0136764a9c6e521b55a7f85498f9ace411623 Mon Sep 17 00:00:00 2001 From: texas2010 Date: Sun, 25 Jun 2017 11:29:44 -0500 Subject: [PATCH] delete code of conduct page and route --- server/boot/randomAPIs.js | 7 ------- server/views/resources/code-of-conduct.jade | 20 -------------------- 2 files changed, 27 deletions(-) delete mode 100644 server/views/resources/code-of-conduct.jade diff --git a/server/boot/randomAPIs.js b/server/boot/randomAPIs.js index b4608cacb2e..60dc1a7ce39 100644 --- a/server/boot/randomAPIs.js +++ b/server/boot/randomAPIs.js @@ -37,7 +37,6 @@ module.exports = function(app) { '/software-resources-for-nonprofits', softwareResourcesForNonprofits ); - router.get('/code-of-conduct', codeOfConduct); router.get('/academic-honesty', academicHonesty); app.use(noLangRouter); @@ -59,12 +58,6 @@ module.exports = function(app) { }); } - function codeOfConduct(req, res) { - res.render('resources/code-of-conduct', { - title: 'Code of Conduct' - }); - } - function academicHonesty(req, res) { res.render('resources/academic-honesty', { title: 'Academic Honesty policy' diff --git a/server/views/resources/code-of-conduct.jade b/server/views/resources/code-of-conduct.jade deleted file mode 100644 index 8bc74e869e3..00000000000 --- a/server/views/resources/code-of-conduct.jade +++ /dev/null @@ -1,20 +0,0 @@ -extends ../layout -block content - .col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3 - h1.text-center Code of Conduct - hr - p freeCodeCamp is a friendly place to learn to code. We’re committed to keeping it that way. - p By using freeCodeCamp, you agree that you'll follow this code of conduct. - p In short: Be nice. No harassment, trolling, or spamming. - ul - li Harassment includes sexual language and imagery, deliberate intimidation, stalking, unwelcome sexual attention, libel and any malicious hacking or social engineering. freeCodeCamp should be a harassment-free experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, national origin, or religion (or lack thereof). - li Trolling includes posting inflammatory comments to provoke an emotional response or disrupt discussions. - li Spamming includes posting off-topic messages to disrupt discussions, promote a product, solicit donations, or flood discussions with consecutive large pictures, videos, streams, and text. - p If you see someone harass, troll, or spam anywhere on freeCodeCamp's online media (Gitter, YouTube, Facebook, etc.), notify us in our   - a(href='https://gitter.im/freecodecamp/admin' target='_blank') Admin room in Gitter - |   - preferably with a screen shot of the offense. Our team will take any action we deem appropriate, up to and including banning the offender from freeCodeCamp. - p Also, no bots are allowed in our chat rooms or on our forum without prior written permission from   - a(href='https://gitter.im/FreeCodeCamp/CoreTeam' target="_blank") freeCodeCamp's Core Team. - p If you have questions about this code of conduct, email us at  - a(href='mailto:team@freecodecamp.com') team@freecodecamp.com - | .