Skip to content

Commit

Permalink
Made top nav links relative
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Feb 2, 2024
1 parent 14d7d40 commit 9fc79ba
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions _docs_theme/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% endif %}


<a href="{{ config.site_url }}.." class="masthead__logo">
<a href=".." class="masthead__logo">
<svg xmlns="http://www.w3.org/2000/svg" width="254" height="30" viewBox="0 0 254 30" fill="none">
<path d="M174.761 30C183.971 30 190.65 23.3195 190.65 14.8963C190.691 6.59751 183.971 0 174.761 0C165.552 0 158.831 6.51452 158.831 14.8963C158.831 23.195 165.552 30 174.761 30ZM168.373 14.8963C168.373 11.0373 171.235 8.13278 174.761 8.13278C178.246 8.13278 181.108 10.9959 181.108 14.8963C181.15 18.8382 178.287 21.8672 174.761 21.8672C171.235 21.8672 168.373 18.8382 168.373 14.8963Z"
fill="#FF9505"/>
Expand All @@ -48,11 +48,11 @@
<ul class="visible-links">
<li class="masthead__menu-item">
<span class="navlink">
<a href="{{ config.site_url }}"> Docs </a>
<a href="docs"> Docs </a>
<div class="divSubNav">
<div class="divSubNav__inner">
<!-- General link --> <a href="{{ config.site_url }}docs"> WireMock </a>
<a href="{{ config.site_url }}docs/mock-api-templates"> Mock API Templates </a>
<!-- General link --> <a href="docs"> WireMock </a>
<a href="docs/mock-api-templates"> Mock API Templates </a>
<a href="https://docs.wiremock.io/getting-started/?utm_source=wiremock.org&utm_medium=masthead_doc-links&utm_campaign=2022_baseline"> WireMock Cloud </a>
<!-- General link -->
<a href="https://wiremock.org/external-resources"> External Resources </a>
Expand All @@ -64,24 +64,24 @@
</li>
<li class="masthead__menu-item">
<span class="navlink">
<a href="{{ config.site_url }}resources/community-support"> Need Help? </a>
<a href="resources/community-support"> Need Help? </a>
<div class="divSubNav">
<div class="divSubNav__inner">
<a href="{{ config.site_url }}community/slack"> Q&A on Slack </a>
<a href="community/slack"> Q&A on Slack </a>
<a href="https://stackoverflow.com/questions/tagged/wiremock"> StackOverflow </a>
<a href="{{ config.site_url }}resources/community-support"> Community Support </a>
<a href="{{ config.site_url }}resources/commercial-support"> Commercial Options </a>
<a href="resources/community-support"> Community Support </a>
<a href="resources/commercial-support"> Commercial Options </a>
</div>
</div>
</span>
</li>
<li class="masthead__menu-item">
<span class="navlink">
<a href="{{ config.site_url }}/participate"> Participate </a>
<a href="/participate"> Participate </a>
<div class="divSubNav">
<div class="divSubNav__inner">
<!-- General link --> <a href="{{ config.site_url }}community/slack"> Community Slack </a>
<a href="{{ config.site_url }}community/contributing/README.md"> Contributor Guide </a>
<!-- General link --> <a href="community/slack"> Community Slack </a>
<a href="community/contributing/README.md"> Contributor Guide </a>
<a href="https://github.com/wiremock/"> Our GitHub org</a>
<a href="https://github.com/wiremock/wiremock.org"> This Website repo </a> <!-- General link -->
<a href="{{ config.site_url }}dotgithub/CODE_OF_CONDUCT"> Code of Conduct </a>
Expand All @@ -91,15 +91,15 @@
</li>
<li class="masthead__menu-item">
<span class="navlink">
<a href="{{ config.site_url }}resources/"> Resources </a>
<a href="resources/"> Resources </a>
<div class="divSubNav">
<div class="divSubNav__inner">
<a href="https://library.wiremock.org/"> Mock API Templates Library </a>
<a href="https://github.com/wiremock/ecosystem"> WireMock Ecosystem </a>
<a href="https://twitter.com/wiremockorg"> Twitter </a>
<a href="https://fosstodon.org/@wiremock"> Mastodon </a>
<a href="https://community.wiremock.io/"> Slack Archive </a>
<a href="{{ config.site_url }}resources/external"> External Resources </a>
<a href="resources/external"> External Resources </a>
</div>
</div>
</span>
Expand Down Expand Up @@ -129,16 +129,16 @@
</div>
<div id="overlay-menu" class="overlay-menu"></div>
<div class="mobile-menu-wrapper">
<img id="closeMenuIcon" class="closeMenuIcon" src="{{ config.site_url }}/images/closeMenuIcon.svg"/>
<img id="closeMenuIcon" class="closeMenuIcon" src="/images/closeMenuIcon.svg"/>
<ul>
<li>
<a href="https://wiremock.io?utm_source=wiremock.org&utm_medium=masthead&utm_campaign=homepage_2022_baseline"
title="WireMock Cloud" class="btn t-5"> Go to WM Cloud </a>
</li>
<li><a href="{{ config.site_url }}docs"> Docs </a></li>
<li><a href="{{ config.site_url }}resources/community-support"> Need Help? </a></li>
<li><a href="{{ config.site_url }}participate"> Participate </a></li>
<li><a href="{{ config.site_url }}resources/external"> Resources </a></li>
<li><a href="docs"> Docs </a></li>
<li><a href="resources/community-support"> Need Help? </a></li>
<li><a href="participate"> Participate </a></li>
<li><a href="resources/external"> Resources </a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 9fc79ba

Please sign in to comment.