Skip to content

Add login button to docs site #544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions site/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ website:
google-analytics:
tracking-id: "G-S46CKWPNSS"
anonymize-ip: true
search:
location: sidebar
type: textbox
show-item-context: true
page-navigation: true
repo-url: https://github.com/validmind/documentation/
Expand Down Expand Up @@ -74,6 +71,23 @@ website:
- text: "validmind.com {{< fa external-link >}}"
file: https://validmind.com/
target: _blank
right:
- text: "Login"
menu:
- text: "Public Internet"
- text: "{{< var validmind.platform >}} · `US1` {{< fa right-to-bracket >}}"
href: https://app.prod.validmind.ai/
target: _blank
- text: "{{< var validmind.platform >}} · `CA1` {{< fa right-to-bracket >}}"
href: https://app.ca1.validmind.ai
target: _blank
- text: "---"
- text: "Private Link"
- text: "{{< var validmind.vpv >}} (VPV)"
href: "guide/configuration/log-in-to-validmind.qmd#section"
- text: "---"
- text: "<small>Which login should I use?</small>"
href: "guide/configuration/log-in-to-validmind.qmd"

# COMMENT THIS OUT WHEN DONE TESTING
# - text: "{{< fa flask >}} Testing"
Expand Down
6 changes: 3 additions & 3 deletions site/guide/configuration/log-in-to-validmind.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Log in to our cloud-hosted {{< var validmind.platform >}} to work with your mode
{{< var vm.product >}} supports the following methods for logging in:

- [Public internet](#public-internet) — easiest, less secure
- [Private network endpoints](#private-network-endpoints) — requires additional configuration, more secure
- [{{< var validmind.vpv >}}](#section) — requires additional configuration, more secure

::: {.attn}

Expand Down Expand Up @@ -52,9 +52,9 @@ Signing up is FREE — {{< var link.register >}}

After successful login, you will be redirected to the main dashboard of the {{< var validmind.platform >}}.

## Private network endpoints
## {{< var validmind.vpv >}}

To configure and log in through a private endpoint for your company VPC using a supported service:
To configure and log in through a private link for your company VPC using a supported service:

:::{#private-networks}
:::
Expand Down
20 changes: 19 additions & 1 deletion site/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ pre, pre.python, pre.bash, pre.yaml, pre.markdown {

.hero {
position: relative;
margin-top: -35px;
margin-top: -50px;
padding: 75px;
padding-bottom: 50px;
color: white;
Expand Down Expand Up @@ -460,6 +460,24 @@ figcaption {
filter: brightness(125%);
}

#nav-menu-login {
background-color: #083E44;
border: 1px solid #083E44;
color: white;
padding: 0.375rem 0.75rem;
border-radius: 4px;
text-decoration: none;
}

#nav-menu-login:hover {
text-decoration: none;
filter: brightness(125%);
}

.dropdown-menu.dropdown-menu-end.show {
padding-top: 0.5rem; /* Adjust the value as needed */
}

.video, iframe[src*="youtube.com"] {
box-shadow: 5px 5px 5px #ccc;
border-radius: 5px;
Expand Down
2 changes: 1 addition & 1 deletion site/training/assets/training.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ a:hover {

.training-hero {
position: relative;
margin-top: -35px;
margin-top: -50px;
padding: 100px;
background-color: #042426;
color: #EAF8FA;
Expand Down