j1-template 2024.3.27 → 2024.3.28
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 +4 -4
- data/assets/data/banner.html +3 -1
- data/assets/theme/j1/adapter/js/masonry.js +6 -8
- data/assets/theme/j1/core/js/template.js +28 -1
- data/assets/theme/j1/core/js/template.min.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +4 -2
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +6 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +113 -76
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -2
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +6 -3
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.js +21 -6
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +29 -18
- data/lib/starter_web/_data/blocks/panel.yml +79 -124
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +2 -2
- data/lib/starter_web/_data/modules/gallery.yml +145 -19
- data/lib/starter_web/_data/modules/masonry.yml +9 -10
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +2 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/nick-fewings.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/no-revisions.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/wolfgang-weiser.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/example-content-1280x800.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/google-lighthouse-1080x300.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/google-lighthouse-scores.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/master-header-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/nav-module-1280x300.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/teaser-banner-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/tts-1280x500.jpg +0 -0
- data/lib/starter_web/assets/video/tracks/html5/peck_pocketed/captions/video.vtt +2 -3
- data/lib/starter_web/assets/video/tracks/html5/peck_pocketed/chapters/video.vtt +4 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +18 -20
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +6 -7
- data/lib/starter_web/collections/posts/public/featured/_posts/{2023-10-18-url-types.adoc → 2022-10-18-url-types.adoc} +7 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/{2021-02-01-static-site-generators.adoc → 2023-02-01-static-site-generators.adoc} +5 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/{2022-02-01-about-j1.adoc → 2024-02-01-about-j1.adoc} +4 -5
- data/lib/starter_web/index.html +17 -73
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/features/{general.adoc → core-features.adoc} +92 -47
- data/lib/starter_web/pages/public/features/{template.adoc → theme-features.adoc} +313 -195
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +10 -15
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +43 -2
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -21
- data/lib/starter_web/pages/public/tour/audio_data.adoc +2 -2
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/tour/image_data.adoc +138 -234
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/tour/video_data.adoc +74 -85
- metadata +12 -9
- data/lib/starter_web/assets/image/module/attic/cookies-1920x1200.jpg +0 -0
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +0 -126
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
title: J1 SwiperJS
|
2
|
+
title: J1 SwiperJS App
|
3
3
|
title_extention: Selected Examples
|
4
4
|
tagline: Selected Examples
|
5
5
|
date: 2025-02-10
|
@@ -78,7 +78,6 @@ devices. SwiperJS-based sliders are intended to be displayed at their best on
|
|
78
78
|
all types of websites, such as those viewed on desktop computers, tablets, or
|
79
79
|
smartphones.
|
80
80
|
|
81
|
-
|
82
81
|
[role="mt-4"]
|
83
82
|
== What SwiperJS Apps are
|
84
83
|
|
@@ -201,7 +200,7 @@ used on *desktop* computers.
|
|
201
200
|
|
202
201
|
This Thumb Slider uses minified images that are placed to control the (main)
|
203
202
|
slider at the *top* or the *bottom*. This swiper type creates a thumbed Swiper
|
204
|
-
that uses *two
|
203
|
+
that uses *two lines*, which takes up a *lot of space* but can render the
|
205
204
|
sliders' images *optimally*.
|
206
205
|
|
207
206
|
.Extendend Swiper · Layout Thumb Top
|
@@ -214,13 +213,13 @@ swiper::thumb_slider_top[role="mb-5"]
|
|
214
213
|
|
215
214
|
A more **mobile**-friendly version of a Thunb slider is created by placing the
|
216
215
|
minified images for the slider side-by-side on the *right* or the *left*. This
|
217
|
-
swiper use just a *single
|
218
|
-
as required for the
|
216
|
+
swiper use just a *single line* in the page, but *minifies* the presented images
|
217
|
+
as required for the line *heigth* specified.
|
219
218
|
|
220
219
|
[role="mb-5"]
|
221
220
|
[TIP]
|
222
221
|
====
|
223
|
-
Adding a *Lightbox* to a *single-
|
222
|
+
Adding a *Lightbox* to a *single-line* swiper allows users to *enlarge* the
|
224
223
|
presented *images*.
|
225
224
|
====
|
226
225
|
|
@@ -404,15 +403,11 @@ swiper::neighbor_slider[role="mb-5"]
|
|
404
403
|
[role="mt-5"]
|
405
404
|
==== Layout Panorama
|
406
405
|
|
407
|
-
The layout
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
====
|
413
|
-
The effect is great for slides connected in terms of content to give the user
|
414
|
-
a panoramic view impression.
|
415
|
-
====
|
406
|
+
The *Panorama* layout in SwiperJS sliders is used to create a 3D-like
|
407
|
+
panoramic effect, where the slides are animated as they swipe, creating
|
408
|
+
a continuous, curved panorama. The layout creates an immersive sense of
|
409
|
+
depth and movement, which is especially beneficial when presenting wide
|
410
|
+
images, landscapes, or other visual content with a large aspect ratio.
|
416
411
|
|
417
412
|
.Extendend Swiper · Layout Panorama
|
418
413
|
swiper::swiper_image_panorama[role="mt-4 mb-5"]
|
@@ -49,10 +49,10 @@ resource_options:
|
|
49
49
|
|
50
50
|
// Attribute settings for section control
|
51
51
|
//
|
52
|
-
:videojs--youtube-video:
|
52
|
+
:videojs--youtube-video: true
|
53
53
|
:videojs--masonry: false
|
54
54
|
:videojs--local-video: true
|
55
|
-
:videojs--over-youtube:
|
55
|
+
:videojs--over-youtube: false
|
56
56
|
|
57
57
|
// Set (local) page attributes here
|
58
58
|
// -----------------------------------------------------------------------------
|
@@ -79,6 +79,43 @@ or Dailymotion, for presenting videos *online*.
|
|
79
79
|
// Include sub-documents (if any)
|
80
80
|
// -----------------------------------------------------------------------------
|
81
81
|
|
82
|
+
// .Vimeo Video · The Present
|
83
|
+
// // 137221158 152985022
|
84
|
+
// ++++
|
85
|
+
// <iframe
|
86
|
+
// width="930" height="640"
|
87
|
+
// src="https://player.vimeo.com/video/152985022"
|
88
|
+
// frameborder="0"
|
89
|
+
// allowfullscreen>
|
90
|
+
// </iframe>
|
91
|
+
// ++++
|
92
|
+
|
93
|
+
|
94
|
+
// .Dailymotion Video · Blödsinn
|
95
|
+
// // x7vn9g2
|
96
|
+
// ++++
|
97
|
+
// <iframe
|
98
|
+
// width="930" height="640"
|
99
|
+
// src="https://www.dailymotion.com/embed/video/x8oz6w2"
|
100
|
+
// frameborder="0"
|
101
|
+
// allowfullscreen>
|
102
|
+
// </iframe>
|
103
|
+
// ++++
|
104
|
+
|
105
|
+
|
106
|
+
// .Wistia Video · Blödsinn
|
107
|
+
// ++++
|
108
|
+
// <iframe
|
109
|
+
// width="930" height="640"
|
110
|
+
// src="https://fast.wistia.net/embed/iframe/zs8hlyi5xz"
|
111
|
+
// allowtransparency="true"
|
112
|
+
// frameborder="0"
|
113
|
+
// scrolling="no"
|
114
|
+
// class="wistia_embed" name="wistia_embed"
|
115
|
+
// allowfullscreen>
|
116
|
+
// </iframe>
|
117
|
+
// ++++
|
118
|
+
|
82
119
|
ifeval::[{videojs--local-video} == true]
|
83
120
|
[role="mt-5"]
|
84
121
|
== Local Video
|
@@ -113,6 +150,10 @@ The module combinati0n makes creating a gallery to access videos easy.
|
|
113
150
|
|
114
151
|
.YouTube Video · justifiedGallery + LightGallery
|
115
152
|
gallery::jg_video_youtube_james_and_adele[role="mb-4"]
|
153
|
+
|
154
|
+
|
155
|
+
.NPR Tiny Desk Concerts · Latin
|
156
|
+
gallery::tdc_latin[role="mb-5"]
|
116
157
|
endif::[]
|
117
158
|
|
118
159
|
|
@@ -797,26 +797,18 @@ include::{documentdir}/100_gistblock.asciidoc[]
|
|
797
797
|
[role="mt-5"]
|
798
798
|
== What next
|
799
799
|
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
J1 Template supports a rich set of *advanced Bootstrap Modals* that add
|
813
|
-
dialogs to your web pages for user notifications. The advanced Modals
|
814
|
-
highlight important information to your visitors. The dialogs are positioned
|
815
|
-
over everything else in the document so that messages get the full user's
|
816
|
-
attention.
|
800
|
+
Bootstrap is a helpful framework that offers a complete set of styles to
|
801
|
+
create excellent responsive designs. In the sense that all can be improved,
|
802
|
+
responsive tables supported by Bootstrap should get some enhancement to
|
803
|
+
display on low-resolution devices or smaller window sizes better.
|
804
|
+
|
805
|
+
The theme Jekyll One supports a new design for responsive tables but based
|
806
|
+
on Bootstrap. The approach used by J1 Template is based on CSS styles on
|
807
|
+
top of the classic Bootstrap tags for simplicity and portability to be viewed
|
808
|
+
best on all devices and browsers. Responsive tables help to read this
|
809
|
+
important information on mobiles a lot - this feature is what is meant to be
|
810
|
+
fully responsive!
|
817
811
|
|
818
812
|
[role="mb-7"]
|
819
|
-
|
820
|
-
link:{url-tour--
|
821
|
-
the possibilities of the *extended* Bootstrap features provided by J1 Template
|
822
|
-
for your new website.
|
813
|
+
Check out from here what
|
814
|
+
link:{url-tour--responsive-tables}[Responsive Tables] can do.
|
@@ -753,4 +753,4 @@ Asciidoc block elements. I'm sure, you'll love it.
|
|
753
753
|
|
754
754
|
[role="mb-7"]
|
755
755
|
Check the more J1 Template offer and go for
|
756
|
-
link:{url-tour--asciidoc-extensions}[Asciidoc Extensions] made for J1
|
756
|
+
link:{url-tour--asciidoc-extensions}[Asciidoc Extensions] made for J1.
|