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 fd5320278c14b82d27117ff3c920a1ced9153c71 Author: Martijn Dashorst <[email protected]> AuthorDate: Fri Oct 30 00:30:44 2026 +0100 Masthead: the trademark symbol beside Apache Wicket The ASF asks for the ™ on the most prominent use of the project name: the hero lockup on the homepage and the brand in the masthead on every other page. It is set small and raised to the cap height, and hidden from screen readers so the name is still read as Apache Wicket. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- _includes/logo.html | 2 +- _sass/ribbon/_chrome.scss | 4 ++++ index.md | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_includes/logo.html b/_includes/logo.html index 4a29e965..559f3566 100644 --- a/_includes/logo.html +++ b/_includes/logo.html @@ -1,2 +1,2 @@ {% comment %} The registered mark with the wordmark in the heading face. {% endcomment %} -<a class="brand" href="{{ site.baseurl }}/"><img class="brand-mark" src="{{ site.baseurl }}/img/logo-apachewicket-mark.svg" alt="" width="34" height="34"><span class="brand-name">Apache Wicket</span></a> +<a class="brand" href="{{ site.baseurl }}/"><img class="brand-mark" src="{{ site.baseurl }}/img/logo-apachewicket-mark.svg" alt="" width="34" height="34"><span class="brand-name">Apache Wicket<span class="tm" aria-hidden="true">™</span></span></a> diff --git a/_sass/ribbon/_chrome.scss b/_sass/ribbon/_chrome.scss index 2171931b..1a30c88b 100644 --- a/_sass/ribbon/_chrome.scss +++ b/_sass/ribbon/_chrome.scss @@ -24,6 +24,10 @@ nav.mainmenu { .brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; } .brand-mark { width: 34px; height: 34px; flex: none; display: block; } .brand-name { font: 700 1.5rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; } +// The trademark symbol the ASF asks for on the most prominent use of the name: small and raised, +// so it reads as a mark and not as a footnote. +.tm { position: relative; top: -1.5em; margin-left: .05em; font-size: .3em; font-weight: 400; letter-spacing: 0; } +.brand-name .tm { top: -.9em; font-size: .42em; } // The version plate: the supported lines as beads on one string. The newest line, and the LTS // when that is another line, each link to their page; the line whose page is open is the lit bead. diff --git a/index.md b/index.md index c21048c5..f91bc820 100644 --- a/index.md +++ b/index.md @@ -25,7 +25,7 @@ additionalContents: <div class="hero-in"> <h1 class="lockup" id="title"> <img class="lockup-mark" src="{{ site.baseurl }}/img/logo-apachewicket-mark.svg" alt="" width="112" height="112"> - <span class="lockup-name"><span>Apache</span> <span>Wicket</span></span> + <span class="lockup-name"><span>Apache</span> <span>Wicket<span class="tm" aria-hidden="true">™</span></span></span> </h1> <div class="lede"> {% comment %} Tagline placeholder: "Write less, achieve more." is the Wicket 8 announcement's line, kept until the project picks one. {% endcomment %}
