Skip to content

Commit f72caa7

Browse files
Compress and scale images used by Banner module. Change ACTIVECLASS to ACTIVE-CLASS.
1 parent 79b38e8 commit f72caa7

14 files changed

+22
-18
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There's a set of starter files for modules at [app/modules-starter/][4]. You can
1616

1717
Other than Pipsqueak’s logo, Code Modules is open source under the MIT license.
1818

19-
Below are just the notes for the Sample Website. The links above should be of more interest.
19+
Below are just the notes for the creation of the Sample Website. The links above should be of more interest.
2020

2121

2222

@@ -355,6 +355,10 @@ _Begin Date - 2021-09-06_
355355
_Begin Date - 2021-09-07_
356356

357357
* Open GitHub repo.
358+
* Change ACTIVECLASS variable to ACTIVE-CLASS.
359+
* Banner module is using images from originals/ subfolder.
360+
* Compress and scale images
361+
* Use new image names in Banner module items.
358362
* Code Modules is released.
359363

360364

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!-- #bbinclude "templates/#TEMPLATE#.shtml"
22
#bbincludeoptions#="inline=true"
33
#MODULE# = "banner"
4-
#ACTIVECLASS# = ''
5-
#IMAGE-PATH# = '/images/slides/originals'
4+
#ACTIVE-CLASS# = ''
5+
#IMAGE-PATH# = '/images/slides'
66
#ID# = 'carouselBanner'
77
-->
88
<!-- end bbinclude -->

app/modules/markup/banner/items/blue-fiber-optic.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#TITLE# = 'Plumb Your Tech'
44
#DESCRIPTION# = 'Pipe Your Data Throughout Your Website Using Code Modules'
55
#ALT-TITLE# = 'Blue Fiber Optic Strands by JJ Ying via Unsplash'
6-
#IMAGE# = '2020-08-17-Blue_Fiber_Optic_Strands-by_JJ_Ying_via_Unsplash-iPhoneSE-RCV-4032x3024.jpg'
6+
#IMAGE# = '2020-08-17-Blue_Fiber_Optic_Strands-by_JJ_Ying_via_Unsplash-iPhoneSE-scaled-40-2500x1875.jpg'
77
#ATTRIBUTION# = 'Blue Fiber Optic Strands by JJ Ying - jj-ying-8bghKxNU1j0-unsplash.jpg'
88
-->
99
<!-- end bbinclude -->

app/modules/markup/banner/items/camera-and-lenses.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#TITLE# = 'Systematize Your Markup'
44
#DESCRIPTION# = 'Plug In Modules to All of Your Web Pages'
55
#ALT-TITLE# = 'Camera and Lenses by Lucas Favre via Unsplash'
6-
#IMAGE# = '2018-05-15-Camera_Gear_Layout-by_Lucas_Favre_via_Unsplash-Sony_ILCE_6000-cropped-no_meta-scaled-UNC-2500x2003.jpg'
6+
#IMAGE# = '2018-05-15-Camera_Gear_Layout-by_Lucas_Favre_via_Unsplash-Sony_ILCE_6000-cropped-no_meta-scaled-40-2500x2011.jpg'
77
#ATTRIBUTION# = 'Camera Gear Layout by Lucas Favre via Unsplash'
88
-->
99
<!-- end bbinclude -->

app/modules/markup/banner/items/laptop.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#TITLE# = 'Play the 2001 Theme Music'
44
#DESCRIPTION# = 'Isolate Your Data Through Module Encapsulation'
55
#ALT-TITLE# = 'Laptop Opening by Ales Nesetril via Unsplash'
6-
#IMAGE# = '2018-07-11-Laptop-by_Ales_Nesetril_via_Unsplash-EOS_70D-RCV-4846x3431.jpg'
6+
#IMAGE# = '2018-07-11-Laptop-by_Ales_Nesetril_via_Unsplash-EOS_70D-scaled-40-2500x1770.jpg'
77
#ATTRIBUTION# = 'Laptop by Ales Nesetril - ales-nesetril-Im7lZjxeLhg-unsplash.jpg'
88
-->
99
<!-- end bbinclude -->

app/modules/markup/banner/items/plasma-ball.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#TITLE# = 'Orb of Power'
44
#DESCRIPTION# = 'Feel Module Power Coursing Through Your Workflow'
55
#ALT-TITLE# = 'Orb of Power by Ramón Salinero via Unsplash'
6-
#IMAGE# = '2017-05-29-Orb_of_Power-Human_Hand_Holding_Plasma_Ball-by_Ramon_Salinero_via_Unsplash-EOS_700D-RCV-5184x3456.jpg'
6+
#IMAGE# = '2017-05-29-Orb_of_Power-Human_Hand_Holding_Plasma_Ball-by_Ramon_Salinero_via_Unsplash-EOS_700D-scaled-40-2500x1666.jpg'
77
#ATTRIBUTION# = 'Orb of Power - ramon-salinero-vEE00Hx5d0Q-unsplash.jpg'
88
-->
99
<!-- end bbinclude -->

app/modules/markup/banner/lists/default.shtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- #bbinclude "/markup/#MODULE#/items/plasma-ball.shtml"
22
#bbincludeoptions#="inline=true"
33
#ORDER# = '0'
4-
#ACTIVECLASS# = 'active'
4+
#ACTIVE-CLASS# = 'active'
55
-->
66
<!-- end bbinclude -->
77
<!-- #bbinclude "/markup/#MODULE#/items/laptop.shtml"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#INDENT#<li data-target="##ID#" data-slide-to="#ORDER#" class="#ACTIVECLASS#"></li>
1+
#INDENT#<li data-target="##ID#" data-slide-to="#ORDER#" class="#ACTIVE-CLASS#"></li>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<div class="carousel-item #ACTIVECLASS#" style="background-image: url('#IMAGE-PATH#/#IMAGE#')">
1+
<div class="carousel-item #ACTIVE-CLASS#" style="background-image: url('#IMAGE-PATH#/#IMAGE#')">
22
<div class="carousel-caption d-none d-md-block">
Loading

0 commit comments

Comments
 (0)