landing-page-gem 1.2.5 → 1.2.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d59c2d5b97da17280f92525ce0dfc3193df87495476c71afc559abae35f3724
4
- data.tar.gz: fb83d29a8cf8066ab0d93fa3532f526dbf42d23ee28fac28792d486b35124707
3
+ metadata.gz: 75364795ac627f4e3c8c07bdfc12f874b2f6a967d48167b1d96189457bdd5bcf
4
+ data.tar.gz: 3836243b47a65da679813bf96464cdab928e28c5719da415be24c812eed2d7a5
5
5
  SHA512:
6
- metadata.gz: 53189052920056f166f3666d6104203723822043508531f5ab91334e1e5f5e3f6b6144b6c4bb02f95dd6065a6f98b224832129f714a00a33ac2f3a30026b6d45
7
- data.tar.gz: 8736d06cb46b29f77ee12e6c5c148a92bb412854eac51422121c11e6b5de6b0d140d14a4bb23b4366b2cd88eed414d087185445f1a0612928142db67374d97fe
6
+ metadata.gz: 6bf52aabfb134989dba2bf21a5313f2285b9d54047e43fde074d40d16ac39231dea45b8bc47660d960295c702f97e73cecae262680a07afe632560eafac52e3d
7
+ data.tar.gz: d5637ccb21226f6bc9c4851feab90828f26c30ddb7687299daf99f3040f961262d49070276617325fa4e749ff53103eeb0148c45d758d63d01cb065650e187df
data/_config.yml CHANGED
@@ -59,3 +59,17 @@ 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
+ _inputs:
64
+ testimonials[*].portrait:
65
+ type: image
66
+ options:
67
+ height: 400
68
+ width: 400
69
+ testimonials[*].quote:
70
+ type: textarea
71
+ name:
72
+ type: text
73
+ testimonials[*].year:
74
+ type: text
75
+ 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,50 @@
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
+ {% capture even_odd_cycle %}{% cycle 'odd', 'even' %}{% endcapture %}
9
+ {% if even_odd_cycle == 'odd' %}
10
+ <div class="row{% if forloop.first != true %} benefits__row--pad{% endif %} mb-5 mb-lg-0">
11
+ <div class="col-12 col-md-4 text-center my-auto">
12
+ <img
13
+ src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
14
+ data-src="{{ page.baseurl }}{{ image }}"
15
+ class="benefits__borders--circle-img img-fluid rounded-circle"
16
+ height="284px"
17
+ width="284px"
18
+ alt="{{ item.name }}">
19
+ </div>
20
+ <div class="col-12 col-md-8 align-self-center">
21
+ <p class="benefits__typography--student-p">
22
+ <em>
23
+ &ldquo;{{ item.quote }}&rdquo;
24
+ </em>
25
+ </p>
26
+ <span class="benefits__typography--img-cap ms-4">&mdash;&nbsp;{{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
27
+ </div>
28
+ </div>
29
+ {% else %}
30
+ <div class="row benefits__row--pad mb-5 mb-lg-0">
31
+ <div class="col-12 col-md-8 order-2 order-md-1 align-self-center">
32
+ <p class="benefits__typography--student-p">
33
+ <em>
34
+ &ldquo;{{ item.quote }}&rdquo;
35
+ </em>
36
+ </p>
37
+ <span class="benefits__typography--img-cap ms-4">&mdash;&nbsp;{{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
38
+ </div>
39
+ <div class="col-12 col-md-4 text-center order-1 order-md-2 my-auto">
40
+ <img
41
+ src="{{ page.baseurl }}assets/img/placeholder_square.jpg"
42
+ data-src="{{ page.baseurl }}{{ image }}"
43
+ class="benefits__borders--circle-img img-fluid rounded-circle"
44
+ height="284px"
45
+ width="284px"
46
+ alt="{{ item.name }}">
47
+ </div>
48
+ </div>
49
+ {% endif %}
50
+ {% 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.6
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