From ea45587bd37e4935a56e7e2ed791232a4262e303 Mon Sep 17 00:00:00 2001 From: William Wu Date: Sat, 1 Aug 2020 18:20:28 -0400 Subject: [PATCH 1/6] Basic link to codeRIT added to the console --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3d43c2a82..748bbfdb7 100644 --- a/src/index.js +++ b/src/index.js @@ -4,9 +4,10 @@ import PreRegister from './preregister'; import 'bootstrap/dist/css/bootstrap.css'; import './index.scss'; +console.log("Interested in getting further involved?\n"+ +"codeRIT is looking for developers, come and join us at https://coderit.org/!"); ReactDOM.render( , document.getElementById('root'), ); - From d5f856d387bcc3aed6a72f1de2a4b376485c07ec Mon Sep 17 00:00:00 2001 From: William Wu Date: Fri, 7 Aug 2020 22:41:18 -0400 Subject: [PATCH 2/6] Updated the console hiring message --- src/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 748bbfdb7..9b87ed28a 100644 --- a/src/index.js +++ b/src/index.js @@ -4,8 +4,11 @@ import PreRegister from './preregister'; import 'bootstrap/dist/css/bootstrap.css'; import './index.scss'; -console.log("Interested in getting further involved?\n"+ -"codeRIT is looking for developers, come and join us at https://coderit.org/!"); +console.log(`Hey, you.\n +You’re finally awake.\n +You were trying to see the code, right?\n +Walked right into that hiring message, same as us.\n +If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.edu!`); ReactDOM.render( , From 43694fa0f5eb39deeb3c4ecb1f0d19a113c9fe41 Mon Sep 17 00:00:00 2001 From: ww2497 Date: Sat, 22 Aug 2020 19:47:49 -0400 Subject: [PATCH 3/6] Changed the console comment into an HTML comment --- public/index.html | 7 +++++++ src/index.js | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index 36a464d0f..80b8fc1ae 100644 --- a/public/index.html +++ b/public/index.html @@ -1,3 +1,10 @@ + diff --git a/src/index.js b/src/index.js index 9b87ed28a..5826ac805 100644 --- a/src/index.js +++ b/src/index.js @@ -4,12 +4,6 @@ import PreRegister from './preregister'; import 'bootstrap/dist/css/bootstrap.css'; import './index.scss'; -console.log(`Hey, you.\n -You’re finally awake.\n -You were trying to see the code, right?\n -Walked right into that hiring message, same as us.\n -If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.edu!`); - ReactDOM.render( , document.getElementById('root'), From 0b7b9ba8d27b1795d765a451fb3aa3924bcde5fd Mon Sep 17 00:00:00 2001 From: ww2497 Date: Mon, 24 Aug 2020 19:48:27 -0400 Subject: [PATCH 4/6] Hiring msg. is now an HTML comment & console msg --- public/index.html | 7 ------- src/index.js | 11 +++++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 80b8fc1ae..36a464d0f 100644 --- a/public/index.html +++ b/public/index.html @@ -1,10 +1,3 @@ - diff --git a/src/index.js b/src/index.js index 5826ac805..01c1d9653 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,17 @@ import PreRegister from './preregister'; import 'bootstrap/dist/css/bootstrap.css'; import './index.scss'; +const hiringMessage = `Hey, you. +You’re finally awake. +You were trying to see the code, right? +Walked right into that hiring message, same as us. +If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.edu!` + +console.log(hiringMessage); + +const comment = document.createComment("\n"+hiringMessage.toString()+"\n"); +document.insertBefore(comment, document.firstChild); + ReactDOM.render( , document.getElementById('root'), From a4d67f270f76007a4d3ffe19a8ee2589d1980762 Mon Sep 17 00:00:00 2001 From: William Wu <31863372+ww2497@users.noreply.github.com> Date: Sat, 29 Aug 2020 18:51:00 -0400 Subject: [PATCH 5/6] Update src/index.js Co-authored-by: Peter Kos --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 01c1d9653..672d74def 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ const hiringMessage = `Hey, you. You’re finally awake. You were trying to see the code, right? Walked right into that hiring message, same as us. -If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.edu!` +If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.org!` console.log(hiringMessage); From cd3550fb6b0d3435e6609dde4dadb1eba53299fe Mon Sep 17 00:00:00 2001 From: ww2497 Date: Sat, 29 Aug 2020 18:52:38 -0400 Subject: [PATCH 6/6] Comment on why the hiring comment is in JS added --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 672d74def..3b8ce925d 100644 --- a/src/index.js +++ b/src/index.js @@ -12,6 +12,7 @@ If you’d like to work on this website and other cool projects with hackathons, console.log(hiringMessage); +//comment generated via javascript instead of in HTML so the hiring message text is only in one place const comment = document.createComment("\n"+hiringMessage.toString()+"\n"); document.insertBefore(comment, document.firstChild);