Skip to content

Commit

Permalink
Docs - matches site css to slack.dev and docs.slack.dev (#1444)
Browse files Browse the repository at this point in the history
* Update config files

* docs: adds image

---------

Co-authored-by: slackapi[bot] <186980925+slackapi[bot]@users.noreply.github.com>
Co-authored-by: Luke Russell <[email protected]>
  • Loading branch information
slackapi[bot] and lukegalbraithrussell authored Feb 28, 2025
1 parent 4334db6 commit 030092f
Show file tree
Hide file tree
Showing 5 changed files with 8,758 additions and 3,283 deletions.
10 changes: 6 additions & 4 deletions docs/footerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ const footer = {
items: [
{
html: `
<div style="display: flex; gap: 20px; max-width: 50%">
<div class="footer-spaced">
<a href="https://slack.com/terms-of-service/user">Terms of Service</a>
<a href="https://slack.com/trust/privacy/privacy-policy">Privacy Information</a>
</div>
©2024 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners.
`,
</div>
<div>
©2025 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by their respective owners.
</div>
`,
},
],
},
Expand Down
35 changes: 17 additions & 18 deletions docs/navbarConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const navbar = {
style: 'dark',
title: 'Slack Developer Tools',
logo: {
src: 'img/slack-logo.svg',
src: 'img/slack-logo-on-white.png',
href: 'https://tools.slack.dev',
},
items: [
Expand Down Expand Up @@ -60,26 +61,24 @@ const navbar = {
target: '_self',
},
{
type: 'dropdown',
label: 'Community',
to: 'https://api.slack.com',
label: 'API Docs',
position: 'right',
items: [
{
label: 'Community tools',
to: 'https://tools.slack.dev/community-tools',
target: '_self',
},
{
label: 'Slack Community',
to: 'https://slackcommunity.com/',
target: '_self',
},
],
target: '_self',
},
{
to: 'https://api.slack.com/docs',
label: 'API Docs',
target: '_self',
label: 'Developer Program',
position: 'right',
to: 'https://api.slack.com/developer-program',
target: '_blank',
rel: "noopener noreferrer"
},
{
label: 'Your apps',
to: 'https:api.slack.com/apps',
position: 'right',
target: '_blank',
rel: "noopener noreferrer"
},
{
type: 'localeDropdown',
Expand Down
Loading

0 comments on commit 030092f

Please sign in to comment.