Skip to content

Commit

Permalink
Merge pull request #19021 from cockroachdb/nav-bar-review-fix
Browse files Browse the repository at this point in the history
Nav bar font family and font weight fix
  • Loading branch information
mohini-crl authored Oct 18, 2024
2 parents 4cd0179 + 56e5f0d commit fa250b4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/current/_includes/head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<meta charset="utf-8" prefix="og: https://ogp.me/ns#">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1 viewport-fit=cover">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.summary %}{{ page.summary | strip_html | strip_newlines | truncate: 160 }}{% endif %}">
<meta name="keywords" content="{% if page.tags %}{{ page.tags | join: ', ' | escape }}{% endif %}">
{%- assign dev_path = "/" | append: site.versions["dev"] | append: "/" -%}
Expand Down Expand Up @@ -120,7 +120,7 @@

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Roboto+Mono:wght@500&family=Poppins:wght@200;300;400;500;600;700&family=Roboto+Mono:wght@100;200;400;500&family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Open+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Source+Code+Pro&family=Source+Sans+Pro:wght@300;400;600;700&display=swap" rel="stylesheet">
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Source+Code+Pro&family=Source+Sans+Pro:wght@300;400;600;700&display=swap"></noscript>


Expand Down
24 changes: 12 additions & 12 deletions src/current/_includes/main-menu-serverless.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2 class="mb-0">
</div>
<div id="collapseProduct" class="collapse" aria-labelledby="mobileProduct" data-parent="#accordionExample">
<div class="card-body">
{% include nav-product.html %}
{% include_cached nav-product.html %}
</div>
</div>
</div>
Expand All @@ -159,7 +159,7 @@ <h2 class="mb-0">
</div>
<div id="collapseSolutions" class="collapse" aria-labelledby="mobileSolutions" data-parent="#accordionExample">
<div class="card-body">
{% include nav-solutions.html %}
{% include_cached nav-solutions.html %}
</div>
</div>
</div>
Expand All @@ -177,7 +177,7 @@ <h2 class="mb-0">
</div>
<div id="collapseResources" class="collapse" aria-labelledby="mobileResources" data-parent="#accordionExample">
<div class="card-body">
{% include nav-resources.html %}
{% include_cached nav-resources.html %}
</div>
</div>
</div>
Expand All @@ -195,7 +195,7 @@ <h2 class="mb-0">
</div>
<div id="collapseDocs" class="collapse" aria-labelledby="mobileDocs" data-parent="#accordionExample">
<div class="card-body">
{% include nav-docs.html %}
{% include_cached nav-docs.html %}
</div>
</div>
</div>
Expand All @@ -213,7 +213,7 @@ <h2 class="mb-0">
</div>
<div id="collapseCompany" class="collapse" aria-labelledby="mobileCompany" data-parent="#accordionExample">
<div class="card-body">
{% include nav-company.html %}
{% include_cached nav-company.html %}
</div>
</div>
</div>
Expand All @@ -231,7 +231,7 @@ <h2 class="mb-0">
</div>
<div id="collapseCustomers" class="collapse" aria-labelledby="mobileCustomers" data-parent="#accordionExample">
<div class="card-body">
{% include nav-company.html %}
{% include_cached nav-company.html %}
</div>
</div>
</div>
Expand Down Expand Up @@ -277,7 +277,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Product</a>
<div class="dropdown-menu w-100 p-45" aria-labelledby="navbarDropdown">
{% include nav-product.html %}
{% include_cached nav-product.html %}
</div>
</li>

Expand All @@ -290,7 +290,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Solutions</a>
<div class="dropdown-menu w-100 p-45" aria-labelledby="navbarDropdown">
{% include nav-solutions.html %}
{% include_cached nav-solutions.html %}
</div>
</li>

Expand All @@ -303,7 +303,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Resources</a>
<div class="dropdown-menu w-100 p-45" aria-labelledby="navbarDropdown">
{% include nav-resources.html %}
{% include_cached nav-resources.html %}
</div>
</li>

Expand All @@ -317,7 +317,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Docs</a>
<div class="dropdown-menu w-100 p-45 docs" aria-labelledby="navbarDropdown">
{% include nav-docs.html %}
{% include_cached nav-docs.html %}
</div>
</li>

Expand All @@ -338,7 +338,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Customers</a>
<div class="dropdown-menu w-100 p-45 company" aria-labelledby="navbarDropdown">
{% include nav-customers.html %}
{% include_cached nav-customers.html %}
</div>
</li>

Expand All @@ -351,7 +351,7 @@ <h2 class="mb-0">
aria-haspopup="true"
aria-expanded="false">Company</a>
<div class="dropdown-menu w-100 p-45 company" aria-labelledby="navbarDropdown">
{% include nav-company.html %}
{% include_cached nav-company.html %}
</div>
</li>

Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/nav-resources.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container-sm width-990">
<div class="container-sm" style="max-width: 1300px;">
<div class="row">
<div class="col-6 col-md-3">
<ul class="mb-3 mb-md-3 list-unstyled p-0">
Expand Down

0 comments on commit fa250b4

Please sign in to comment.