Improve design + fix design + add redirections

This commit is contained in:
2020-12-31 16:54:31 +01:00
parent 4fc649ce68
commit 12eb9ed766
11 changed files with 26 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
export default {
preference: 'system',
fallback: 'dark',
fallback: 'light',
classPrefix: '',
classSuffix: '',
}

8
config/Redirect.ts Normal file
View File

@@ -0,0 +1,8 @@
export default [
{ from: '/source', to: 'https://github.com/arthurdanjou/artsite' },
{ from: '/twitter', to: 'https://twitter.com/arthurdanj' },
{ from: '/github', to: 'https://github.com/arthurdanjou/' },
{ from: '/shelf', to: '/blog' },
{ from: '/posts', to: '/blog' },
{ from: '/resume', to: '/cv' },
]

View File

@@ -6,5 +6,6 @@ import Translation from './Translation'
import Content from './Content'
import Robots from './Robots'
import SiteMap from "./SiteMap";
import Redirect from "./Redirect";
export { Axios, Head, ColorMode, Tailwind, Translation, Content, Robots, SiteMap }
export { Axios, Head, ColorMode, Tailwind, Translation, Content, Robots, SiteMap, Redirect }