From dea3f9a7c57f523d7b34c0a18ebb7471c73e097f Mon Sep 17 00:00:00 2001 From: Nathan Melehan Date: Mon, 14 Apr 2025 15:31:09 -0400 Subject: [PATCH] Update theme - Fix nav header height bug - Update header and footer contents --- .../linode-docs-theme/assets/css/grids/grid--base.css | 2 +- .../layouts/partials/sections/body-structured-data.html | 2 +- .../github.com/linode/linode-website-partials/footer.html | 3 --- .../github.com/linode/linode-website-partials/header.css | 8 ++++++-- .../github.com/linode/linode-website-partials/header.html | 6 ------ _vendor/modules.txt | 4 ++-- go.mod | 2 +- go.sum | 3 +++ 8 files changed, 14 insertions(+), 16 deletions(-) diff --git a/_vendor/github.com/linode/linode-docs-theme/assets/css/grids/grid--base.css b/_vendor/github.com/linode/linode-docs-theme/assets/css/grids/grid--base.css index 68aa76407c3..f84a12c3bf8 100644 --- a/_vendor/github.com/linode/linode-docs-theme/assets/css/grids/grid--base.css +++ b/_vendor/github.com/linode/linode-docs-theme/assets/css/grids/grid--base.css @@ -13,7 +13,7 @@ --row-explorer: 2; /* The grid row for the left side explorer menu. */ --row-main: 3; /* The grid row for the main content. */ --col-navbar: 1; /* The grid column for the top navbar. */ - --height-linode-menu-row: 61px; + --height-linode-menu-row: 81px; --height-navbar-row: 45px; --width-left-column: 240px; --width-right-column: 240px; diff --git a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/body-structured-data.html b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/body-structured-data.html index f7e638bafed..ca9fbd4d1de 100644 --- a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/body-structured-data.html +++ b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/body-structured-data.html @@ -1,4 +1,4 @@ -{{ $schemaCommonParts := partialCached "partials/sections/head-structured-data-parts" . }} +{{ $schemaCommonParts := partialCached "sections/head-structured-data-parts" . }} {{ $img := (partial "funcs/get-social-image.html" .).img }} {{ $p := .Params }} diff --git a/_vendor/github.com/linode/linode-website-partials/footer.html b/_vendor/github.com/linode/linode-website-partials/footer.html index cd1d0cd7f2b..389d8175835 100644 --- a/_vendor/github.com/linode/linode-website-partials/footer.html +++ b/_vendor/github.com/linode/linode-website-partials/footer.html @@ -67,9 +67,6 @@

Products

  • Cloud Firewall
  • -
  • - DDoS Protection -
  • DNS Manager
  • diff --git a/_vendor/github.com/linode/linode-website-partials/header.css b/_vendor/github.com/linode/linode-website-partials/header.css index 5fcc828d1c3..ffe2453a8a7 100644 --- a/_vendor/github.com/linode/linode-website-partials/header.css +++ b/_vendor/github.com/linode/linode-website-partials/header.css @@ -633,10 +633,10 @@ body.om-position-floating-top { margin-bottom: 16px; } .c-submenu .c-featured__button { - background-color: #017ac6; + background-color: var(--button-background-color, #017ac6); border: 0 solid; border-radius: 4px; - color: #ffffff; + color: var(--button-text-color, #ffffff); cursor: pointer; display: inline-block; font-size: 0.8125rem; @@ -647,6 +647,10 @@ body.om-position-floating-top { white-space: nowrap; width: auto; } +.c-submenu .c-featured__button:hover { + background-color: var(--button-background-color--hover, #32363b); + color: var(--button-text-color--hover, #ffffff); +} .c-submenu .c-featured:hover, .c-submenu .c-featured:visited { color: var(--c-featured-color, #32363b); } diff --git a/_vendor/github.com/linode/linode-website-partials/header.html b/_vendor/github.com/linode/linode-website-partials/header.html index 50ba494156a..3b399f93725 100644 --- a/_vendor/github.com/linode/linode-website-partials/header.html +++ b/_vendor/github.com/linode/linode-website-partials/header.html @@ -261,9 +261,6 @@
  • Cloud Firewall
  • -
  • - DDoS Protection -
  • DNS Manager
  • @@ -622,9 +619,6 @@
    Networking
  • Cloud Firewall
  • -
  • - DDoS Protection -
  • DNS Manager
  • diff --git a/_vendor/modules.txt b/_vendor/modules.txt index 3db8d6ced61..71ff5a35d8f 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,5 +1,5 @@ -# github.com/linode/linode-docs-theme v0.0.0-20250327145741-051b8bb82280 -# github.com/linode/linode-website-partials v0.0.0-20250326190321-bed77d268dc5 +# github.com/linode/linode-docs-theme v0.0.0-20250414193030-a8fd512eed64 +# github.com/linode/linode-website-partials v0.0.0-20250409155719-a69a3433df0c # github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21300.20800 # github.com/gohugoio/hugo-mod-jslibs/turbo/v8 v8.20000.20400 # github.com/hotwired/turbo v8.0.4+incompatible diff --git a/go.mod b/go.mod index b6464938500..93cbee75543 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/gohugoio/hugo-mod-jslibs/turbo/v7 v7.20300.20000 // indirect github.com/instantpage/instant.page v5.1.1+incompatible // indirect github.com/linode/linode-api-docs/v4 v4.176.0 // indirect - github.com/linode/linode-docs-theme v0.0.0-20250327145741-051b8bb82280 // indirect + github.com/linode/linode-docs-theme v0.0.0-20250414193030-a8fd512eed64 // indirect ) diff --git a/go.sum b/go.sum index 254997a0fbc..b5cd5833c28 100644 --- a/go.sum +++ b/go.sum @@ -318,6 +318,8 @@ github.com/linode/linode-docs-theme v0.0.0-20250226170030-b0b80ad3551e h1:+VwtH0 github.com/linode/linode-docs-theme v0.0.0-20250226170030-b0b80ad3551e/go.mod h1:sBUcYIvTlasE8ErKVeb7ID7UwAppztzOyo9KQIjS7gE= github.com/linode/linode-docs-theme v0.0.0-20250327145741-051b8bb82280 h1:1WUaLMTRzBkzRBqEKmSC6ISassXwlCyKtsM+TCxhUCs= github.com/linode/linode-docs-theme v0.0.0-20250327145741-051b8bb82280/go.mod h1:fKWXIsye+ysm7kBIDrroykOq+bPzjdDNHDatMapw+cM= +github.com/linode/linode-docs-theme v0.0.0-20250414193030-a8fd512eed64 h1:vV+TmbDm6KLBRx3GyRlErr5w2RUF2CC+CBNkfrNLm9A= +github.com/linode/linode-docs-theme v0.0.0-20250414193030-a8fd512eed64/go.mod h1:D4CREqxDmJW1ubkMagGdNUhKKE3h3ASWmnEUpqnJcsA= github.com/linode/linode-website-partials v0.0.0-20221205205120-b6ea1aaa59fb/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20221222200538-99862e429110/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20230201145731-a8703d0a954a/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= @@ -347,3 +349,4 @@ github.com/linode/linode-website-partials v0.0.0-20241212174435-bdd2302bc0fb/go. github.com/linode/linode-website-partials v0.0.0-20250103220935-91c22c1d82ec/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20250219200959-c4330f86e593/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20250326190321-bed77d268dc5/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= +github.com/linode/linode-website-partials v0.0.0-20250409155719-a69a3433df0c/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=