Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions content/search-index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{#include fm/search-index.json}
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.19.2</quarkus.platform.version>
<quarkus-roq.version>1.3.3</quarkus-roq.version>
<quarkus.platform.version>3.22.1</quarkus.platform.version>
<quarkus-roq.version>1.5.2</quarkus-roq.version>
<skipITs>true</skipITs>
<surefire-plugin.version>3.5.2</surefire-plugin.version>
</properties>
Expand Down Expand Up @@ -62,14 +62,19 @@
<artifactId>quarkus-roq-plugin-sitemap</artifactId>
<version>${quarkus-roq.version}</version>
</dependency>
<dependency>
<groupId>io.quarkiverse.roq</groupId>
<artifactId>quarkus-roq-plugin-lunr</artifactId>
<version>${quarkus-roq.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<dependency>
<groupId>io.quarkiverse.web-bundler</groupId>
<artifactId>quarkus-web-bundler</artifactId>
<version>1.7.3</version>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>io.quarkiverse.qute.web</groupId>
Expand Down
2 changes: 2 additions & 0 deletions templates/layouts/roq-default/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
{#head}
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
{#search-script /}

{/}
7 changes: 7 additions & 0 deletions templates/layouts/roq-default/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
.menu li .fa-info {
padding-left: 4px;
}
.search-button {
margin-left: 15px;
background: none;
}
Comment on lines +12 to +29
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you can add:

    color: #515151;
    display: block;
    font-size: 18px;
    transition: all .35s cubic-bezier(.13,.43,.54,1.82);

and when hovered:

.search-button:hover {
    color: #333030;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the font size slightly change when hovered too 🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the font size slightly change when hovered too 🤔

yes there's:

.menu ul li a:hover i {
  transform: scale(1.1);
}

I'll do it

</style>

{#search-overlay /}
{#insert /}

{#description}
Expand All @@ -21,6 +26,8 @@

{#footer}
<footer>
<div id="search-button" class="search-button"><i class="fa-solid fa-magnifying-glass"></i> Search the blog</div>

{#include partials/roq-default/sidebar-contact /}
<a rel="me" href="https://hachyderm.io/@netobserv" style="visibility: hidden">Mastodon</a>
<section class="support">
Expand Down