@@ -81,4 +81,85 @@ exports.createPages = ({ actions }) => {
81
81
toPath : '/all-about-carbon/releases' ,
82
82
isPermanent : true ,
83
83
} ) ;
84
+ createRedirect ( {
85
+ fromPath : ' /contributing/overview' ,
86
+ toPath : '/contributing/get-started' ,
87
+ isPermanent : true ,
88
+ } ) ;
89
+ createRedirect ( {
90
+ fromPath : ' /components/overview' ,
91
+ toPath : '/components/overview/components/' ,
92
+ isPermanent : true ,
93
+ } ) ;
94
+
95
+ // Case studies
96
+ createRedirect ( {
97
+ fromPath : ' /case-studies/overview' ,
98
+ toPath : '/all-about-carbon/who-uses-carbon/' ,
99
+ isPermanent : true ,
100
+ } ) ;
101
+ createRedirect ( {
102
+ fromPath : ' /case-studies/consistency-in-the-cloud' ,
103
+ toPath : '/all-about-carbon/who-uses-carbon/' ,
104
+ isPermanent : true ,
105
+ } ) ;
106
+ createRedirect ( {
107
+ fromPath : ' /case-studies/ibm-commerce-platform' ,
108
+ toPath : '/all-about-carbon/who-uses-carbon/' ,
109
+ isPermanent : true ,
110
+ } ) ;
111
+
112
+ // Data-visualization
113
+ createRedirect ( {
114
+ fromPath : '/data-visualization/basic-charts' ,
115
+ toPath : '/data-visualization/simple-charts' ,
116
+ isPermanent : true ,
117
+ } ) ;
118
+ createRedirect ( {
119
+ fromPath : '/data-visualization/advanced-charts' ,
120
+ toPath : '/data-visualization/complex-charts' ,
121
+ isPermanent : true ,
122
+ } ) ;
123
+
124
+ // Elements L0 - 2022/02
125
+ createRedirect ( {
126
+ fromPath : '/guidelines/2x-grid/overview' ,
127
+ toPath : '/elements/2x-grid/overview' ,
128
+ isPermanent : true ,
129
+ } ) ;
130
+ createRedirect ( {
131
+ fromPath : '/guidelines/color/overview' ,
132
+ toPath : '/elements/color/overview' ,
133
+ isPermanent : true ,
134
+ } ) ;
135
+ createRedirect ( {
136
+ fromPath : '/guidelines/icons/library' ,
137
+ toPath : '/elements/icons/library' ,
138
+ isPermanent : true ,
139
+ } ) ;
140
+ createRedirect ( {
141
+ fromPath : '/guidelines/pictograms/library' ,
142
+ toPath : '/elements/pictograms/library' ,
143
+ isPermanent : true ,
144
+ } ) ;
145
+ createRedirect ( {
146
+ fromPath : '/guidelines/motion/overview' ,
147
+ toPath : '/elements/motion/overview' ,
148
+ isPermanent : true ,
149
+ } ) ;
150
+ createRedirect ( {
151
+ fromPath : '/guidelines/spacing/overview' ,
152
+ toPath : '/elements/spacing/overview' ,
153
+ isPermanent : true ,
154
+ } ) ;
155
+ createRedirect ( {
156
+ fromPath : '/guidelines/themes/overview' ,
157
+ toPath : '/elements/themes/overview' ,
158
+ isPermanent : true ,
159
+ } ) ;
160
+ createRedirect ( {
161
+ fromPath : '/guidelines/typography/overview' ,
162
+ toPath : '/elements/typography/overview' ,
163
+ isPermanent : true ,
164
+ } ) ;
84
165
} ;
0 commit comments