Skip to content

Commit 0a1a57c

Browse files
github-actions[bot]nrichersvalidbeck
authored
Add login button to docs site (#544) (#549)
* Add login button & switch search * Tweak login options * Padding? * Ughhh padding * Add VPV to login options * Wording tweak --------- Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: Beck <164545837+validbeck@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c8a9d35 commit 0a1a57c

File tree

4 files changed

+40
-8
lines changed

4 files changed

+40
-8
lines changed

site/_quarto.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ website:
1414
google-analytics:
1515
tracking-id: "G-S46CKWPNSS"
1616
anonymize-ip: true
17-
search:
18-
location: sidebar
19-
type: textbox
2017
show-item-context: true
2118
page-navigation: true
2219
repo-url: https://github.com/validmind/documentation/
@@ -75,6 +72,23 @@ website:
7572
- text: "validmind.com {{< fa external-link >}}"
7673
file: https://validmind.com/
7774
target: _blank
75+
right:
76+
- text: "Login"
77+
menu:
78+
- text: "Public Internet"
79+
- text: "{{< var validmind.platform >}} · `US1` {{< fa right-to-bracket >}}"
80+
href: https://app.prod.validmind.ai/
81+
target: _blank
82+
- text: "{{< var validmind.platform >}} · `CA1` {{< fa right-to-bracket >}}"
83+
href: https://app.ca1.validmind.ai
84+
target: _blank
85+
- text: "---"
86+
- text: "Private Link"
87+
- text: "{{< var validmind.vpv >}} (VPV)"
88+
href: "guide/configuration/log-in-to-validmind.qmd#section"
89+
- text: "---"
90+
- text: "<small>Which login should I use?</small>"
91+
href: "guide/configuration/log-in-to-validmind.qmd"
7892

7993
# COMMENT THIS OUT WHEN DONE TESTING
8094
# - text: "{{< fa flask >}} Testing"

site/guide/configuration/log-in-to-validmind.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Log in to our cloud-hosted {{< var validmind.platform >}} to work with your mode
2121
{{< var vm.product >}} supports the following methods for logging in:
2222

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

2626
::: {.attn}
2727

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

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

55-
## Private network endpoints
55+
## {{< var validmind.vpv >}}
5656

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

5959
:::{#private-networks}
6060
:::

site/styles.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pre, pre.python, pre.bash, pre.yaml, pre.markdown {
173173

174174
.hero {
175175
position: relative;
176-
margin-top: -35px;
176+
margin-top: -50px;
177177
padding: 75px;
178178
padding-bottom: 50px;
179179
color: white;
@@ -460,6 +460,24 @@ figcaption {
460460
filter: brightness(125%);
461461
}
462462

463+
#nav-menu-login {
464+
background-color: #083E44;
465+
border: 1px solid #083E44;
466+
color: white;
467+
padding: 0.375rem 0.75rem;
468+
border-radius: 4px;
469+
text-decoration: none;
470+
}
471+
472+
#nav-menu-login:hover {
473+
text-decoration: none;
474+
filter: brightness(125%);
475+
}
476+
477+
.dropdown-menu.dropdown-menu-end.show {
478+
padding-top: 0.5rem; /* Adjust the value as needed */
479+
}
480+
463481
.video, iframe[src*="youtube.com"] {
464482
box-shadow: 5px 5px 5px #ccc;
465483
border-radius: 5px;

site/training/assets/training.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a:hover {
88

99
.training-hero {
1010
position: relative;
11-
margin-top: -35px;
11+
margin-top: -50px;
1212
padding: 100px;
1313
background-color: #042426;
1414
color: #EAF8FA;

0 commit comments

Comments
 (0)