From 4eb58c2d4088b12d52d7720959df32ab91211f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20=C4=8Cech?= Date: Wed, 29 Jan 2025 14:31:05 +0100 Subject: [PATCH] DP-3055 CTA button in the docs --- docs/assets/scss/header.scss | 1 + docs/go.mod | 2 +- docs/go.sum | 2 ++ docs/layouts/partials/navbar.html | 7 +------ 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/assets/scss/header.scss b/docs/assets/scss/header.scss index efccb89f3..e7bfaed68 100644 --- a/docs/assets/scss/header.scss +++ b/docs/assets/scss/header.scss @@ -116,6 +116,7 @@ } } + &__secondary, &__slack { color: $color-deep-purple; border-color: $color-deep-purple; diff --git a/docs/go.mod b/docs/go.mod index 0691ccc7a..9412c9b92 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect - github.com/gooddata/gooddata-docs-theme v0.0.0-20240424130537-0544713a5cd2 // indirect + github.com/gooddata/gooddata-docs-theme v0.0.0-20250129122538-80db631526db // indirect github.com/google/docsy v0.7.1 // indirect github.com/google/docsy/dependencies v0.7.1 // indirect github.com/twbs/bootstrap v5.3.1+incompatible // indirect diff --git a/docs/go.sum b/docs/go.sum index 010bea145..8f30a101e 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -18,6 +18,8 @@ github.com/gooddata/gooddata-docs-theme v0.0.0-20240221133123-7948ffa74656 h1:XG github.com/gooddata/gooddata-docs-theme v0.0.0-20240221133123-7948ffa74656/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= github.com/gooddata/gooddata-docs-theme v0.0.0-20240424130537-0544713a5cd2 h1:tHGj2dUeXBCVwlmn1co/YAfUw3RwQ8g6xRubVwNis6o= github.com/gooddata/gooddata-docs-theme v0.0.0-20240424130537-0544713a5cd2/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250129122538-80db631526db h1:/Ycu/2dQ7AkqggbBcYi2qSJZUHItbIoz0e63P4oYQjo= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250129122538-80db631526db/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY= github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc= github.com/google/docsy/dependencies v0.7.1 h1:NbzYKJYMin2q50xdWSUzR2c9gCp7zR/XHDBcxklEcTQ= diff --git a/docs/layouts/partials/navbar.html b/docs/layouts/partials/navbar.html index 0bf17fe99..b6476f020 100644 --- a/docs/layouts/partials/navbar.html +++ b/docs/layouts/partials/navbar.html @@ -30,12 +30,7 @@ -
- - {{ with resources.Get "icons/slack.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }} - Slack - -
+ {{ partial "header-right.html" . }}