Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 114 additions & 30 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,76 +1,160 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.3.0)
bigdecimal (3.3.1)
colorator (1.1.0)
concurrent-ruby (1.2.2)
concurrent-ruby (1.3.5)
csv (3.3.5)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
ffi (1.17.2)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-aarch64-linux-musl)
ffi (1.17.2-arm-linux-gnu)
ffi (1.17.2-arm-linux-musl)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86-linux-gnu)
ffi (1.17.2-x86-linux-musl)
ffi (1.17.2-x86_64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
ffi (1.17.2-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (3.25.5)
google-protobuf (3.25.5-arm64-darwin)
google-protobuf (3.25.5-x86_64-darwin)
google-protobuf (3.25.5-x86_64-linux)
google-protobuf (4.33.1)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-aarch64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-aarch64-linux-musl)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-x86-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-x86-linux-musl)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-x86_64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.33.1-x86_64-linux-musl)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.13.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
jekyll (4.4.1)
addressable (~> 2.4)
base64 (~> 0.2)
colorator (~> 1.0)
csv (~> 3.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
json (~> 2.6)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
mercenary (~> 0.3, >= 0.3.6)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-sass-converter (3.1.0)
sass-embedded (~> 1.75)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
json (2.16.0)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
rake (13.0.6)
public_suffix (6.0.2)
rake (13.3.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.4.2)
rouge (4.1.0)
rexml (3.4.4)
rouge (4.6.1)
safe_yaml (1.0.5)
sass-embedded (1.62.1)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
sass-embedded (1.94.2)
google-protobuf (~> 4.31)
rake (>= 13)
sass-embedded (1.94.2-aarch64-linux-android)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-aarch64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-aarch64-linux-musl)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-arm-linux-androideabi)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-arm-linux-gnueabihf)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-arm-linux-musleabihf)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-arm64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-riscv64-linux-android)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-riscv64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-riscv64-linux-musl)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-x86_64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-x86_64-linux-android)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-x86_64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.94.2-x86_64-linux-musl)
google-protobuf (~> 4.31)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2)
webrick (1.8.2)
unicode-display_width (2.6.0)
webrick (1.9.1)

PLATFORMS
darwin
freebsd
x86_64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-androideabi
arm-linux-gnu
arm-linux-gnueabihf
arm-linux-musl
arm-linux-musleabihf
arm64-darwin
riscv64-linux-android
riscv64-linux-gnu
riscv64-linux-musl
ruby
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
jekyll
Expand All @@ -79,4 +163,4 @@ DEPENDENCIES
webrick

BUNDLED WITH
2.2.22
2.7.2
63 changes: 63 additions & 0 deletions _includes/theme-toggle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<style>
.theme-toggle-item {
display: flex;
align-items: center;
margin-left: 10px;
}

.theme-toggle-wrapper {
display: flex;
align-items: center;
}

.theme-toggle {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
color: var(--text-primary);
padding: 0;
position: relative;
z-index: 1000;
}

.theme-toggle:hover {
background: var(--bg-tertiary);
transform: scale(1.05);
}

.theme-toggle svg {
pointer-events: none; /* Prevent SVG from blocking clicks */
}

.theme-icon-dark {
display: none;
}

[data-theme="dark"] .theme-icon-light {
display: none;
}

[data-theme="dark"] .theme-icon-dark {
display: block;
}

/* Ensure proper alignment in navbar */
.navbar-nav .theme-toggle-item {
padding: 8px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
.theme-toggle-item {
margin: 10px 15px;
justify-content: center;
}
}
</style>
12 changes: 12 additions & 0 deletions _includes/themes/apache/_navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
<li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
</ul>
</li>
<li class="theme-toggle-item">
<div class="theme-toggle-wrapper">
<button class="theme-toggle" id="themeToggle" aria-label="Toggle dark mode">
<svg class="theme-icon-light" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
<path d="M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/>
</svg>
<svg class="theme-icon-dark" width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
<path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/>
</svg>
</button>
</div>
</li>
</ul>
</nav><!--/.navbar-collapse -->
</div>
Expand Down
Loading