Skip to content

Commit 2225932

Browse files
authored
Add 'Contact Us' to top nav (#14602)
* Add 'Contact Us' to top nav * Update mobile nav to handle new item
1 parent 6dd6c19 commit 2225932

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

assets/css/bundle.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -4576,7 +4576,7 @@ nav.actually-docs div.top-nav-container div.nav-items ul li a{
45764576
gap:4px
45774577
}
45784578

4579-
nav.actually-docs div.top-nav-container div.nav-items ul li.github-widget,nav.actually-docs div.top-nav-container div.nav-items ul li.slack,nav.actually-docs div.top-nav-container div.nav-items ul li.docs,nav.actually-docs div.top-nav-container div.nav-items ul li.registry,nav.actually-docs div.top-nav-container div.nav-items ul li.ai,nav.actually-docs div.top-nav-container div.nav-items ul div.get-started{
4579+
nav.actually-docs div.top-nav-container div.nav-items ul li.github-widget,nav.actually-docs div.top-nav-container div.nav-items ul li.slack,nav.actually-docs div.top-nav-container div.nav-items ul li.docs,nav.actually-docs div.top-nav-container div.nav-items ul li.registry,nav.actually-docs div.top-nav-container div.nav-items ul li.ai,nav.actually-docs div.top-nav-container div.nav-items ul li.contact,nav.actually-docs div.top-nav-container div.nav-items ul div.get-started{
45804580
display:none
45814581
}
45824582

@@ -4593,7 +4593,7 @@ nav.actually-docs div.top-nav-container div.nav-items ul li.github-widget,nav.ac
45934593
}
45944594

45954595
@media(min-width: 475px){
4596-
nav.actually-docs div.top-nav-container div.nav-items ul li.ai{
4596+
nav.actually-docs div.top-nav-container div.nav-items ul li.ai,nav.actually-docs div.top-nav-container div.nav-items ul li.contact{
45974597
display:flex
45984598
}
45994599
}

layouts/partials/docs-top-nav.html

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
Pulumi AI
5656
</a>
5757
</li>
58+
<li class="contact">
59+
<a data-track="header-contact" href="/contact">
60+
<i class="fas fa-comment mr-0.5"></i>
61+
Contact Us
62+
</a>
63+
</li>
5864
<li>
5965
<a data-track="header-console" href="https://app.pulumi.com/" target="_blank">
6066
<i class="fa fa-refular fa-user-circle"></i>

layouts/partials/header.html

+14-7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
Pulumi AI
4747
</a>
4848
</li>
49+
<li class="mr-8">
50+
<a data-track="header-contact" href="/contact">
51+
<i class="fas fa-comment mr-0.5"></i>
52+
Contact Us
53+
</a>
54+
</li>
4955
<li>
5056
<a data-track="header-console" href="https://app.pulumi.com/" target="_blank">
5157
<i class="fas fa-user-circle"></i>
@@ -559,13 +565,14 @@
559565
</div>
560566
</ul>
561567
<div class="mobile-menu-footer">
562-
<div class="flex items-center justify-between py-4 px-2 border-t my-4 mx-2 border-gray-200">
563-
<a href="https://github.com/pulumi/pulumi">GitHub</a>
564-
<a href="https://slack.pulumi.com/">Slack</a>
565-
<a href="/docs/">Docs</a>
566-
<a href="/registry/">Registry</a>
567-
<a href="/ai">Pulumi AI</a>
568-
<a href="https://app.pulumi.com/">
568+
<div class="flex flex-wrap space-x-2 items-center justify-around py-4 px-2 border-t my-4 mx-2 border-gray-200">
569+
<a class="mb-2" href="https://github.com/pulumi/pulumi">GitHub</a>
570+
<a class="mb-2" href="https://slack.pulumi.com/">Slack</a>
571+
<a class="mb-2" href="/docs/">Docs</a>
572+
<a class="mb-2" href="/registry/">Registry</a>
573+
<a class="mb-2" href="/ai">Pulumi AI</a>
574+
<a class="mb-2" href="/contact">Contact Us</a>
575+
<a class="mb-2" href="https://app.pulumi.com/">
569576
{{ partial "top-nav-user-toggle" }}
570577
</a>
571578
</div>

theme/src/scss/docs/_docs-top-nav.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ nav.actually-docs {
106106
li.docs,
107107
li.registry,
108108
li.ai,
109+
li.contact,
109110
div.get-started {
110111
display: none;
111112
}
@@ -124,7 +125,8 @@ nav.actually-docs {
124125
}
125126
}
126127

127-
li.ai {
128+
li.ai,
129+
li.contact {
128130
@media (min-width: 475px) {
129131
display: flex
130132
}

0 commit comments

Comments
 (0)