This is an automated email from the ASF dual-hosted git repository.

dashorst pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/wicket-site.git

commit 29e04761e1c256ba03958a5299ca59be4c2d20c3
Author: Martijn Dashorst <[email protected]>
AuthorDate: Sun Oct 25 17:24:42 2026 +0100

    Releases: a Quick start button on the sign
    
    The old site had Quick Start in the main menu; since the restructure only 
the
    homepage, the footer and the upgrade paths link to it. The Releases page, 
where
    the download page went, gets it back as its one action.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 _layouts/section.html         |  4 +++-
 _sass/modules/_structure.scss | 13 +++++++++++++
 versions/index.md             |  3 +++
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/_layouts/section.html b/_layouts/section.html
index 32ba9192..0c34f106 100644
--- a/_layouts/section.html
+++ b/_layouts/section.html
@@ -6,7 +6,8 @@ layout: base
   the title and `summary` front matter on a sign, then the content.
   `lead`: an include shown full width above the content;
   `toc: true`: an "On this page" rail of the content's headings;
-  `rail`: an include that renders the rail itself, instead of the headings.
+  `rail`: an include that renders the rail itself, instead of the headings;
+  `sign_action`: a button on the sign, with `text` and `url` (the quick start 
on Releases).
 {% endcomment %}
 <div class="header default">
     <div class="l-container">
@@ -18,6 +19,7 @@ layout: base
         {% if page.parent %}<p class="hub-crumbs"><a href="{{ site.baseurl 
}}{{ page.parent.url }}">{{ page.parent.title }}</a></p>{% endif %}
         <h1>{{ page.title }}</h1>
         {% if page.summary %}<p class="page-sign-sub">{{ page.summary }}</p>{% 
endif %}
+        {% if page.sign_action %}<p class="page-sign-action"><a class="button" 
href="{{ site.baseurl }}{{ page.sign_action.url }}">{{ page.sign_action.text 
}}</a></p>{% endif %}
     </div>
 </div>
 <main id="main" tabindex="-1">
diff --git a/_sass/modules/_structure.scss b/_sass/modules/_structure.scss
index 85ac45b4..5ab76676 100644
--- a/_sass/modules/_structure.scss
+++ b/_sass/modules/_structure.scss
@@ -542,6 +542,19 @@ pre:focus-visible { outline: 2px solid $navy; 
outline-offset: 2px; }
     max-width: 46rem;
 }
 
+// A section's one action on its sign, sized like the homepage's.
+.page-sign-action {
+    margin: 1.25rem 0 0.5rem;
+
+    .button {
+        border: none;
+        font-size: settings.$font-size-40;
+        margin: 0;
+        padding: 0.65rem 1.4rem;
+        transition: background-color 160ms ease-out, color 160ms ease-out;
+    }
+}
+
 .guide-crumbs {
     font-size: settings.$font-size-20;
 }
diff --git a/versions/index.md b/versions/index.md
index 58ad11c4..8fb7a381 100644
--- a/versions/index.md
+++ b/versions/index.md
@@ -1,6 +1,9 @@
 ---
 layout: section
 title: Releases
+sign_action:
+  text: Quick start
+  url: /start/quickstart.html
 summary: Wicket 10 is the long-term support (LTS) release. Each release line 
has its own page with Maven coordinates, downloads, what is new and 
documentation.
 ---
 

Reply via email to