Skip to content

Commit 3eaaa25

Browse files
authored
Merge pull request #939 from codeRIT/hiring
Hidden codeRIT hiring notices added to the BrickHack site
2 parents 1fa70e5 + 444fb6c commit 3eaaa25

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/index.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@ import PreRegister from './preregister';
44
import 'bootstrap/dist/css/bootstrap.css';
55
import './index.scss';
66

7+
const hiringMessage = `Hey, you.
8+
You’re finally awake.
9+
You were trying to see the code, right?
10+
Walked right into that hiring message, same as us.
11+
If you’d like to work on this website and other cool projects with hackathons, send an email over to [email protected]!`
12+
13+
console.log(hiringMessage);
14+
15+
//comment generated via javascript instead of in HTML so the hiring message text is only in one place
16+
const comment = document.createComment("\n"+hiringMessage.toString()+"\n");
17+
document.insertBefore(comment, document.firstChild);
718

819
ReactDOM.render(
920
<PreRegister/>,
1021
document.getElementById('root'),
1122
);
12-

0 commit comments

Comments
 (0)