File tree 8 files changed +23
-14
lines changed
8 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const links = {
35
35
showcase : { url : 'https://storybook.js.org/showcase' } ,
36
36
projects : { url : 'https://storybook.js.org/showcase/projects' } ,
37
37
componentGlossary : { url : 'https://storybook.js.org/showcase/glossary' } ,
38
- integrations : { url : '/integrations ' , linkWrapper : FakeGatsbyLink } ,
38
+ addons : { url : '/addons ' , linkWrapper : FakeGatsbyLink } ,
39
39
getInvolved : { url : '/community' , linkWrapper : FakeGatsbyLink } ,
40
40
blog : { url : 'https://storybook.js.org/blog' } ,
41
41
hiring : { url : 'https://www.chromatic.com/company/jobs' } ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const footerGroups = (links: Links) => ({
28
28
{ label : 'Status' , link : links . status } ,
29
29
] ,
30
30
community : [
31
- { label : 'Integrations ' , link : links . integrations } ,
31
+ { label : 'Addons ' , link : links . addons } ,
32
32
{ label : 'Get involved' , link : links . getInvolved } ,
33
33
{ label : 'Blog' , link : links . blog } ,
34
34
] ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const navLinks = {
35
35
showcase : { url : 'https://storybook.js.org/showcase' } ,
36
36
projects : { url : 'https://storybook.js.org/showcase/projects' } ,
37
37
componentGlossary : { url : 'https://storybook.js.org/showcase/glossary' } ,
38
- integrations : { url : '/integrations ' , linkWrapper : FakeGatsbyLink } ,
38
+ addons : { url : '/addons ' , linkWrapper : FakeGatsbyLink } ,
39
39
getInvolved : { url : '/community' , linkWrapper : FakeGatsbyLink } ,
40
40
blog : { url : 'https://storybook.js.org/blog' } ,
41
41
hiring : { url : 'https://www.chromatic.com/company/jobs' } ,
@@ -50,7 +50,7 @@ const Template = (args) => (
50
50
export const Default = Template . bind ( { } ) ;
51
51
52
52
export const Inverse = Template . bind ( { } ) ;
53
- Inverse . args = { inverse : true , activeSection : 'integrations ' } ;
53
+ Inverse . args = { inverse : true , activeSection : 'addons ' } ;
54
54
Inverse . parameters = {
55
55
backgrounds : { default : 'dark' } ,
56
56
} ;
@@ -91,7 +91,7 @@ export const FullStack = () => (
91
91
< SubNavRight >
92
92
< SubNavCTA href = "/back" >
93
93
< Icon icon = "add" />
94
- Add your integration
94
+ Add your addon
95
95
</ SubNavCTA >
96
96
</ SubNavRight >
97
97
</ SubNav >
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ interface NavProps {
115
115
monochrome ?: boolean ;
116
116
version : string ;
117
117
apiKey : string ;
118
- activeSection ?: 'home' | 'docs' | 'showcase' | 'blog' ;
118
+ activeSection ?: 'home' | 'docs' | 'addons' | ' showcase' | 'blog' ;
119
119
githubStarCount : number ;
120
120
}
121
121
@@ -151,7 +151,7 @@ const GithubButtonWrapper = styled.div`
151
151
152
152
display: none;
153
153
154
- @media (min-width: 1024px ) {
154
+ @media (min-width: 1224px ) {
155
155
display: block;
156
156
}
157
157
` ;
@@ -191,6 +191,15 @@ export const Nav: FunctionComponent<NavProps> = ({
191
191
>
192
192
Docs
193
193
</ NavItem >
194
+ < NavItem
195
+ active = { activeSection === 'addons' }
196
+ monochrome = { monochrome }
197
+ variant = { inverse ? 'inverse' : 'default' }
198
+ href = { navLinks . addons . url }
199
+ LinkWrapper = { navLinks . addons . linkWrapper }
200
+ >
201
+ Addons
202
+ </ NavItem >
194
203
< NavItem
195
204
active = { activeSection === 'showcase' }
196
205
monochrome = { monochrome }
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ export const mobileGroups = (links: Links) => [
117
117
label : 'Community' ,
118
118
items : [
119
119
{
120
- label : 'Integrations ' ,
121
- link : links . integrations ,
120
+ label : 'Addons ' ,
121
+ link : links . addons ,
122
122
icon : < ColoredIcon icon = "grid" color = "seafoam" /> ,
123
123
} ,
124
124
{
Original file line number Diff line number Diff line change @@ -156,12 +156,12 @@ export const BreadcrumbCTA = () => (
156
156
< SubNav >
157
157
< SubNavBreadcrumb tertiary href = "/back" >
158
158
< Icon icon = "arrowleft" />
159
- Back to integrations
159
+ Back to addons
160
160
</ SubNavBreadcrumb >
161
161
< SubNavRight >
162
162
< SubNavCTA href = "/back" >
163
163
< Icon icon = "add" />
164
- Add your integration
164
+ Add your addon
165
165
</ SubNavCTA >
166
166
</ SubNavRight >
167
167
</ SubNav >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ WithLinks.args = {
24
24
< Link containsIcon withArrow href = "/why-storybook" >
25
25
Why build UIs in isolation?
26
26
</ Link >
27
- < Link containsIcon withArrow href = "/integrations " >
27
+ < Link containsIcon withArrow href = "/addons " >
28
28
How does this fit in my tech stack?
29
29
</ Link >
30
30
</ >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface Links {
17
17
showcase : LinkItem ;
18
18
projects : LinkItem ;
19
19
componentGlossary : LinkItem ;
20
- integrations : LinkItem ;
20
+ addons : LinkItem ;
21
21
getInvolved : LinkItem ;
22
22
blog : LinkItem ;
23
23
hiring : LinkItem ;
@@ -37,7 +37,7 @@ export const defaultLinks = {
37
37
showcase : { url : 'https://storybook.js.org/showcase' } ,
38
38
projects : { url : 'https://storybook.js.org/showcase/projects' } ,
39
39
componentGlossary : { url : 'https://storybook.js.org/showcase/glossary' } ,
40
- integrations : { url : 'https://storybook.js.org/integrations ' } ,
40
+ addons : { url : 'https://storybook.js.org/addons ' } ,
41
41
getInvolved : { url : 'https://storybook.js.org/community' } ,
42
42
blog : { url : 'https://storybook.js.org/blog' } ,
43
43
hiring : { url : 'https://www.chromatic.com/company/jobs' } ,
You can’t perform that action at this time.
0 commit comments