kcc-gem-theme 1.65.57 → 1.65.62

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/_data/cache_bust_css.yml +1 -1
  3. data/_data/navigation.yml +62 -42
  4. data/_data/theme_hash.yml +1 -1
  5. data/_includes/accordion.html +3 -6
  6. data/_includes/body.html +10 -8
  7. data/_includes/card-section.html +24 -25
  8. data/_includes/contacts.html +90 -61
  9. data/_includes/document-head.html +11 -3
  10. data/_includes/emergency-alerts.html +21 -21
  11. data/_includes/foot.html +1 -1
  12. data/_includes/footer.html +306 -163
  13. data/_includes/header-global.html +49 -25
  14. data/_includes/hero-slider.html +29 -23
  15. data/_includes/nav-global-bottom.html +45 -30
  16. data/_includes/nav-global-top.html +19 -14
  17. data/_includes/scripts/custom.html +2 -2
  18. data/_includes/scripts/emergency-alerts.html +2 -2
  19. data/_includes/scripts/google-api.html +2 -2
  20. data/_includes/scripts/google-noscript.html +5 -2
  21. data/_includes/scripts/google-tag.html +23 -24
  22. data/_includes/scripts/kcc-alerts.html +2 -2
  23. data/_includes/scripts/kcc-mega-nav.html +2 -2
  24. data/_includes/scripts/kcc-theme.html +2 -2
  25. data/_includes/scripts/translate.html +11 -11
  26. data/_includes/scripts/vendor-cdn.html +1 -1
  27. data/_includes/styles/fonts.html +2 -9
  28. data/_includes/styles/main.html +2 -2
  29. data/_includes/styles/vendor.html +1 -1
  30. data/_includes/svg/kcc.html +69 -59
  31. data/_includes/translate.html +3 -3
  32. data/_layouts/default-core.html +29 -30
  33. data/_layouts/markdown.html +1 -1
  34. data/assets/css/kcc-theme.css +1 -1
  35. data/assets/js/theme/dist/alerts.bundle.js +1 -1
  36. data/assets/js/theme/dist/kcc-theme.bundle.js +1 -1
  37. data/assets/js/theme/src/addClassToOpenNavbar.js +20 -0
  38. data/assets/js/theme/src/all.js +2 -0
  39. data/assets/scss/1-base/_header-global.scss +6 -0
  40. data/assets/scss/2-modules/_accordion.scss +8 -0
  41. metadata +3 -3
  42. data/assets/js/theme/src/babelTest.js +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a4684277abea3a50370b9b9c1aa38ea5125e181866d424799341dc7a7528dc5
4
- data.tar.gz: 13bc4d3dc26794bfc61d37d760022b2faa604655f6ba32550bcf3a1b457d9bc3
3
+ metadata.gz: 58c6d97c4256c6608c67894969e3f2e33087ba8d9a82556882add0fde9ef3a49
4
+ data.tar.gz: 49ad20ec7fdf465764d3874af1286a3df40e08e89768572f1542677e575da436
5
5
  SHA512:
6
- metadata.gz: 646ac5ae69376a34f41b7d681653c93de3f8e8a6b1d6f967a6d32f282505dd3b9d33482dc6b2bc6258784a96ca0e590215114cd6b90e70967d11d536874da4e8
7
- data.tar.gz: 8b6845f6fb57ae5ecca8bf1bdf52ed85cdc59a1fb9008a62c519e05ca2ad4f83ebd24db26a69d0b530e3ea7f7c781d048048a3b20c8cfa77c43fbb598bf6e228
6
+ metadata.gz: 27de5de6bb0ed96f80317a000e22e5e392eb29f98e1847c31e302e4911ca26c34702eb8ed355a3fa44c213f5757b69f20c2e754a97b33c881a4d5e3f616d178b
7
+ data.tar.gz: 192e71b9d72a731b879ce4e0e528e22ebd0ecebab182fd2ca16b3a742646eb5db656910b9ac75f805a1548d669fff52d1063d54b45451d561341fe5a91197c10
@@ -1 +1 @@
1
- e8d27b8d2354128098811b620d54242a ../assets/scss/kcc-theme.css
1
+ dd2fe029ff6cd2bc6218baffc7ecb712 ../assets/scss/kcc-theme.css
@@ -1,11 +1,9 @@
1
- - link_text: Accordion
2
- link_href: 'accordion'
1
+ - link_text: Academics
2
+ link_href: 'academics'
3
3
  image:
