Skip to content

Commit c94e497

Browse files
authored
Merge pull request #1052 from codeRIT/bh-1037
Added back old hiring message
2 parents 1251579 + bb5e825 commit c94e497

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

index.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1-
2-
31
import './sass/main.scss'
42
import '@fortawesome/fontawesome-free/css/all.css'
53

6-
74
// slick-carousel configuration
8-
95
import $ from 'jquery'
106
import 'slick-carousel'
117

8+
9+
const hiringMessage = `Hey, you.
10+
You’re finally awake.
11+
You were trying to see the code, right?
12+
Walked right into that hiring message, same as us.
13+
If you’d like to work on this website and other cool projects with hackathons, send an email over to engineering@coderit.org!`
14+
15+
console.log(hiringMessage);
16+
17+
// comment generated via js instead of directly in HTML so the hiring message text is only in one place
18+
const comment = document.createComment("\n"+hiringMessage.toString()+"\n");
19+
document.insertBefore(comment, document.firstChild);
20+
21+
1222
$(document).ready(function() {
1323
$('.carousel').slick({
1424
infinite: true,

0 commit comments

Comments
 (0)