Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shan-Weaviate committed Feb 5, 2025
1 parent 35d69f2 commit 6c18a00
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 11 deletions.
16 changes: 12 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,18 +521,26 @@ const config = {
to: 'https://github.com/weaviate/weaviate',
position: 'right',
},
{

html: ` <i class="fa-regular fa-user iconHide" style="color:#2c3854;"></i> Login</span>`,
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',

},
{
label: 'Try Now',
className: 'tryNow',
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',
},
{
label: 'Login',
{
label: 'Contact',
className: 'loginButton',
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',
to: '/contact',
position: 'right',
},
},

{
type: 'search',
position: 'right',
Expand Down
58 changes: 51 additions & 7 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
gap: 0px;
justify-content: flex-start;

@media screen and (max-width: 1100px) {
@media screen and (max-width: 1200px) {
gap: 0px;
}
}
Expand Down Expand Up @@ -361,8 +361,9 @@
color: #130c49;
}

@media screen and (max-width: 1190px) {
@media screen and (max-width: 1250px) {
margin: 0px;
margin-right: 10px;
width: unset;
}

Expand All @@ -381,7 +382,7 @@
display: flex;
align-content: center;
justify-content: center;
width: 10.625rem;
width: 8rem;
height: 3.125rem;
transition: all 0.3s ease;
border-radius: 0.3125rem;
Expand All @@ -393,7 +394,7 @@
color: #ffffff !important;
}

@media screen and (max-width: 1160px) {
@media screen and (max-width: 1300px) {
margin: 0px;
width: unset;
}
Expand Down Expand Up @@ -430,7 +431,7 @@
display: flex;
align-content: center;
justify-content: center;
width: 10.625rem;
width: 8rem;
height: 3.125rem;

border-radius: 0.3125rem;
Expand All @@ -442,12 +443,12 @@
color: #130c49;
}

@media screen and (max-width: 1160px) {
@media screen and (max-width: 1300px) {
margin: 0px;
width: unset;
}

@media screen and (max-width: 999px) {
@media screen and (max-width: 996px) {
display: none;
}

Expand All @@ -472,6 +473,37 @@
}
}

.loginButton {
margin: 0px 0px 0px 0px;

align-items: center;
display: flex;
align-content: center;
justify-content: center;
width: 8rem;
height: 2.625rem;

border-radius: 0.3125rem;
color: #130c49;
background: #ffffff;
transition: all 0.3s ease;

&:hover {
color: #130c49;
}

@media screen and (max-width: 1250px) {
margin: 0px;
width: unset;
}

@media screen and (max-width: 1150px) {
display: block;
border: unset;
background-color: unset;
color: #2b3854;
}
}
[data-theme='light'] {
.separator {
background-color: #e0e0e0;
Expand Down Expand Up @@ -1106,3 +1138,15 @@ ul.dropdown__menu {
.support-page li {
font-size: 1.2rem;
}

.iconHide {
@media screen and (max-width: 980px) {
display: none !important;
}
}

a.navbar__item.navbar__link:hover {
i {
color: #00a142 !important;
}
}

0 comments on commit 6c18a00

Please sign in to comment.