4
4
  source: 'assets/img/e-tech_a-roberts_mar2016_D41_6690.jpg'
5
5
  alt: 'Student working in an electrical technology lab'
6
6
  dropdown:
7
- - text: Register for Classes
8
- href: 'register'
9
7
  - text: Courses & Areas of Study
10
8
  href: 'courses'
11
9
  - text: Class Schedule
@@ -20,12 +18,16 @@
20
18
  href: 'commencement'
21
19
  - text: Final Exam Schedule
22
20
  href: 'final-exams'
21
+ - text: Register for Classes
22
+ href: 'register'
23
23
  - link_text: Admissions
24
24
  link_href: admissions
25
25
  image:
26
26
  source: 'assets/img/2016-senior-viewbook.jpg'
27
- alt: 'Take the first step to achieveing your goals, dreams & ambitions'
27
+ alt: 'Take the first step to achieving your goals, dreams & ambitions'
28
28
  dropdown:
29
+ - text: Placement Testing
30
+ href: 'testing'
29
31
  - text: Apply
30
32
  href: 'https://kccedu.force.com/portal/TX_SiteLogin?startURL=%2Fportal%2FTargetX_Base__Portal'
31
33
  - text: Request Information
@@ -34,10 +36,12 @@
34
36
  href: 'https://visit.kcc.edu'
35
37
  - text: Cav Day
36
38
  href: 'cav-day'
37
- - text: 'College Credit in High School'
38
- href: 'college-credit'
39
+ - text: 'Start in High School'
40
+ href: 'high-school'
41
+ - text: Veteran Services
42
+ href: 'veterans'
39
43
  - link_text: Tuition & Aid
40
- link_href: tuition-and-aid
44
+ link_href: 'tuition-and-aid'
41
45
  image:
42
46
  source: 'assets/img/fafsa-early-bird-banner-18.jpg'
43
47
  alt: 'The early bird gets the money. FAFSA available Oct. 1. Apply at fafsa.gov. More details and workshop info at www.kcc.edu/finaid'
@@ -47,50 +51,66 @@
47
51
  - text: Net Price Calculator
48
52
  href: 'net-price-calculator'
49
53
  - link_text: Student Resources
54
+ link_href: 'student-resources'
50
55
  image:
51
56
  source: 'assets/img/DSC_5650_helpful.jpg'
52
57
  alt: 'Receptionist answering the phone'
53
58
  dropdown:
54
- - text: Action
55
- href: '#'
56
- - text: Another action
57
- href: '#'
58
- - text: Another action
59
- href: '#'
60
- - text: Another action
61
- href: '#'
62
- - text: Another action
63
- href: '#'
64
- - text: dropdown-divider
65
- - text: Something else here
66
- href: '#'
59
+ - text: Bookstore
60
+ href: 'http://books.kcc.edu'
61
+ - text: Clubs & Organizations
62
+ href: 'clubs'
63
+ - text: Fitness Center
64
+ href: 'https://athletics.kcc.edu/facilities/fitness-center'
65
+ - text: Advising
66
+ href: 'advising'
67
+ - text: 'Counseling & Referral Services'
68
+ href: 'counseling-and-referral-services'
69
+ - text: Social Services
70
+ href: 'social-services'
71
+ - text: Disability Services
72
+ href: 'disability-services'
73
+ - text: Student Representatives
74
+ href: 'student-representatives'
75
+ - text: Student Complaint Policy
76
+ href: 'student-complaint-policy'
77
+ - text: Career Resources
78
+ href: 'career-resources'
79
+ - text: Food Pantry
80
+ href: 'food-pantry'
67
81
  - link_text: Community
