Skip to content

Commit 9ddb05f

Browse files
committed
Add Addons (Integrations) nav item
1 parent ec1d5ad commit 9ddb05f

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

src/components/Footer/Footer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const footerGroups = (links: Links) => ({
2828
{ label: 'Status', link: links.status },
2929
],
3030
community: [
31-
{ label: 'Integrations', link: links.integrations },
31+
{ label: 'Addons', link: links.integrations },
3232
{ label: 'Get involved', link: links.getInvolved },
3333
{ label: 'Blog', link: links.blog },
3434
],

src/components/Nav/Nav.tsx

+11-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ interface NavProps {
115115
monochrome?: boolean;
116116
version: string;
117117
apiKey: string;
118-
activeSection?: 'home' | 'docs' | 'showcase' | 'blog';
118+
activeSection?: 'home' | 'docs' | 'integrations' | 'showcase' | 'blog';
119119
githubStarCount: number;
120120
}
121121

@@ -151,7 +151,7 @@ const GithubButtonWrapper = styled.div`
151151
152152
display: none;
153153
154-
@media (min-width: 1024px) {
154+
@media (min-width: 1224px) {
155155
display: block;
156156
}
157157
`;
@@ -191,6 +191,15 @@ export const Nav: FunctionComponent<NavProps> = ({
191191
>
192192
Docs
193193
</NavItem>
194+
<NavItem
195+
active={activeSection === 'integrations'}
196+
monochrome={monochrome}
197+
variant={inverse ? 'inverse' : 'default'}
198+
href={navLinks.integrations.url}
199+
LinkWrapper={navLinks.integrations.linkWrapper}
200+
>
201+
Addons
202+
</NavItem>
194203
<NavItem
195204
active={activeSection === 'showcase'}
196205
monochrome={monochrome}

src/components/Nav/menus.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const mobileGroups = (links: Links) => [
117117
label: 'Community',
118118
items: [
119119
{
120-
label: 'Integrations',
120+
label: 'Addons',
121121
link: links.integrations,
122122
icon: <ColoredIcon icon="grid" color="seafoam" />,
123123
},

0 commit comments

Comments
 (0)