File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ export const designsystemetRedirects = (pathname: string) => {
1414 return null ;
1515} ;
1616
17- const redirects = [
17+ type Redirect = {
18+ from : string ;
19+ to : string ;
20+ } ;
21+
22+ const redirects : Redirect [ ] = [
1823 {
1924 from : '/komponenter' ,
2025 to : '/no/components' ,
@@ -202,4 +207,20 @@ const redirects = [
202207 from : '/no/fundamentals/figma/get-started' ,
203208 to : '/no/fundamentals/start-here/preparations#figma' ,
204209 } ,
210+ {
211+ from : '/no/fundamentals/code/react' ,
212+ to : '/no/fundamentals/code/setup' ,
213+ } ,
214+ {
215+ from : '/no/fundamentals/code/other-frameworks' ,
216+ to : '/no/fundamentals/code/setup' ,
217+ } ,
218+ {
219+ from : '/en/fundamentals/code/react' ,
220+ to : '/en/fundamentals/code/setup' ,
221+ } ,
222+ {
223+ from : '/en/fundamentals/code/other-frameworks' ,
224+ to : '/en/fundamentals/code/setup' ,
225+ } ,
205226] ;
You can’t perform that action at this time.
0 commit comments