Skip to content

Commit 039bd05

Browse files
Docs - matches site css to slack.dev and docs.slack.dev (#2155)
Co-authored-by: slackapi[bot] <186980925+slackapi[bot]@users.noreply.github.com> Co-authored-by: Luke Russell <[email protected]>
1 parent 833636e commit 039bd05

File tree

5 files changed

+262
-62
lines changed

5 files changed

+262
-62
lines changed

docs/footerConfig.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ const footer = {
44
items: [
55
{
66
html: `
7-
<div style="display: flex; gap: 20px; max-width: 50%">
7+
<div class="footer-spaced">
88
<a href="https://slack.com/terms-of-service/user">Terms of Service</a>
99
<a href="https://slack.com/trust/privacy/privacy-policy">Privacy Information</a>
10-
</div>
11-
©2024 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners.
12-
`,
10+
</div>
11+
<div>
12+
©2025 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners.
13+
</div>
14+
`,
1315
},
1416
],
1517
},

docs/navbarConfig.js

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const navbar = {
2+
style: 'dark',
23
title: 'Slack Developer Tools',
34
logo: {
4-
src: 'img/slack-logo.svg',
5+
src: 'img/slack-logo-on-white.png',
56
href: 'https://tools.slack.dev',
67
},
78
items: [
@@ -60,26 +61,24 @@ const navbar = {
6061
target: '_self',
6162
},
6263
{
63-
type: 'dropdown',
64-
label: 'Community',
64+
to: 'https://api.slack.com',
65+
label: 'API Docs',
6566
position: 'right',
66-
items: [
67-
{
68-
label: 'Community tools',
69-
to: 'https://tools.slack.dev/community-tools',
70-
target: '_self',
71-
},
72-
{
73-
label: 'Slack Community',
74-
to: 'https://slackcommunity.com/',
75-
target: '_self',
76-
},
77-
],
67+
target: '_self',
7868
},
7969
{
80-
to: 'https://api.slack.com/docs',
81-
label: 'API Docs',
82-
target: '_self',
70+
label: 'Developer Program',
71+
position: 'right',
72+
to: 'https://api.slack.com/developer-program',
73+
target: '_blank',
74+
rel: "noopener noreferrer"
75+
},
76+
{
77+
label: 'Your apps',
78+
to: 'https:api.slack.com/apps',
79+
position: 'right',
80+
target: '_blank',
81+
rel: "noopener noreferrer"
8382
},
8483
{
8584
'aria-label': 'GitHub Repository',

docs/package-lock.json

Lines changed: 14 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)