82
+ link_href: 'community'
68
83
  image:
69
84
  source: 'assets/img/go_cavs_20171002_193828-web.jpg'
70
85
  alt: 'Group photo of students holding Cavalier signs'
71
86
  dropdown:
72
- - text: Action
73
- href: '#'
74
- - text: Another action
75
- href: '#'
76
- - text: Another action
77
- href: '#'
78
- - text: dropdown-divider
79
- - text: Something else here
80
- href: '#'
81
- - link_text: About
87
+ - text: Testing Services
88
+ href: 'testing-services'
89
+ - text: Continuing Education
90
+ href: 'https://continuinged.kcc.edu'
91
+ - text: Sustainability
92
+ href: 'sustainability'
93
+ - text: Speakers Bureau
94
+ href: 'speakers-bureau'
95
+ - text: Arts & Culture
96
+ href: 'arts-and-culture'
97
+ - link_text: About KCC
98
+ link_href: 'about'
82
99
  image:
83
100
  source: 'assets/img/ATEC-DSC_1033.jpeg'
84
101
  alt: 'The new Advanced Technology Education Center building'
85
102
  dropdown:
86
- - text: Action
87
- href: '#'
88
- - text: Another action
89
- href: '#'
90
- - text: Another action
91
- href: '#'
92
- - text: Another action
93
- href: '#'
94
- - text: dropdown-divider
95
- - text: Something else here
96
- href: '#'
103
+ - text: Newsroom
104
+ href: 'https://newsroom.kcc.edu'
105
+ - text: Leadership
106
+ href: 'leadership'
107
+ - text: 'Police & Safety'
108
+ href: 'police-and-safety'
109
+ - text: Human Resources
110
+ href: 'human-resources'
111
+ - text: ITS
112
+ href: 'its'
113
+ - text: Marketing
114
+ href: 'marketing'
115
+ - text: 'Institutional Effectiveness'
116
+ href: 'institutional-effectiveness'
@@ -1 +1 @@
1
- a6fa30efef31da95ac4e
1
+ cfc37d41b1592bfba0cc
@@ -4,13 +4,11 @@
4
4
  </div>
5
5
  </div>
6
6
  <div id="accordion" class="accordion">
7
- {% assign page_title = page.title | downcase | replace: ' ', '-'| replace: '&', 'and' %}
8
- {% assign site_categories = site.categories %}
9
- {% assign accordion_collection = site.accordions | sort: "order" %}
7
+ {% assign page_title = page.title %}
8
+ {% assign accordion_collection = site.accordions | where: "accordion_page", page_title | sort: "order" %}
10
9
  {% for item in accordion_collection %}
11
- {% if item.path contains page_title %}
12
10
  <div class="card">
13
- <div class="card-header accordion__padding-left" id="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
11
+ <div class="card-header px-0" id="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
14
12
  <h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
15
13
  <button class="btn btn-link buttons__no-decoration accordion__button{% if forloop.first != true %} collapsed{% endif %}{% if forloop.first == true and page.accordion_expanded == false %} collapsed{% endif %}" type="button" data-target="#{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}" data-toggle="collapse" aria-expanded="{% if forloop.first == true and page.accordion_expanded != false %}true{% else %}false{% endif %}" aria-controls="{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
16
14
  {{ item.card_heading }}
@@ -23,6 +21,5 @@
23
21
  </div>
24
22
  </div>
25
23
  </div>
26
- {% endif %}
27
24
  {% endfor %}
28
25
  </div>
