Skip to content

Commit 0b7b9ba

Browse files
committed
Hiring msg. is now an HTML comment & console msg
1 parent 43694fa commit 0b7b9ba

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

public/index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
<!--
2-
Hey, you.
3-
You’re finally awake.
4-
You were trying to see the code, right?
5-
Walked right into that hiring message, same as us.
6-
If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.edu!
7-
-->
81
<!DOCTYPE html>
92
<html lang="en">
103
<head>

src/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ 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 engineering@coderit.edu!`
12+
13+
console.log(hiringMessage);
14+
15+
const comment = document.createComment("\n"+hiringMessage.toString()+"\n");
16+
document.insertBefore(comment, document.firstChild);
17+
718
ReactDOM.render(
819
<PreRegister/>,
920
document.getElementById('root'),

0 commit comments

Comments
 (0)