jekyll-theme-zer0 0.22.0 → 0.22.5

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: ce41ce999bd5b54f7cfcac020229d628824553947a7afb5b06d7c4b4b70a8359
4
- data.tar.gz: 8aa1e03d1a80f7e3dbd4e48bd60b6032f9b92937b2d4b6659917d5be1450dd4a
3
+ metadata.gz: eac91220efeb718a11a68d175f397e3bdf908d3864d7d25aaf0bc7ed12ab9221
4
+ data.tar.gz: d14789dfa2b994ddf8e710293df339868efa0f76717eafeef872eb8ed38b2724
5
5
  SHA512:
6
- metadata.gz: 294d8297f16eb43703c573cfb7fc731d27ef2927062873653899c19e72866c1fec39d9844c5706458705dafa04621d431c06284582a113fb310cebf18cc85585
7
- data.tar.gz: '0299069c10c3fa32846c4879f4accc6ac555998c36fd8f9cffca821090839743301469d1894cc79b3bcb9f3b1c127bd1497335b3c3e6b17390235b15e7390be8'
6
+ metadata.gz: dac3337f672daa444e6994c53ef642ae0d6d9d90084743b2f8164ecfbb357c741caf4de88546af9747b22b6b2d37ba0fba26809f6ec2585010adbf260c16c5e0
7
+ data.tar.gz: 32e504a5639fc44a4e400e97f1c02d723f4c7ca40881b5e1b0aeec8da19feae343c11acdcc751d51d41fe2b3462fab13e9b0a0ac23f95f016a3cc47013a522e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.5] - 2026-04-03
4
+
5
+ ### Changed
6
+ - **CI**: Streamlined `ci.yml` — added path-based change detection to skip heavy jobs on docs-only PRs, removed scheduled cron runs and `comprehensive` test scope
7
+ - **CI**: Simplified `codeql.yml` workflow
8
+ - **CI**: Added `test-latest.yml` for latest dependency testing
9
+ - **CI**: Removed redundant summary job from `release.yml`
10
+ - **CI**: Simplified `version-bump.yml`
11
+ - **Docs**: Updated `.github/workflows/README.md` and `.github/actions/README.md`
12
+
13
+ ### Removed
14
+ - **CI**: Removed `.github/actions/prepare-release/action.yml` composite action
15
+
16
+ ## [0.22.4] - 2026-04-03
17
+
18
+ ### Changed
19
+ - Version bump: patch release
20
+
21
+ ### Commits in this release
22
+ - 9c56fe0 Review article: fix front matter and expand content for wizard-topples post (#47)
23
+
24
+
25
+ ## [0.22.3] - 2026-04-02
26
+
27
+ ### Changed
28
+ - Version bump: patch release
29
+
30
+ ### Commits in this release
31
+ - 059244d fix(landing): stabilize hero layout and scroll animations (#44)
32
+
33
+
34
+ ## [0.22.2] - 2026-04-02
35
+
36
+ ### Changed
37
+ - Version bump: patch release
38
+
39
+ ### Commits in this release
40
+ - a9b8daf docs(prompts): update commit-publish workflow with PR branching and CI fix guidance
41
+
42
+
43
+ ## [0.22.1] - 2026-04-02
44
+
45
+ ### Changed
46
+ - Version bump: patch release
47
+
48
+ ### Commits in this release
49
+ - a82f670 chore(ci): update Gemfile.lock to v0.22.0 and upgrade actions/checkout to v5
50
+
51
+
3
52
  ## [0.22.0] - 2026-04-01
4
53
 
5
54
  ### Added
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  title: zer0-mistakes
3
3
  sub-title: Jekyll Theme
4
4
  description: GitHub Pages compatible Jekyll theme with Bootstrap 5.3, featuring automated installation and comprehensive documentation.
5
- version: 0.21.6
5
+ version: 0.22.4
6
6
  layout: landing
7
7
  tags:
8
8
  - jekyll
@@ -14,7 +14,7 @@ categories:
14
14
  - docker
15
15
  - bootstrap
16
16
  created: 2024-02-10T23:51:11.480Z
17
- lastmod: 2026-03-30T15:07:00.000Z
17
+ lastmod: 2026-04-03T04:14:02.000Z
18
18
  draft: false
19
19
  permalink: /
20
20
  slug: zer0
@@ -742,7 +742,7 @@ git push origin feature/awesome-feature
742
742
 
743
743
  | Metric | Value |
744
744
  |--------|-------|
745
- | **Current Version** | 0.21.6 ([RubyGems](https://rubygems.org/gems/jekyll-theme-zer0), [CHANGELOG](/CHANGELOG)) |
745
+ | **Current Version** | 0.22.4 ([RubyGems](https://rubygems.org/gems/jekyll-theme-zer0), [CHANGELOG](/CHANGELOG)) |
746
746
  | **Documented Features** | 43 ([Feature Registry](https://github.com/bamr87/zer0-mistakes/blob/main/_data/features.yml)) |
747
747
  | **Setup Time** | 2-5 minutes ([install.sh benchmarks](https://github.com/bamr87/zer0-mistakes/blob/main/install.sh)) |
748
748
  | **Documentation Pages** | 70+ ([browse docs](/pages/)) |
@@ -785,6 +785,6 @@ Built with these amazing technologies:
785
785
 
786
786
  **Built with ❤️ for the Jekyll community**
787
787
 
788
- **v0.21.6** • [Changelog](CHANGELOG.md) • [License](LICENSE) • [Contributing](CONTRIBUTING.md)
788
+ **v0.22.4** • [Changelog](CHANGELOG.md) • [License](LICENSE) • [Contributing](CONTRIBUTING.md)
789
789
 
790
790
 
@@ -47,13 +47,13 @@ layout: root
47
47
  <!-- ================================ -->
48
48
  <!-- HERO SECTION -->
49
49
  <!-- ================================ -->
50
- <div class="bg-primary text-white position-relative overflow-hidden">
50
+ <div class="bg-primary text-white position-relative overflow-hidden landing-hero">
51
51
  <div class="container-xl py-5 px-4 px-md-5">
52
52
  <div class="row align-items-center min-vh-50 g-4 g-lg-5">
53
- <div class="col-lg-6 order-1">
54
- <h1 class="display-4 fw-bold mb-3 animate-on-scroll">{{ page.title }}</h1>
55
- <p class="lead mb-4 animate-on-scroll" style="animation-delay: 0.1s;">{{ page.description }}</p>
56
- <div class="d-flex flex-column flex-md-row gap-3 animate-on-scroll" style="animation-delay: 0.2s;">
53
+ <div class="col-lg-6 order-1 landing-hero-copy">
54
+ <h1 class="display-4 fw-bold mb-3">{{ page.title }}</h1>
55
+ <p class="lead mb-4">{{ page.description }}</p>
56
+ <div class="d-flex flex-column flex-md-row gap-3 flex-wrap">
57
57
  <a href="#get-started" class="btn btn-light btn-lg">
58
58
  <i class="bi bi-rocket-takeoff me-2"></i>Get Started
59
59
  </a>
@@ -67,11 +67,25 @@ layout: root
67
67
  </div>
68
68
  <div class="col-lg-6 text-center order-2">
69
69
  {% if page.hero_image %}
70
- <img src="{{ page.hero_image }}" alt="{{ page.title }}" class="img-fluid rounded shadow-lg animate-on-scroll" loading="eager" style="animation-delay: 0.3s;">
70
+ <div class="landing-hero-media ratio ratio-4x3 mx-auto shadow-lg rounded overflow-hidden">
71
+ <img
72
+ src="{{ page.hero_image | relative_url }}"
73
+ alt="{{ page.title }}"
74
+ class="w-100 h-100"
75
+ width="800"
76
+ height="600"
77
+ loading="eager"
78
+ decoding="async"
79
+ fetchpriority="high"
80
+ style="object-fit: contain;"
81
+ >
82
+ </div>
71
83
  {% else %}
72
- <div class="bg-secondary rounded p-5 text-body animate-on-scroll">
73
- <i class="bi bi-code-square display-1"></i>
74
- <p class="mt-3 mb-0">Jekyll Theme</p>
84
+ <div class="landing-hero-media ratio ratio-4x3 mx-auto shadow-lg rounded overflow-hidden">
85
+ <div class="position-absolute top-0 start-0 w-100 h-100 d-flex flex-column align-items-center justify-content-center bg-secondary bg-opacity-25 text-body rounded">
86
+ <i class="bi bi-code-square display-1"></i>
87
+ <p class="mt-3 mb-0 px-3">Jekyll Theme</p>
88
+ </div>
75
89
  </div>
76
90
  {% endif %}
77
91
  </div>
data/_sass/custom.scss CHANGED
@@ -35,6 +35,28 @@ html, body {
35
35
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35), inset 0 -1px 0 rgba(0, 0, 0, .15);
36
36
  }
37
37
 
38
+ // Vendored Bootstrap build may omit vh utilities; landing hero uses this for stable min height
39
+ .min-vh-50 {
40
+ min-height: 50vh;
41
+ }
42
+
43
+ // Landing layout: stable hero media slot (ratio) + no reliance on scroll script for first paint
44
+ .landing-hero {
45
+ .landing-hero-media {
46
+ max-width: min(100%, 28rem);
47
+ }
48
+
49
+ .landing-hero-media.ratio > img {
50
+ object-position: center;
51
+ }
52
+ }
53
+
54
+ @media (prefers-reduced-motion: reduce) {
55
+ .landing-hero .landing-hero-media {
56
+ transition: none;
57
+ }
58
+ }
59
+
38
60
  #TableOfContents {
39
61
  overflow: hidden;
40
62
  text-overflow: ellipsis;
@@ -12,6 +12,16 @@
12
12
  /**
13
13
  * Initialize scroll animations for elements with animate-on-scroll class
14
14
  */
15
+ /**
16
+ * True if any part of the element is in the viewport (avoids hiding above-the-fold
17
+ * content until IntersectionObserver runs — that caused layout “jumps” on the landing hero).
18
+ */
19
+ function isInViewport(el) {
20
+ const rect = el.getBoundingClientRect();
21
+ const vh = window.innerHeight || document.documentElement.clientHeight;
22
+ return rect.bottom > 0 && rect.top < vh;
23
+ }
24
+
15
25
  function initScrollAnimations() {
16
26
  if (prefersReducedMotion) return;
17
27
 
@@ -35,6 +45,9 @@
35
45
  }, observerOptions);
36
46
 
37
47
  animatedElements.forEach(el => {
48
+ if (isInViewport(el)) {
49
+ return;
50
+ }
38
51
  el.style.opacity = '0';
39
52
  el.style.transform = 'translateY(30px)';
40
53
  el.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-zer0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.22.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amr Abdel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-02 00:00:00.000000000 Z
11
+ date: 2026-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll