File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import './sass/main.scss'
22import '@fortawesome/fontawesome-free/css/all.css'
33
4- // slick-carousel configuration
5- import $ from 'jquery'
6- import 'slick-carousel'
7-
84
5+ // Hiring message
96const hiringMessage = `Hey, you.
107You’re finally awake.
118You were trying to see the code, right?
@@ -14,11 +11,15 @@ If you’d like to work on this website and other cool projects with hackathons,
1411
1512console . log ( hiringMessage ) ;
1613
17- // comment generated via js instead of directly in HTML so the hiring message text is only in one place
14+ // Comment generated via js instead of directly in HTML so the hiring message text is only in one place
1815const comment = document . createComment ( "\n" + hiringMessage . toString ( ) + "\n" ) ;
1916document . insertBefore ( comment , document . firstChild ) ;
2017
2118
19+ // Slick-carousel
20+ import $ from 'jquery'
21+ import 'slick-carousel'
22+
2223$ ( document ) . ready ( function ( ) {
2324 $ ( '.carousel' ) . slick ( {
2425 infinite : true ,
@@ -67,6 +68,7 @@ $(document).on('keydown', function(event) {
6768} ) ;
6869
6970
71+ // FAQ Cards hide/show
7072let card = document . getElementsByClassName ( "card" ) ;
7173for ( let i = 0 ; i < card . length ; i ++ ) {
7274 let accordion = card [ i ] . getElementsByClassName ( "accordion-header" ) [ 0 ] ;
@@ -90,6 +92,7 @@ for (let i = 0; i < card.length; i++) {
9092 } ) ;
9193}
9294
95+
9396// Schedule toggle code
9497$ ( '.day-second-events' ) . hide ( ) ;
9598$ ( '.day-first' ) . click ( function ( ) {
You can’t perform that action at this time.
0 commit comments