diff --git a/docusaurus.config.js b/docusaurus.config.js index aab81fcad..f4ab67e60 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -524,7 +524,12 @@ const config = { { label: 'Try Now', className: 'tryNow', - to: 'https://console.weaviate.cloud', + to: 'https://auth.wcs.api.weaviate.io/auth/realms/SeMI/protocol/openid-connect/registrations?client_id=wcs-frontend&scope=openid%20profile&redirect_uri=https%3A%2F%2Fconsole.weaviate.cloud%2Fapi%2Fauth%2Fcallback%2Fkeycloak&response_type=code', + position: 'right', + }, + { + html: ``, + to: 'https://auth.wcs.api.weaviate.io/auth/realms/SeMI/protocol/openid-connect/auth?client_id=wcs-frontend&scope=openid%20email%20profile&response_type=code&redirect_uri=https%3A%2F%2Fconsole.weaviate.cloud%2Fapi%2Fauth%2Fcallback%2Fkeycloak&state=P3BeeUEpGZNBXSXHycDajZNjrHT_HliA14qrtGovlk8&code_challenge=VZLcWPLzlwCsrvkYzjY3yC9XwUN3KzJqvzXAlzdNYTo&code_challenge_method=S256', position: 'right', }, { diff --git a/src/css/custom.scss b/src/css/custom.scss index cadea1d2b..266e05403 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -344,7 +344,8 @@ .tryNow { border-radius: 0.3125rem; border: 1px solid #1c1468; - background: #61bd73; + background: #130c49; + color: #ffffff; margin: 0 20px; width: 8rem; height: 2.625rem; @@ -372,7 +373,7 @@ } .custom-page .tryNow { - margin: 0px 70px 0px 0px; + margin: 0px 0px 0px 0px; align-items: center; display: flex; @@ -393,6 +394,35 @@ display: none; } + &:hover { + background: #130c49; + color: #fff !important; + font-weight: 400; + } +} + +.custom-page .loginButton { + margin: 0px 0px 0px 0px; + + align-items: center; + display: flex; + align-content: center; + justify-content: center; + width: 10.625rem; + height: 3.5rem; + border: 1px solid #130c49; + border-radius: 0.3125rem; + color: #130c49; + background: #ffffff; + + @media screen and (max-width: 1160px) { + margin: 0px; + } + + @media screen and (max-width: 999px) { + display: none; + } + &:hover { background: #130c49; color: #fff;