diff --git a/content/search-index.json b/content/search-index.json new file mode 100644 index 0000000..fc7902f --- /dev/null +++ b/content/search-index.json @@ -0,0 +1 @@ +{#include fm/search-index.json} diff --git a/pom.xml b/pom.xml index 280c6ce..4ef11e7 100644 --- a/pom.xml +++ b/pom.xml @@ -13,8 +13,8 @@ UTF-8 quarkus-bom io.quarkus.platform - 3.19.2 - 1.3.3 + 3.22.1 + 1.5.2 true 3.5.2 @@ -62,6 +62,11 @@ quarkus-roq-plugin-sitemap ${quarkus-roq.version} + + io.quarkiverse.roq + quarkus-roq-plugin-lunr + ${quarkus-roq.version} + com.fasterxml.jackson.datatype jackson-datatype-jsr310 @@ -69,7 +74,7 @@ io.quarkiverse.web-bundler quarkus-web-bundler - 1.7.3 + 1.8.1 io.quarkiverse.qute.web diff --git a/templates/layouts/roq-default/default.html b/templates/layouts/roq-default/default.html index 44bea87..ca10745 100644 --- a/templates/layouts/roq-default/default.html +++ b/templates/layouts/roq-default/default.html @@ -7,4 +7,6 @@ {#head} +{#search-script /} + {/} \ No newline at end of file diff --git a/templates/layouts/roq-default/main.html b/templates/layouts/roq-default/main.html index f1393fa..a57b993 100644 --- a/templates/layouts/roq-default/main.html +++ b/templates/layouts/roq-default/main.html @@ -9,8 +9,27 @@ .menu li .fa-info { padding-left: 4px; } + .search-button { + margin-left: 15px; + background: none; + color: #515151; + display: block; + font-size: 18px; + transition: all .35s cubic-bezier(.13,.43,.54,1.82); + } + .search-button i { + margin-right: 20px; + width: 18px; + } + .search-button:hover { + color: #333030; + } + .search-button:hover i { + transform: scale(1.1); + } +{#search-overlay /} {#insert /} {#description} @@ -21,6 +40,8 @@ {#footer}