This is an automated email from the ASF dual-hosted git repository.
hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new a70695f094 feat: Add github link to header
a70695f094 is described below
commit a70695f09400f7c812fbfaa06a4c3ca8e4f8b61b
Author: hutcheb <[email protected]>
AuthorDate: Sat Jan 10 18:23:11 2026 +1100
feat: Add github link to header
---
website/patches/header-content.patch | 22 +++++++++++++---------
website/resources/index.html | 7 ++++++-
website/supplemental/css/header.css | 4 ++++
3 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/website/patches/header-content.patch
b/website/patches/header-content.patch
index 49c7e04a0a..21ad3c4f77 100644
--- a/website/patches/header-content.patch
+++ b/website/patches/header-content.patch
@@ -27,7 +27,7 @@
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
-@@ -16,29 +37,29 @@
+@@ -16,29 +18,34 @@
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
@@ -44,14 +44,6 @@
- <a class="navbar-item" href="#">Product A</a>
- <a class="navbar-item" href="#">Product B</a>
- <a class="navbar-item" href="#">Product C</a>
-- </div>
-- </div>
-- <div class="navbar-item has-dropdown is-hoverable">
-- <a class="navbar-link" href="#">Services</a>
-- <div class="navbar-dropdown">
-- <a class="navbar-item" href="#">Service A</a>
-- <a class="navbar-item" href="#">Service B</a>
-- <a class="navbar-item" href="#">Service C</a>
+ <a class="navbar-item" href="https://www.apache.org">Apache
Homepage</a>
+ <a class="navbar-item"
href="https://www.apache.org/licenses/">License</a>
+ <a class="navbar-item"
href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a>
@@ -62,6 +54,18 @@
+ <a class="navbar-item" href="https://events.apache.org/">Upcoming
Events</a>
</div>
</div>
+- <div class="navbar-item has-dropdown is-hoverable">
+- <a class="navbar-link" href="#">Services</a>
+- <div class="navbar-dropdown">
+- <a class="navbar-item" href="#">Service A</a>
+- <a class="navbar-item" href="#">Service B</a>
+- <a class="navbar-item" href="#">Service C</a>
+- </div>
++ <div class="navbar-item">
++ <span class="control">
++ <a class="fa-brands fa-github"
href="https://github.com/apache/plc4x"></a>
++ </span>
+ </div>
<div class="navbar-item">
<span class="control">
- <a class="button is-primary" href="#">Download</a>
diff --git a/website/resources/index.html b/website/resources/index.html
index 514881336e..86e4b0f125 100644
--- a/website/resources/index.html
+++ b/website/resources/index.html
@@ -81,9 +81,14 @@
</div>
<div class="navbar-item">
<span class="control">
- <a class="button is-primary"
href="./plc4x/latest/users/download">Download</a>
+ <a class="fa-brands fa-github navbar-icon-link"
href="https://github.com/apache/plc4x"></a>
</span>
</div>
+ <div class="navbar-item">
+ <span class="control">
+ <a class="button is-primary"
href="./plc4x/latest/users/download">Download</a>
+ </span>
+ </div>
<a class="acevent" data-format="wide"></a>
</div>
</div>
diff --git a/website/supplemental/css/header.css
b/website/supplemental/css/header.css
index d35f67de97..386c27a575 100644
--- a/website/supplemental/css/header.css
+++ b/website/supplemental/css/header.css
@@ -202,6 +202,10 @@ body {
margin: 0.25rem 0;
}
+.navbar-icon-link {
+ color: black;
+}
+
.navbar .button {
display: inline-flex;
align-items: center;