Skip to content

Commit

Permalink
Draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Shan-Weaviate committed Jan 9, 2025
1 parent e64c4e5 commit d6cf976
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
7 changes: 6 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: `<svg class="githubStars" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M217.9 105.9L340.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L217.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1L32 320c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM352 416l64 0c17.7 0 32-14.3 32-32l0-256c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0c53 0 96 43 96 96l0 256c0 53-43 96-96 96l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/></svg>`,
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',
},
{
Expand Down
34 changes: 32 additions & 2 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -372,7 +373,7 @@
}

.custom-page .tryNow {
margin: 0px 70px 0px 0px;
margin: 0px 0px 0px 0px;

align-items: center;
display: flex;
Expand All @@ -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;
Expand Down

0 comments on commit d6cf976

Please sign in to comment.