Simon Vieille
621c07eb7f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add option to set the size of the author name and images rename HomePage with OgImageGeneratorPage
30 lines
566 B
JavaScript
30 lines
566 B
JavaScript
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
import OgImageGeneratorPage from './page/OgImageGeneratorPage.vue'
|
|
import AboutPage from './page/AboutPage.vue'
|
|
|
|
const routes = [
|
|
{
|
|
path: '/',
|
|
name: 'og-generator',
|
|
component: OgImageGeneratorPage,
|
|
meta: {
|
|
title: 'Generator - OG:IMAGE'
|
|
}
|
|
},
|
|
{
|
|
path: '/about',
|
|
name: 'About',
|
|
component: AboutPage,
|
|
meta: {
|
|
title: 'About - OG:IMAGE'
|
|
}
|
|
},
|
|
];
|
|
|
|
const router = createRouter({
|
|
history: createWebHashHistory(),
|
|
routes,
|
|
});
|
|
|
|
export default router;
|