landing-page-gem 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +44 -0
  4. data/_config.yml +43 -0
  5. data/_includes/benefits.html +123 -0
  6. data/_includes/body.html +12 -0
  7. data/_includes/bottom-action-call.html +10 -0
  8. data/_includes/breadcrumbs.html +16 -0
  9. data/_includes/document-head.html +21 -0
  10. data/_includes/foot.html +3 -0
  11. data/_includes/footer.html +271 -0
  12. data/_includes/hash/landing.yml +1 -0
  13. data/_includes/header.html +28 -0
  14. data/_includes/navbar.html +121 -0
  15. data/_includes/preconnect.html +13 -0
  16. data/_includes/scripts/custom-theme.html +3 -0
  17. data/_includes/scripts/google-noscript.html +9 -0
  18. data/_includes/scripts/google-tag.html +23 -0
  19. data/_includes/scripts/vendor-cdn.html +3 -0
  20. data/_includes/styles/fonts.html +4 -0
  21. data/_includes/styles/main.html +8 -0
  22. data/_includes/styles/vendor.html +3 -0
  23. data/_includes/svg/check-mark.html +16 -0
  24. data/_includes/svg/check.html +13 -0
  25. data/_includes/svg/check_circle-24px.html +13 -0
  26. data/_includes/svg/earn-more.html +30 -0
  27. data/_includes/svg/email-24px.html +13 -0
  28. data/_includes/svg/endorsements-icon.html +15 -0
  29. data/_includes/svg/flexible-icon.html +30 -0
  30. data/_includes/svg/free-classes.html +36 -0
  31. data/_includes/svg/goals.html +21 -0
  32. data/_includes/svg/kcc-copy.html +62 -0
  33. data/_includes/svg/kcc.html +65 -0
  34. data/_includes/svg/kcc.svg +59 -0
  35. data/_includes/svg/love.html +13 -0
  36. data/_includes/svg/place-24px.html +13 -0
  37. data/_includes/svg/save-money.html +26 -0
  38. data/_includes/targetx-form.html +363 -0
  39. data/_includes/targetx-head.html +47 -0
  40. data/_layouts/landing.html +15 -0
  41. data/assets/css/content.scss +14 -0
  42. data/assets/img/DSC_8724_4x3.jpg +0 -0
  43. data/assets/img/banner-bg.jpg +0 -0
  44. data/assets/img/culture.svg +31 -0
  45. data/assets/img/d-daun2.jpg +0 -0
  46. data/assets/img/itransfer.png +0 -0
  47. data/assets/img/miguel2.jpg +0 -0
  48. data/assets/img/placeholder_16to9.jpg +0 -0
  49. data/assets/img/placeholder_4by3.jpg +0 -0
  50. data/assets/img/placeholder_square.jpg +0 -0
  51. data/assets/img/schedule.svg +42 -0
  52. data/assets/img/support.svg +12 -0
  53. data/assets/img/zippia.png +0 -0
  54. data/assets/js/dist/315.b82f3c2bb153940ebd76.bundle.js +1 -0
  55. data/assets/js/dist/321.b82f3c2bb153940ebd76.bundle.js +1 -0
  56. data/assets/js/dist/582.b82f3c2bb153940ebd76.bundle.js +1 -0
  57. data/assets/js/dist/909.b82f3c2bb153940ebd76.bundle.js +1 -0
  58. data/assets/js/dist/kcc-landing-page.b82f3c2bb153940ebd76.bundle.js +1 -0
  59. data/assets/js/dist/kcc-landing-page.b82f3c2bb153940ebd76.css +1 -0
  60. data/assets/js/src/footerDate.js +7 -0
  61. data/assets/js/src/landingPage.js +38 -0
  62. data/assets/js/src/lazyLoad.js +11 -0
  63. data/assets/js/src/main.js +19 -0
  64. data/assets/js/src/test.js +5 -0
  65. data/assets/scss/0-tools/_bootstrap-overrides.scss +26 -0
  66. data/assets/scss/0-tools/_cloudcannon.scss +17 -0
  67. data/assets/scss/0-tools/_content.scss +40 -0
  68. data/assets/scss/0-tools/_targetx-overrides.scss +76 -0
  69. data/assets/scss/0-tools/_vars.scss +79 -0
  70. data/assets/scss/1-base/_footer.scss +84 -0
  71. data/assets/scss/1-base/_header.scss +18 -0
  72. data/assets/scss/1-base/_html.scss +4 -0
  73. data/assets/scss/1-base/_links.scss +39 -0
  74. data/assets/scss/1-base/_svg.scss +57 -0
  75. data/assets/scss/1-base/_typography.scss +320 -0
  76. data/assets/scss/2-modules/_benefits.scss +270 -0
  77. data/assets/scss/2-modules/_breadcrumbs.scss +32 -0
  78. data/assets/scss/2-modules/_error.scss +20 -0
  79. data/assets/scss/2-modules/_nav-landing.scss +203 -0
  80. data/assets/scss/3-layout/_positioning.scss +50 -0
  81. data/assets/scss/3-layout/_thank-you.scss +24 -0
  82. data/assets/scss/inline.scss +3 -0
  83. data/assets/scss/main.scss +21 -0
  84. metadata +139 -0
