Skip to content

Commit

Permalink
docs: move redirects to vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Jun 23, 2021
1 parent ffae0d6 commit cb483d7
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 20 deletions.
20 changes: 0 additions & 20 deletions packages/docs/static/_redirects

This file was deleted.

89 changes: 89 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"redirects": [
{
"destination": "/use-theme-ui",
"source": "/hooks",
"permanent": false
},
{
"destination": "/how-it-works",
"source": "/guides/how-it-works",
"permanent": false
},
{
"destination": "/jsx-pragma",
"source": "/guides/jsx-pragma",
"permanent": false
},
{
"destination": "/motivation",
"source": "/guides/motivation",
"permanent": false
},
{
"destination": "/object-styles",
"source": "/guides/object-styles",
"permanent": false
},
{
"destination": "/presets",
"source": "/packages/presets",
"permanent": false
},
{
"destination": "/prism",
"source": "/packages/prism",
"permanent": false
},
{
"destination": "/color",
"source": "/packages/color",
"permanent": false
},
{
"destination": "/style-guide",
"source": "/packages/style-guide",
"permanent": false
},
{
"destination": "/editor",
"source": "/packages/editor",
"permanent": false
},
{
"destination": "/gatsby-plugin",
"source": "/packages/gatsby-plugin",
"permanent": false
},
{
"destination": "/gatsby-theme-ui-blog",
"source": "/packages/gatsby-theme-ui-blog",
"permanent": false
},
{
"destination": "/gatsby-theme-style-guide",
"source": "/packages/gatsby-theme-style-guide",
"permanent": false
},
{
"destination": "/typography",
"source": "/packages/typography",
"permanent": false
},
{
"destination": "/match-media",
"source": "/packages/match-media",
"permanent": false
},
{
"destination": "/css/tachyons",
"source": "/packages/tachyons",
"permanent": false
},
{
"destination": "/css/tailwind",
"source": "/packages/tailwind",
"permanent": false
}
]
}

0 comments on commit cb483d7

Please sign in to comment.