@@ -1,8 +1,10 @@
1
- <!-- Custom CSS Stylesheet for CloudCannon -->
2
- <link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
3
- <!-- Uncomment to prevent IE-11 caching (for IE testing) -->
4
- <!-- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
5
- <META HTTP-EQUIV="Expires" CONTENT="-1"> -->
6
- </head>
7
- <body{% if page.homepage == true %} id="homePage"{% endif %}>
8
- <h1 class="sr-only">{% if page.outline_title %}{{ page.outline_title }}{% else %}{{ page.title }}{% endif %}</h1>
1
+ <!-- Custom CSS Stylesheet for CloudCannon -->
2
+ <link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
3
+ {%- comment -%}
4
+ <!-- Uncomment to prevent IE-11 caching (for IE testing) -->
5
+ <!-- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6
+ <META HTTP-EQUIV="Expires" CONTENT="-1"> -->
7
+ {% endcomment %}
8
+ </head>
9
+ <body{% if page.homepage == true %} id="homePage"{% endif %}>
10
+ <h1 class="sr-only">{%- if page.outline_title -%}{{ page.outline_title }}{% else %}{{ page.title }}{%- endif -%}</h1>
@@ -1,27 +1,26 @@
1
- <section>
2
- <div class="container">
3
- <div class="row">
4
- <div class="col margins__col--top section__heading-underline">
5
- <h3 class="typography__section--heading margins__heading--btm">{{ page.card_section }}</h3>
6
- </div>
7
- </div>
8
- <div class="row">
9
- {% for card in page.cards %}
10
- <div class="col-md-6 col-lg-4 text-center mx-auto card-section__col--margin-btm">
11
- <div class="mb-3">
12
- <a href="{{ card.link }}" class="links__block"><img alt="{{ card.thumb_alt_text }}" class="img-fluid rounded-circle w-50 img__shadow--border" src="{{ page.baseurl }}assets/img/kcc-placeholder-square.png" data-src="{{ page.baseurl }}{{ card.thumb }}" /></a>
13
- </div>
14
- <a class="links__no-underline" href="{{ card.link }}">
15
- <h4 class="typography__orange-h4">{{ card.name }}</h4>
16
- </a>
17
- <div class="row card-section__text-wrapper">
18
- <div class="col align-self-start">
19
- <p class="typography__p--bold">{{ card.description }}</p>
1
+ <section>
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col margins__col--top section__heading-underline">
5
+ <h3 class="typography__section--heading margins__heading--btm">{{ page.card_section }}</h3>
6
+ </div>
7
+ </div>
8
+ <div class="row">{% for card in page.cards %}
9
+ <div class="col-md-6 col-lg-4 text-center mx-auto card-section__col--margin-btm">
10
+ <div class="mb-3">
11
+ <a href="{{ card.link }}" class="links__block"><img alt="{{ card.thumb_alt_text }}" class="img-fluid rounded-circle w-50 img__shadow--border" src="{{ page.baseurl }}assets/img/kcc-placeholder-square.png" data-src="{{ page.baseurl }}{{ card.thumb }}" /></a>
12
+ </div>
13
+ <a class="links__no-underline" href="{{ card.link }}">
14
+ <h4 class="typography__orange-h4">{{ card.name }}</h4>
15
+ </a>
16
+ <div class="row card-section__text-wrapper">
17
+ <div class="col align-self-start">
18
+ <p class="typography__p--bold">{{ card.description }}</p>
19
+ </div>
20
+ </div>
21
+ <a href="{{ card.link }}" class="btn btn-primary">{{ card.button_text }}</a>
22
+ </div>
23
+ {%- endfor -%}
20
24
  </div>
21
25
  </div>
