This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/main by this push:
new 481bb14e feat: quick lookup for kamlet catalog
481bb14e is described below
commit 481bb14ef420e4db15820d8d0334228c9223995b
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Jun 24 14:47:02 2025 +0200
feat: quick lookup for kamlet catalog
Adds the quick lookup for kamlet catalog, reusing the same logic that
the component reference already uses.
Fixes #1354
---
antora-ui-camel/public/_/partials/nav-menu.hbs | 2 +-
antora-ui-camel/src/partials/nav-menu.hbs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/antora-ui-camel/public/_/partials/nav-menu.hbs
b/antora-ui-camel/public/_/partials/nav-menu.hbs
index 53136c74..6a56ce72 100644
--- a/antora-ui-camel/public/_/partials/nav-menu.hbs
+++ b/antora-ui-camel/public/_/partials/nav-menu.hbs
@@ -1,6 +1,6 @@
{{#with page.navigation}}
<div class="nav-panel-menu is-active">
- {{#if (eq @root.page.component.name 'components')}}
+ {{#if (or (eq @root.page.component.name 'components') (eq
@root.page.component.name 'camel-kamelets'))}}
<input class="search" placeholder="Quick lookup">
{{/if}}
<nav class="nav-menu" data-panel="menu" aria-label="Topics">
diff --git a/antora-ui-camel/src/partials/nav-menu.hbs
b/antora-ui-camel/src/partials/nav-menu.hbs
index 53136c74..6a56ce72 100644
--- a/antora-ui-camel/src/partials/nav-menu.hbs
+++ b/antora-ui-camel/src/partials/nav-menu.hbs
@@ -1,6 +1,6 @@
{{#with page.navigation}}
<div class="nav-panel-menu is-active">
- {{#if (eq @root.page.component.name 'components')}}
+ {{#if (or (eq @root.page.component.name 'components') (eq
@root.page.component.name 'camel-kamelets'))}}
<input class="search" placeholder="Quick lookup">
{{/if}}
<nav class="nav-menu" data-panel="menu" aria-label="Topics">