landing-page-gem 1.2.5 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d59c2d5b97da17280f92525ce0dfc3193df87495476c71afc559abae35f3724
4
- data.tar.gz: fb83d29a8cf8066ab0d93fa3532f526dbf42d23ee28fac28792d486b35124707
3
+ metadata.gz: af816f6e212bce56d6724f643065fa9c9c44d62b36169fa99d9f07654e3bcc59
4
+ data.tar.gz: 757f5f12a9366092f10f5897a74b8b51e913b5395d2eea75d270b0df79cbed1d
5
5
  SHA512:
6
- metadata.gz: 53189052920056f166f3666d6104203723822043508531f5ab91334e1e5f5e3f6b6144b6c4bb02f95dd6065a6f98b224832129f714a00a33ac2f3a30026b6d45
7
- data.tar.gz: 8736d06cb46b29f77ee12e6c5c148a92bb412854eac51422121c11e6b5de6b0d140d14a4bb23b4366b2cd88eed414d087185445f1a0612928142db67374d97fe
6
+ metadata.gz: 9e7e015bc860fc03baec2bd1ea50123de9edf12463754e7c27184b64b5a220e2fd1de3cefd68313188a08678d3368b4086a345be4eb0a426b4117c0f5c5d23d1
7
+ data.tar.gz: 1a5e0c3c0093a2851f7a6a09eb58f47a096ab49312bb791b2ab543e29044cc4b70a8c539af0f3650f10ebaf2afa7b749add1e7741c60f5cb539f8bbffcf9948f
data/_config.yml CHANGED
@@ -59,3 +59,18 @@ compress_html:
59
59
  envs: ['development'] # Array of environments to not compress in (from JEKYLL_ENV)
60
60
  # startings: [head, body] # Array of elements with optional start tags
61
61
  # profile: true # Generate a table of compression/savings stats