22
- <a href="{{ card.link }}" class="btn btn-primary">{{ card.button_text }}</a>
23
- </div>
24
- {% endfor %}
25
- </div>
26
- </div>
27
- </section>
26
+ </section>
@@ -1,67 +1,96 @@
1
- {% assign sorted_contacts = site.contacts | sort: "display_order" %}
2
- <section>
3
- <div class="container">
4
- <div class="row">
5
- <div class="col margins__col--top home__col--heading-underline">
6
- <h3 id="contact" class="typography__section--heading margins__heading--btm links__offset">Contacts</h3>
7
- </div>
8
- </div>
9
- <div class="row editor-link">
10
- <div class="col editor-link mb-3">
11
- <a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
12
- </div>
13
- </div>
14
- <div class="row">
15
- {% for contact in sorted_contacts %}
16
- {% assign contact_name = contact.name | split: " " %}
17
- {% assign first = contact_name[0] %}
18
- {% assign last = contact_name[1] %}
19
- {% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
20
- <div class="col-md-6 contacts__col-bottom-margin">
21
- <div class="row">
22
- <div class="col-4 contacts__col--img">
23
- <img src="assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="{{ contact.name }}" class="img-fluid contacts__portrait" />
1
+ {%- assign sorted_contacts = site.contacts | sort: "display_order" -%}
2
+ <section>
3
+ <div class="container">
4
+ <div class="row">
5
+ <div class="col mt-1 home__col--heading-underline">
6
+ <h3 id="contact" class="typography__section--heading margins__heading--btm links__offset">Contacts</h3>
7
+ </div>
24
8
  </div>
25
- <div class="col-8 float-right">
26
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
27
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
28
- <p class="notranslate">
29
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
30
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
31
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
32
- </p>
9
+ <div class="row editor-link">
10
+ <div class="col editor-link mb-3">
11
+ <a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
12
+ </div>
33
13
  </div>
34
- </div>
35
- </div>
36
- {% elsif contact.portrait == 'none' %}
37
- <div class="col-md-6 contacts__col-bottom-margin">
38
- <div class="row">
39
- <div class="col-4 contacts__col--img">
40
- <!-- No contact portrait -->
14
+ <div class="row">
15
+ {%- for contact in sorted_contacts -%}
16
+ {%- assign contact_name = contact.name | split: " " -%}
17
+ {%- assign first = contact_name[0] -%}
18
+ {%- assign last = contact_name[1] -%}
19
+ {% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
20
+ <div class="col-md-6 contacts__col-bottom-margin">
21
+ <div class="row">
22
+ <div class="col-4 contacts__col--img">
23
+ <img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="Photo of {{ contact.name }}" class="img-fluid contacts__portrait" />
24
+ </div>
25
+ <div class="col-8 float-right">
26
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
27
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
28
+ <p class="notranslate">
29
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
30
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
31
+ {%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
32
+ {%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
33
+ </p>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ {% elsif contact.portrait == 'none' %}
38
+ <div class="col-md-6 contacts__col-bottom-margin">
39
+ <div class="row">
40
+ <div class="col-4 contacts__col--img">
41
+ <!-- No contact portrait -->
42
+ </div>
43
+ <div class="col-8 float-right">
44
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
45
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
46
+ <p class="notranslate">
47
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
48
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
49
+ {%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
50
+ {%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
51
+ </p>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ {% else %}
56
+ <div class="col-sm-6 col-md-4 mb-3">
57
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
58
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
59
+ <p class="notranslate">
60
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
61
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
62
+ {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
63
+ {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
64
+ </p>
65
+ </div>
66
+ {%- endif -%}
67
+ {%- endfor -%}
41
68
  </div>
42
- <div class="col-8 float-right">
43
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
44
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
45
- <p class="notranslate">
46
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
47
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
48
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
49
- </p>
69
+ </div>
70
+ </section>
71
+ {% for contact in sorted_contacts %}
72
+ {%- if contact.bio == true -%}
73
+ <!-- Modal -->
74
+ <div class="modal fade" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}" tabindex="-1" aria-labelledby="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label" aria-hidden="true">
75
+ <div class="modal-dialog">
76
+ <div class="modal-content">
77
+ <div class="modal-header">
78
+ <h5 class="typography__h6" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label">{{ contact.name }} Bio</h5>
79
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
80
+ <span aria-hidden="true">&times;</span>
81
+ </button>
82
+ </div>
83
+ <div class="modal-body">
84
+ {% if contact.portrait %}<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" class="img-fluid float-left mr-2 mb-2" alt="Photo of {{ contact.name }} KCC's {{ contact.contacts_title }}">{% endif %}
85
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
86
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
87
+ {{ contact.content }}
88
+ </div>
89
+ <div class="modal-footer">
90
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
91
+ </div>
50
92
  </div>
51
93
  </div>
52
94
  </div>
53
- {% else %}
54
- <div class="col-sm-6 col-md-4 mb-3">
55
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
56
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
57
- <p class="notranslate">
58
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
59
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
60
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
61
- </p>
62
- </div>
63
- {% endif %}
64
- {% endfor %}
65
- </div>
66
- </div>
67
- </section>
95
+ {%- endif -%}
96
+ {% endfor %}
@@ -7,7 +7,15 @@
7
7
  <title>{{page.title}} - {{site.title}}</title>
8
8
  <meta name="description" content="{{page.description}}">
9
9
  <meta name="viewport" content="width=device-width, initial-scale=1">
10
- {% if site.humans_file == true %}<!-- The human's -->
11
- <link rel="author" type="text/plain" href="/humans.txt" />{% endif %}
10
+ <!-- ==============================
11
+ KCC GEM THEME
12
+ A Jekyll gem-based theme for Kankakee Community College's websites
13
+ Theme & theme's build-process coded and developed by Wesley Zajicek for KCC 2019-2020
14
+ Author: Wesley Zajicek | https://github.com/wdzajicek
15
+ -->
16
+ {% if site.humans_file == true %}
17
+ <!-- The human's, the human's!! -->
18
+ <link rel="author" type="text/plain" href="/humans.txt" />
19
+ {%- endif -%}
12
20
  <!-- Standard Favicon -->
13
- <link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico" />
21
+ <link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico"/>
@@ -1,29 +1,29 @@
1
- <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
2
- <!-- Alerts get built here via JS if they are set to be active -->
3
- {% comment %}
4
- <div class="container position__offset-alert">
5
- <div class="row">
6
- <div class="col">
7
- <div class="alert alert-warning">
8
- <p class="typography__alert mb-0"><strong>Alert</strong>:&nbsp;All KCC facilities will be closed March 18-30. Credit classes resume online March 23. <a href="https://coronavirus.kcc.edu/" target="_blank" rel="noopener noreferrer">coronavirus.kcc.edu</a> has&nbsp;details.</p>
1
+ <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
2
+ <!-- Alerts get built here via JS if they are set to be active -->
3
+ {%- comment -%}
4
+ <div class="container position__offset-alert">
5
+ <div class="row">
6
+ <div class="col">
7
+ <div class="alert alert-warning">
8
+ <p class="typography__alert mb-0"><strong>Alert</strong>:&nbsp;All KCC facilities will be closed March 18-30. Credit classes resume online March 23. <a href="https://coronavirus.kcc.edu/" target="_blank" rel="noopener noreferrer">coronavirus.kcc.edu</a> has&nbsp;details.</p>
9
+ </div>
10
+ </div>
9
11
  </div>
10
12
  </div>
13
+ {% endcomment %}
11
14
  </div>
12
- </div>
13
- {% endcomment %}
14
- </div>
15
- {% comment %}
15
+ {%- comment -%}
16
16
 
17
- <!-- TODO:
17
+ <!-- TODO:
18
18
 
19
- AFTER CORE IS LAUNCHED
19
+ AFTER CORE IS LAUNCHED
20
20
 
21
- REMOVE:
22
- ```
23
- {% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}
24
- ```
25
- (ALSO REMOVE FROM CONFIG)
21
+ REMOVE:
22
+ ```
23
+ {% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}
24
+ ```
25
+ (ALSO REMOVE FROM CONFIG)
26
26
 
27
- ENDTODO -->
27
+ ENDTODO -->
28
28
 
29
- {% endcomment %}
29
+ {%- endcomment -%}