diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 25a82361..81859c52 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -17,13 +17,13 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.125.5' + hugo-version: "0.146.0" extended: true - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '20' - cache: 'npm' - cache-dependency-path: '**/package-lock.json' + node-version: "20" + cache: "npm" + cache-dependency-path: "**/package-lock.json" - run: npm ci - run: hugo diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 93f8a50b..9ca78894 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -42,4 +42,23 @@ margin: 0; font-size: 0.95rem; font-weight: 500; -} \ No newline at end of file +} + +// Highlight the version release menu item +.td-navbar .navbar-nav .nav-item:first-child .nav-link { + background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); + color: white !important; + border-radius: 20px; + padding: 8px 16px !important; + margin-right: 10px; + font-weight: 600; + transition: all 0.3s ease; + box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3); +} + +.td-navbar .navbar-nav .nav-item:first-child .nav-link:hover { + transform: translateY(-1px); + box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); + background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); + color: white !important; +} diff --git a/go.mod b/go.mod index 7a7ac78d..48f60134 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module open-cluster-management.io/open-cluster-management-io.github.io go 1.23 require ( - github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7 // indirect - github.com/google/docsy v0.10.0 // indirect - github.com/twbs/bootstrap v5.3.3+incompatible // indirect + github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect + github.com/google/docsy v0.12.0 // indirect + github.com/twbs/bootstrap v5.3.6+incompatible // indirect ) diff --git a/go.sum b/go.sum index 69719376..8a42dcd1 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ -github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7 h1:2aWEKCRLqQ9nPyXaz4/IYtRrDr3PzEiX0DUSUr2/EDs= -github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg= -github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc= -github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ= -github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4= +github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM= +github.com/twbs/bootstrap v5.3.6+incompatible h1:efmXVyq839m5QQ0+JBUdQQ1TrmoBqvQ5kRhUueKsH+4= +github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/hugo.yaml b/hugo.yaml index b5adaac3..bcbf8763 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -64,11 +64,15 @@ outputs: menu: main: + - identifier: v1.0.0-released + weight: 1 + name: "🎉 v1.0.0 Released!" + url: "/docs/release/#100-20-june-2025" - identifier: Github weight: 100 name: GitHub url: https://github.com/open-cluster-management-io/ocm - pre: + pre: '' params: versions: @@ -182,7 +186,7 @@ params: module: hugoVersion: extended: true - min: 0.110.0 + min: 0.146.0 imports: - path: github.com/google/docsy - disable: false \ No newline at end of file + disable: false