62
+
63
+ # CloudCannon input configuration (see: https://cloudcannon.com/documentation/articles/configure-your-inputs/ for more info)
64
+ _inputs:
65
+ testimonials[*].portrait:
66
+ type: image
67
+ options:
68
+ height: 400
69
+ width: 400
70
+ testimonials[*].quote:
71
+ type: textarea
72
+ testimonials[*].name:
73
+ type: textarea
74
+ testimonials[*].year:
75
+ type: text
76
+ comment: Graduation year (e.g. '24)
@@ -2,7 +2,7 @@
2
2
  <div class="container">
3
3
  <div class="row">
4
4
  <div class="col text-center">
5
- <h5 class="text-center benefits__typography--h5 benefits__typography--h5--mb">Why Choose KCC?</h5>
5
+ <h5 class="text-center benefits__typography--h5 benefits__typography--h5--mb">{{ page.icon_section_heading }}</h5>
6
6
  </div>
7
7
  </div>
8
8
  <div class="row">
@@ -20,14 +20,18 @@
20
20
  {% include svg/love.html %}
21
21
  </div>
22
22
  <h6 class="benefits__typography--h6 text-center editable">Love What You Do</h6>
23
- <p class="text-center typography__larger-p">KCC has degree & certificate <strong>options to fit your interests</strong>. You can transfer after KCC to complete a bachelor’s degree, or enter the&nbsp;workforce.</p>
23
+ <div class="editable">
24
+ <p class="text-center typography__larger-p">KCC has degree & certificate <strong>options to fit your interests</strong>. You can transfer after KCC to complete a bachelor’s degree, or enter the&nbsp;workforce.</p>
25
+ </div>
24
26
  </div>
25
27
  <div class="col-12 col-md-4">
26
28
  <div class="text-center">
27
29
  {% include svg/goals.html %}
28
30
  </div>
29
31
  <h6 class="benefits__typography--h6 text-center editable">Reach Your Goals</h6>
30
- <p class="text-center typography__larger-p">We care about your progress and want you to succeed. KCC’s small class sizes, faculty and support services <strong>help you stay on track to&nbsp;graduate.</strong></p>
32
+ <div class="editable">
33
+ <p class="text-center typography__larger-p">We care about your progress and want you to succeed. KCC’s small class sizes, faculty and support services <strong>help you stay on track to&nbsp;graduate.</strong></p>
34
+ </div>
31
35
  </div>
32
36
  </div>
33
37
  </div>
@@ -37,39 +41,10 @@
37
41
  <div class="container">
38
42
  <div class="row">
39
43
  <div class="col">
40
- <h5 class="benefits__typography--h5 benefits__testimonials--mb text-center">What Our Students Say</h5>
41
- </div>
42
- </div>
43
- <div class="row">
44
- <div class="col-12 col-md-4 text-center">
45
- <img
46
- src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
47
- data-src="{{ page.baseurl }}assets/img/d-daun2.jpg"
48
- class="benefits__borders--circle-img img-fluid rounded-circle"
49
- height="284px"
50
- width="284px"
51
- alt="Photo of Debra Daun at graduation">
52
- </div>
53
- <div class="col-12 col-md-8 align-self-center">
54
- <p class="benefits__typography--student-p"><em>“I completed finals the week of my 60th birthday, something I am proud of. In 1980 I received a B.S. in Biology, but this Associate’s Degree in Computer Graphics Technology means even more to me. Each thing I have learned has made me that much more capable in today’s world, allowing me to find job opportunities that I couldn’t have taken advantage of before. KCC has made a huge difference in my life, both in learning and in the people I have come to know here.”</em></p>
55
- <span class="benefits__typography--img-cap">-&nbspDebra A. Daun, Class of 2018</span>
56
- </div>
57
- </div>
58
- <div class="row benefits__row--pad">
59
- <div class="col-12 col-md-8 order-2 order-md-1 align-self-center">
60
- <p class="benefits__typography--student-p"><em>“I’m the first one in my family to graduate. The professors would take their time to know you. That’s what I really liked about this. It was smaller....everybody knows you here. I really liked KCC. I’m really excited to see where this takes me next.”</em></p>
61
- <span class="benefits__typography--img-cap">-&nbsp;Miguel Angel Diaz Ramirez, Class of 2018</span>
62
- </div>
63
- <div class="col-12 col-md-4 text-center order-1 order-md-2">
64
- <img
65
- src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
66
- data-src="{{ page.baseurl }}assets/img/miguel2.jpg"
67
- class="benefits__borders--circle-img img-fluid rounded-circle"
68
- height="284px"
69
- width="284px"
70
- alt="Photo of Miguel Angel Diaz Ramirez at graduation">
44
+ <h5 class="benefits__typography--h5 benefits__testimonials--mb text-center">{{ page.testimonials_heading }}</h5>
71
45
  </div>
72
46
  </div>
47
+ {% include testimonials-template.html %}
73
48
  </div>
74
49
  </section>
75
50
 
@@ -0,0 +1,55 @@
1
+ {% for item in page.testimonials %}
2
+ {% assign first_char = item.portrait | slice: 0 %}
3
+ {% if first_char == '/' %}
4
+ {% assign image = item.portrait | remove_first: '/' %}
5
+ {% else %}
6
+ {% assign image = item.portrait %}
7
+ {% endif %}
8
+ {% if item.portrait_alt_text %}
9
+ {% assign alt_text = item.portrait_alt_text %}
10
+ {% else %}
11
+ {% assign alt_text = item.name %}
12
+ {% endif %}
13
+ {% capture even_odd_cycle %}{% cycle 'odd', 'even' %}{% endcapture %}
14
+ {% if even_odd_cycle == 'odd' %}
15
+ <div class="row{% if forloop.first != true %} benefits__row--pad{% endif %} mb-5 mb-lg-0">
16
+ <div class="col-12 col-md-4 text-center my-auto">
17
+ <img
18
+ src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
19
+ data-src="{{ page.baseurl }}{{ image }}"
20
+ class="benefits__borders--circle-img img-fluid rounded-circle"
21
+ height="284px"
22
+ width="284px"
23
+ alt="{{ alt_text }}">
24
+ </div>
25
+ <div class="col-12 col-md-8 align-self-center">
26
+ <p class="benefits__typography--student-p">
27
+ <em>
28
+ &ldquo;{{ item.quote }}&rdquo;
29
+ </em>
30
+ </p>
31
+ <span class="benefits__typography--img-cap ms-4">&mdash;&nbsp;{{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
32
+ </div>
33
+ </div>
34
+ {% else %}
35
+ <div class="row benefits__row--pad mb-5 mb-lg-0">
36
+ <div class="col-12 col-md-8 order-2 order-md-1 align-self-center">
37
+ <p class="benefits__typography--student-p">
38
+ <em>
39
+ &ldquo;{{ item.quote }}&rdquo;
40
+ </em>
41
+ </p>
42
+ <span class="benefits__typography--img-cap ms-4">&mdash;&nbsp;{{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
43
+ </div>
44
+ <div class="col-12 col-md-4 text-center order-1 order-md-2 my-auto">
45
+ <img
46
+ src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
47
+ data-src="{{ page.baseurl }}{{ image }}"
48
+ class="benefits__borders--circle-img img-fluid rounded-circle"
49
+ height="284px"
50
+ width="284px"
51
+ alt="{{ alt_text }}">
52
+ </div>
53
+ </div>
54
+ {% endif %}
55
+ {% endfor %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landing-page-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
11
+ date: 2025-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -70,6 +70,7 @@ files:
70
70
  - _includes/svg/save-money.html
71
71
  - _includes/targetx-form.html
72
72
  - _includes/targetx-head.html
73
+ - _includes/testimonials-template.html
73
74
  - _layouts/compress.html
74
75
  - _layouts/landing.html
75
76
  - assets/img/DSC_8724_4x3.jpg