Skip to content

Commit

Permalink
Merge pull request #68 from scalar-labs/update-home-page-nav-links
Browse files Browse the repository at this point in the history
Update links to the redesigned home page
  • Loading branch information
josh-wong authored Sep 3, 2023
2 parents d0ec8a2 + 7f0a360 commit e298bb9
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 25 deletions.
34 changes: 14 additions & 20 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
# Site Header
# Make sure the `main` navigation in the `/_data/navigation.yml` file matches across all `docs-[scalar-product]` repos.
main:
- title: "       Home       "
url: https://scalar-labs.com/
- title: "     Home     "
url: https://www.scalar-labs.com/
- title: "Products"
children:
- title: "ScalarDB"
description: Cloud-native Universal Transaction Manager in Microservice Era
url: https://scalar-labs.com/products/scalardb
description: Database-agnostic universal transaction manager for achieving ACID transactions
url: https://www.scalar-labs.com/scalardb/
- title: "ScalarDL"
url: https://scalar-labs.com/products/scalardl
description: Scalable and Practical Byzantine-fault Detection Middleware for Transactional Database Systems
- title: "Solution"
children:
- title: Preservation of documents
description: About Scalar's electronic document evidence preservation solutions.
url: https://scalar-labs.com/solution/doc
- title: "Consent management"
description: About Scalar's consent management solutions.
url: https://scalar-labs.com/solution/consent
url: https://www.scalar-labs.com/scalardl/
description: Scalable, practical Byzantine-fault detection middleware for transactional database systems
- title: "Company"
children:
- title: "About us"
description: The company profile of Scalar Inc.
url: https://scalar-labs.com/company
description: Company profile and information
url: https://www.scalar-labs.com/about-us/
- title: "News"
description: Scalar's announcements, product news, case studies, etc. are posted here.
url: https://scalar-labs.com/news
- title: "Support"
url: https://support.scalar-labs.com/
description: Announcements, product news, and case studies
url: https://www.scalar-labs.com/news/
- title: "   Pricing   "
url: https://www.scalar-labs.com/pricing/
- title: "   Support   "
url: https://www.scalar-labs.com/support/

# This navigation is for adding product versions that appear in the dropdown menu. Make sure the latest version is labeled `<VERSION> (latest)`.
versions:
Expand Down
2 changes: 1 addition & 1 deletion _home/terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ toc: true

## Privacy policy

For details about Scalar Inc.'s privacy policy, please see [Privacy Policy of Scalar Inc.](https://scalar-labs.com/privacy-policy)
For details about Scalar Inc.'s privacy policy, please see [Privacy Policy of Scalar Inc.](https://www.scalar-labs.com/privacy-policy/)
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!-- Added the privacy policy to match the footer on the Scalar home page (added by josh-wong) -->
<div class="page__footer-privacy-policy">
<li>
<a href="https://scalar-labs.com/privacy-policy">Our Privacy Policy</a>
<a href="https://www.scalar-labs.com/privacy-policy/">Our Privacy Policy</a>
</li>
</div>

Expand Down
4 changes: 2 additions & 2 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}
{% if link.children %}
<li class="dropdown {{ class }}">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ link.title }}&nbsp;&nbsp;<span><svg class="dropdown-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z" clip-rule="evenodd"></path></svg></span></a>
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ link.title }}&nbsp;<span><svg class="dropdown-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z" clip-rule="evenodd"></path></svg></span></a>
<ul class="dropdown-content">
{% for children in link.children %}
<li>
Expand Down Expand Up @@ -52,7 +52,7 @@

<!-- Add `Contact us` button (added by josh-wong) -->
<div class="contact-greedy-nav">
<a href="https://scalar-labs.com/en/contact">
<a href="https://www.scalar-labs.com/contact/">
<span class="btn btn--primary">{{ site.data.ui-text[site.locale].contact_label | default: "Contact us" }}</span>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
.dropdown {
float: left;
width: auto;
padding-right: 17px;
padding-right: 8px;
font-size: $type-size-5-5;
font-weight: 500;
vertical-align: middle;
Expand Down

0 comments on commit e298bb9

Please sign in to comment.