@@ -0,0 +1,79 @@
1
+ // VARIABLES
2
+ // =============================
3
+
4
+ // Fonts
5
+ $font-family-paragraph: 'Open Sans', sans-serif;
6
+ $font-family-headings: 'Roboto', sans-serif;
7
+ $font-family-power: 'Libre Franklin', sans-serif;
8
+ $font-family-kcc: 'Eurostile', sans-serif;
9
+ $font-family-oswald: 'Oswald', sans-serif;
10
+ $font-family-saira: 'Saira', 'sans-serif';
11
+ $font-family-icons: 'Material Icons';
12
+
13
+ $font-size-base: 1rem;
14
+
15
+ $font-weight-light: 300;
16
+ $font-weight-regular: 400;
17
+ $font-weight-boldish: 500;
18
+ $font-weight-bolder: 600;
19
+ $font-weight-bold: 700;
20
+ $font-weight-black: 900;
21
+
22
+
23
+ //Image path for most of global style sheet
24
+ $imagedir:'/assets/img/';
25
+
26
+ // Colors
27
+ //KCC colors
28
+ $primary-blue: #0f3b63; // Primary red-color
29
+ $primary-red: #c61f48; // Primary blue-color
30
+ $accent-blue: #005bac; // Accent blue-color used in all links and link buttons;
31
+ $color-blue-light: #ccdde1;
32
+ $color-tan-light: #fcf1d6;
33
+ $color-orange: #f99e1b;
34
+ $color-blue-grey: #7a7b7b;
35
+ $color-blue-lighter-nav: #e2e3e4;
36
+ $color-black-light: rgba(0,0,0,.15);
37
+ $color-red-darker: #8a1632;
38
+
39
+ $color-blue-grey: #b8babc;
40
+ $color-page-background: $color-blue-grey;
41
+ $color-blue-light-nav: $color-blue-grey;
42
+
43
+ $black: #000;
44
+ $grey-0: #555;
45
+ $grey-1: #666;
46
+ $grey-2: #e5e8ed;
47
+ $grey-3: #f1f2f7; // Background color for slick tracks
48
+ $grey-4: #f8f9fa; // Background color for footer (and Bootstrap 4 light navbar)
49
+ $grey-5: #b1b1b1; // Border-bottom for local-nav navigation bar
50
+ $grey-6: #58585b;
51
+ $grey-7: #868686;
52
+ $grey-8: #d9d9d9;
53
+
54
+ $color-grey-bg: #b8babc;
55
+ $white: #fff;
56
+
57
+ $color-alert: #856404;
58
+ $color-blue-reboot: #007bff; // link color specified in reboot
59
+ $color-blue-reboot-hover: #0056b3; // link:hover color specified in reboot
60
+ $color-green-emerald: #148ba9;
61
+ $color-green-check: #00A14B;
62
+
63
+ $color-grey-typography: $grey-0; // Base grey-color for typography elements like p, ul, ol, etc.
64
+ $color-grey-heading: $grey-0; // Grey headings used within page content
65
+ $landing-bg: $grey-2; // Landing page's background-color
66
+ $default-bg: $white; // Background color for non-landing pages
67
+ $footer-bg: $white; // Footer's background color
68
+ $fa-color: $primary-red;
69
+ $slide-bg: $white; // Background color for the upcoming games slick slides
70
+ $sub-nav-heading: $white; // Font color for h1.page-heading heading of sub-nav
71
+ $nav-link: $white; // Color for nav-link-main links in mega-nav
72
+
73
+ $btn-primary-bg: #0051a7;
74
+ $btn-primary-border: #003773;
75
+ $btn-hover-bg: #022b55;
76
+ $btn-hover-border: #021e3d;
77
+ $darker-link: #006ce0;
78
+ $orange-heading: $color-orange;
79
+ $success-check-mark: $color-green-check;
@@ -0,0 +1,84 @@
1
+ // Footer Styles
2
+
3
+ .footer__margin {
4
+ margin-top: 20px;
5
+ }
6
+
7
+ .footer {
8
+ background-color: $grey-4;
9
+ margin-bottom: -56px;
10
+ margin-top: 60px;
11
+ padding-bottom: 40px;
12
+ padding-top: 40px;
13
+ width: 100%;
14
+ border-top-color: $color-black-light;
15
+ border-top-style: solid;
16
+ border-top-width: thin;
17
+ }
18
+
19
+ // Footer's "athletics.kcc.edu link"
20
+ a.footer-link {
21
+ color: $primary-blue;
22
+
23
+ &:hover {
24
+ text-decoration: none !important;
25
+ color: $primary-red;
26
+ }
27
+ }
28
+
29
+ .footer-heading {
30
+ transition-property: color;
31
+ transition-timing-function: ease;
32
+ transition-duration: .3s;
33
+ }
34
+
35
+ .footer-icons {
36
+ background-color: $primary-red;
37
+ border-radius: 50%;
38
+ transition-property: background-color;
39
+ transition-timing-function: ease;
40
+ transition-duration: .3s;
41
+ height: 33px;
42
+ margin: 4px;
43
+ padding: 2px;
44
+ width: 33px;
45
+ }
46
+
47
+ @media screen and (min-width: 360px) {
48
+ .footer-icons {
49
+ height: 40px;
50
+ margin: 5px;
51
+ width: 40px;
52
+ }
53
+ }
54
+
55
+ @media screen and (min-width: 412px) {
56
+ .footer-icons {
57
+ height: 50px;
58
+ width: 50px;
59
+ }
60
+ }
61
+
62
+ a.footer-social-links, a.footer-social-links .footer-icons {
63
+ text-decoration: none !important; // Get rid of default link-underline on hover
64
+ }
65
+
66
+ a.footer-social-links:hover .footer-icons {
67
+ text-decoration: none !important;
68
+ background-color: $primary-blue;
69
+ }
70
+
71
+ .footer__mobile--margin-bottom {
72
+ margin-bottom: 20px;
73
+ }
74
+
75
+ @media screen and (min-width: 992px) {
76
+ .footer__mobile--margin-bottom {
77
+ margin-bottom: 0;
78
+ }
79
+ }
80
+
81
+ .footer__svg--logo {
82
+ height: 36px; // Needed for IE
83
+ max-width: 100%;
84
+ }
@@ -0,0 +1,18 @@
1
+ // Header styles
2
+ // ==========================================
3
+
4
+ // If you change the background-image be sure to modify the _includes/preconnect.html file!
5
+ .header__bg {
6
+ background-image: url('/assets/img/banner-bg.jpg');
7
+ background-size: cover;
8
+ background-position: center;
9
+ background-repeat: no-repeat;
10
+ height: 55%;
11
+ height: 55vh;
12
+ }
13
+
14
+ @media screen and (min-width: 1200px) {
15
+ .header__bg {
16
+ height: auto;
17
+ }
18
+ }
@@ -0,0 +1,4 @@
1
+
2
+ html {
3
+ background-color: $color-grey-bg;
4
+ }
@@ -0,0 +1,39 @@
1
+ // Rules for styling links
2
+ // =========================================
3
+
4
+ .links__darker-link {
5
+ color: $darker-link;
6
+ }
7
+
8
+ .links__phone--span { // Phone # link in the navigation on landing pages like info.kcc.edu
9
+ color: $white;
10
+ position: relative; // Needed to make pseudo-element underlining the right width
11
+ text-decoration: none;
12
+ &:visited {
13
+ color: $white;
14
+ }
15
+ &:hover,
16
+ &:focus {
17
+ color: $white; // Remove the Bootstrap primary blue colour on a:hover
18
+ text-decoration: none; // Prevent underlining
19
+ }
20
+ }
21
+
22
+
23
+ .links__phone--span:focus:after,
24
+ .links__phone--span:hover:after { // mouse-hover effect for phone # in landing pages
25
+ opacity: 1; // Make the underline fade in
26
+ transform: translateY(-.2em); // Move the underline up (along the Y-axis) as it fades-in
27
+ }
28
+
29
+ .links__phone--span:after { // Pseudo-element to unerline the phone # on mouse-hover
30
+ background-color: $color-orange;
31
+ bottom: - .325rem;
32
+ content: "";
33
+ display: block;
34
+ height: .1875rem;
35
+ opacity: 0;
36
+ position: absolute;
37
+ transition: opacity .3s,transform .3s; // mouse-hover effect
38
+ width: 100%;
39
+ }
@@ -0,0 +1,57 @@
1
+ .svg__fill {
2
+ &--blue {
3
+ fill: $primary-blue;
4
+ }
5
+ &--white {
6
+ fill: $white;
7
+ }
8
+ }
9
+
10
+ .svg {
11
+ height: 100px;
12
+ width: 100px;
13
+ &--none {
14
+ fill: none;
15
+ }
16
+ &--blue {
17
+ fill: $primary-blue;
18
+ }
19
+ &--red {
20
+ fill: $primary-red;
21
+ }
22
+ }
23
+
24
+ .svg--max-width {
25
+ max-width: 100%;
26
+ }
27
+
28
+ .svg {
29
+ &__button {
30
+ height: 48px;
31
+ width: 48px;
32
+ }
33
+ &--fill-none {
34
+ fill: none;
35
+ }
36
+ &--fill-white {
37
+ fill: $white;
38
+ }
39
+ &--fill-blue {
40
+ fill: $primary-blue;
41
+ }
42
+ &--fill-green {
43
+ fill: $success-check-mark;
44
+ }
45
+ &__earn-more {
46
+ transform: scale(1.35);
47
+ }
48
+ }
49
+
50
+ .svg__fill--bright-red {
51
+ fill: #C81F49;
52
+ }
53
+
54
+ .svg__fill--red-shadow {
55
+ fill: #8F0F28;
56
+ }
57
+
@@ -0,0 +1,320 @@
1
+ // TYPOGRAPHY
2
+ // ===========================
3
+ // Set the base font size for em's to work
4
+ body {
5
+ font-size: $font-size-base; // Takes control of the base font size from Bootstrap/reboot
6
+ }
7
+
8
+ // HEADINGS
9
+ // Special Headings (decorative headings used for specific sections)
10
+
11
+ // h1 is KCC's logo-font, reserved for the nav-local's page-title heading.
12
+ .typography__nav-heading { // Not to be used for page content
13
+ color: $primary-blue;
14
+ display: inline;
15
+ font-family: $font-family-kcc;
16
+ font-size: 1.5rem;
17
+ font-style: italic;
18
+ font-weight: 700;
19
+ text-transform: uppercase;
20
+ transition-property: color;
21
+ transition-timing-function: ease;
22
+ transition-duration: .4s;
23
+ &:hover,
24
+ &:focus {
25
+ color: $primary-red;
26
+ }
27
+ &--smaller {
28
+ font-size: 1.25rem;
29
+ }
30
+ }
31
+
32
+ @media screen and (min-width:360px) {
33
+ .typography__nav-heading {
34
+ font-size: 1.8rem;
35
+ &--smaller {
36
+ font-size: 1.5rem;
37
+ }
38
+ }
39
+ }
40
+
41
+ @media screen and (min-width:410px) {
42
+ .typography__nav-heading {
43
+ font-size: 2rem;
44
+ }
45
+ }
46
+
47
+ @media screen and (min-width:576px) {
48
+ .typography__nav-heading {
49
+ font-size: 2.3rem;
50
+ }
51
+ }
52
+
53
+ @media screen and (min-width: 768px) {
54
+ .typography__nav-heading {
55
+ font-size: 2.4rem;
56
+ }
57
+ }
58
+
59
+ @media screen and (min-width: 1500px) {
60
+ .typography__nav-heading {
61
+ font-size: 2.6rem;
62
+ }
63
+ }
64
+
65
+ .typography__footer-heading { // Footer heading/link that shows the site URL
66
+ font-family: $font-family-headings;
67
+ font-size: 1.95rem;
68
+ font-weight: $font-weight-black;
69
+ }
70
+
71
+ @media screen and (min-width: 360px) {
72
+ .typography__footer-heading {
73
+ font-size: 2.2rem;
74
+ }
75
+ }
76
+
77
+ @media screen and (min-width: 375px) {
78
+ .typography__footer-heading {
79
+ font-size: 2.4rem;
80
+ }
81
+ }
82
+
83
+ @media screen and (min-width: 410px) {
84
+ .typography__footer-heading {
85
+ font-size: 2.6rem;
86
+ }
87
+ }
88
+
89
+ // Content Headings
90
+ .typography__h2 {
91
+ color: $color-grey-heading;
92
+ font-family: $font-family-headings;
93
+ font-size: 2rem;
94
+ font-weight: $font-weight-boldish;
95
+ }
96
+
97
+ .typography__h3 {
98
+ color: $primary-blue;
99
+ font-family: $font-family-headings;
100
+ font-size: 1.75rem;
101
+ font-weight: $font-weight-bolder;
102
+ }
103
+
104
+ .typography__h4 {
105
+ color: $primary-red;
106
+ font-family: $font-family-headings;
107
+ font-size: 1.7rem;
108
+ font-weight: $font-weight-bolder;
109
+ }
110
+
111
+ .typography__h5 {
112
+ color: $color-grey-heading;
113
+ font-family: $font-family-headings;
114
+ font-weight: $font-weight-bold;
115
+ font-size: 1.5rem;
116
+ }
117
+
118
+ .typography__h6 {
119
+ color: $color-grey-heading;
120
+ font-family: $font-family-headings;
121
+ font-weight: $font-weight-bold;
122
+ font-size: 1.4rem;
123
+ }
124
+
125
+ .typography__phone--span {
126
+ color: $white;
127
+ font-family: $font-family-oswald;
128
+ font-size: 1.3rem;
129
+ font-weight: $font-weight-regular;
130
+ letter-spacing: .07rem;
131
+ white-space: nowrap;
132
+ }
133
+
134
+ @media screen and (min-width: 768px) {
135
+ .typography__phone--span {
136
+ font-size: 1.45rem;
137
+ }
138
+ }
139
+
140
+ @media screen and (min-width: 1024px) {
141
+ .typography__phone--span {
142
+ font-size: 1.5rem;
143
+ }
144
+ }
145
+
146
+ p,
147
+ ul:not(.navbar-nav), // :not() selecter prevents unnecesary style override
148
+ ol { // Needed so list font looks the same as paragraph font
149
+ color: $color-grey-typography; // Bootstrap sets these things to black
150
+ font-family: $font-family-paragraph;
151
+ font-size: $font-size-base;
152
+ }
153
+
154
+ h1 sup, h2 sup, h3 sup, h4 sup, h5 sup, h6 sup { // Make superscripts within headings a little bit smaller than reboot's styling
155
+ font-size: 45% !important;
156
+ top: -1em;
157
+ font-weight: normal;
158
+ }
159
+
160
+ .typography__register--h2 {
161
+ color: $white;
162
+ font-family: eurostile, sans-serif;
163
+ font-size: 2.4rem;
164
+ font-weight: $font-weight-boldish;
165
+ letter-spacing: .03rem;
166
+ position: relative;
167
+ top: 30%;
168
+ margin-bottom: -10px;
169
+ }
170
+
171
+ @media screen and (min-width: 400px) {
172
+ .typography__register--h2 {
173
+ font-size: 3rem;
174
+ }
175
+ }
176
+
177
+ @media screen and (min-width: 768px) {
178
+ .typography__register--h2 {
179
+ font-size: 5.2rem;
180
+ }
181
+ }
182
+
183
+ @media screen and (min-width: 1200px) {
184
+ .typography__register--h2 {
185
+ font-size: 6rem;
186
+ }
187
+ }
188
+
189
+ @media screen and (min-width: 1800px) {
190
+ .typography__register--h2 {
191
+ font-size: 6.6rem;
192
+ }
193
+ }
194
+
195
+ .typography__register--h3 {
196
+ color: $white;
197
+ font-family: eurostile, sans-serif;
198
+ font-size: 1.2rem;
199
+ font-weight: $font-weight-boldish;
200
+ letter-spacing: .03rem;
201
+ position: relative;
202
+ top: 31%;
203
+ }
204
+
205
+ @media screen and (min-width: 400px) {
206
+ .typography__register--h3 {
207
+ font-size: 1.45rem;
208
+ top: 30.5%;
209
+ }
210
+ }
211
+
212
+ @media screen and (min-width: 768px) {
213
+ .typography__register--h3 {
214
+ font-size: 2.5rem;
215
+ top: 30%;
216
+ }
217
+ }
218
+
219
+ @media screen and (min-width: 1200px) {
220
+ .typography__register--h3 {
221
+ font-size: 2.6rem;
222
+ top: 30%;
223
+ }
224
+ }
225
+
226
+ @media screen and (min-width: 1800px) {
227
+ .typography__register--h3 {
228
+ font-size: 2.7rem;
229
+ top: 30%;
230
+ }
231
+ }
232
+
233
+ .typography__register--caption {
234
+ bottom: 15px;
235
+ color: $white;
236
+ filter: drop-shadow(0 0 2px rgba(0,0,0,0.25));
237
+ font-family: $font-family-oswald;
238
+ font-size: 1rem;
239
+ font-weight: $font-weight-boldish;
240
+ letter-spacing: .07rem;
241
+ position: absolute;
242
+ right: 25px;
243
+ }
244
+
245
+ @media screen and (min-width: 768px) {
246
+ .typography__register--caption {
247
+ font-size: 1.1rem;
248
+ }
249
+ }
250
+
251
+ @media screen and (min-width: 1000px) {
252
+ .typography__register--caption {
253
+ font-size: 1.2rem;
254
+ }
255
+ }
256
+
257
+
258
+ .typography__register-h4 {
259
+ font-family: $font-family-oswald;
260
+ font-size: 1.6rem;
261
+ }
262
+
263
+ @media screen and (min-width: 768px) {
264
+ .typography__register-h4 {
265
+ font-size: 2rem;
266
+ }
267
+ }
268
+
269
+ @media screen and (min-width: 1200px) {
270
+ .typography__register-h4 {
271
+ font-size: 2rem;
272
+ }
273
+ }
274
+
275
+ @media screen and (min-width: 1800px) {
276
+ .typography__register-h4 {
277
+ font-size: 2.3rem;
278
+ }
279
+ }
280
+
281
+ .typography__larger-p {
282
+ font-size: 1.2rem;
283
+ }
284
+
285
+ .typography__register--thank-you {
286
+ color: $primary-blue;
287
+ font-family: $font-family-kcc;
288
+ font-size: 2rem;
289
+ &--message {
290
+ color: $primary-red;
291
+ font-family: $font-family-saira;
292
+ font-weight: $font-weight-bold;
293
+ font-size: 1.4rem;
294
+ }
295
+ }
296
+
297
+ @media screen and (min-width: 768px) {
298
+ .typography__register--thank-you {
299
+ font-size: 2.4rem;
300
+ margin-left: 100px;
301
+ margin-top: -10px;
302
+ &--message {
303
+ font-size: 1.6rem;
304
+ margin-left: 95px;
305
+ }
306
+ }
307
+ }
308
+
309
+ @media screen and (min-width: 1200px) {
310
+ .typography__register--thank-you {
311
+ font-size: 2.6rem;
312
+ }
313
+ }
314
+
315
+ @media screen and (min-width: 1800px) {
316
+ .typography__register--thank-you {
317
+ font-size: 3rem;
318
+ margin-top: -15px;
319
+ }
320
+ }