kcc-gem-theme 0.7.26 → 0.7.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contacts.html +36 -0
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c699555db3075fed815e052315a652a5504304cf13ebe03ab58e91dcae9796d
4
- data.tar.gz: 527dab49302509cdc4a7c105d5a39394a39001ae1fc33027f3f453968cef6a65
3
+ metadata.gz: 222a11d258d5af6021146a86f4911084696594fe399479f0c972fb84a9c9047a
4
+ data.tar.gz: 83e56bf14921837a12d47ad92db6d619ef6e7361de5772f335751bc851781097
5
5
  SHA512:
6
- metadata.gz: e178abb997d1dca3005214a7cc2c66b7c77981b6c164803ab5791efb7935bc8d1118610c0349c23048a1b2cec730858b82adbc46dcc77f8107fca3e7e2dec1b7
7
- data.tar.gz: 0e1623fa189744fb56fd4b94a60a85387e26ba83c9e2cad430a74d7c1512eae8310954326dd322c561f8cf701a4fad0e766d8bffe8c3829f5d5ac037ba63fe83
6
+ metadata.gz: b85474675918abc113dc356ebee7fc426cb24bc44d76744ce203877858b38a2eb4078b6665e90def9788741116fad283bf92f15655904d4af718e0f33ea707de
7
+ data.tar.gz: a3a79d13087cb2ba9267f48c0fe9a787a52de11bc0a843beb57869ea96fde66113570b05cc55869db34d1b7896afc17da1ef746a5e097496a8e4349900ac66ac
@@ -0,0 +1,36 @@
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 class="typography__section--heading margins__heading--btm">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
+ <div class="col-md-6 contacts__col-bottom-margin">
20
+ <div class="row">
21
+ <div class="col-4 contacts__col--img">
22
+ <img src="uploads/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="{{ contact.name }}" class="img-fluid contacts__portrait modal-link" />
23
+ </div>
24
+ <div class="col-8 float-right">
25
+ <h5 class="typography__contacts--name">{{ contact.name }}</h5>
26
+ <h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>
27
+ <p>
28
+ <a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>
29
+ <a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first | downcase }}&amp;to[last]={{ last | downcase }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ {% endfor %}
34
+ </div>
35
+ </div>
36
+ </section>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.26
4
+ version: 0.7.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
@@ -65,6 +65,7 @@ files:
65
65
  - _includes/benefits.html
66
66
  - _includes/body.html
67
67
  - _includes/bottom-action-call.html
68
+ - _includes/contacts.html
68
69
  - _includes/document-head.html
69
70
  - _includes/foot.html
70
71
  - _includes/footer.html