From 4ee279b173a0a46177a9429e70212cb8fbe3de0c Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 30 Jun 2017 11:52:00 -0500 Subject: [PATCH] feat: delete code of conduct (#15475) --- 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 704799238b..bdd337eca8 100644 --- a/server/boot/randomAPIs.js +++ b/server/boot/randomAPIs.js @@ -35,7 +35,6 @@ module.exports = function(app) { '/software-resources-for-nonprofits', softwareResourcesForNonprofits ); - router.get('/code-of-conduct', codeOfConduct); router.get('/academic-honesty', academicHonesty); router.get( '/the-fastest-web-page-on-the-internet', @@ -78,12 +77,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 efc54e4e5f..0000000000 --- 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 Free Code Camp is a friendly place to learn to code. We’re committed to keeping it that way. - p By using Free Code Camp, 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, name-calling, stalking, unwelcome attention, libel and any malicious hacking or social engineering. Free Code Camp 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, or solicit donations. - p If you see someone harass, troll, or spam anywhere on Free Code Camp'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 Free Code Camp. - 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") Free Code Camp's Core Team. - p If you have questions about this code of conduct, email us at  - a(href='mailto:team@freecodecamp.org') team@freecodecamp.org - | .