2023-02-24 22:11:53 +01:00
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
2024-04-18 20:16:20 +02:00
|
|
|
import OgImageGeneratorPage from './page/OgImageGeneratorPage.vue'
|
2023-02-26 16:49:19 +01:00
|
|
|
import AboutPage from './page/AboutPage.vue'
|
2023-01-30 09:01:16 +01:00
|
|
|
|
|
|
|
const routes = [
|
|
|
|
{
|
2023-02-24 22:18:05 +01:00
|
|
|
path: '/',
|
2024-04-18 20:16:20 +02:00
|
|
|
name: 'og-generator',
|
|
|
|
component: OgImageGeneratorPage,
|
2023-01-30 09:01:16 +01:00
|
|
|
meta: {
|
2023-01-30 14:04:01 +01:00
|
|
|
title: 'Generator - OG:IMAGE'
|
2023-01-30 09:01:16 +01:00
|
|
|
}
|
|
|
|
},
|
2023-02-24 22:11:53 +01:00
|
|
|
{
|
|
|
|
path: '/about',
|
|
|
|
name: 'About',
|
2023-02-26 16:49:19 +01:00
|
|
|
component: AboutPage,
|
2023-02-24 22:11:53 +01:00
|
|
|
meta: {
|
2023-02-26 17:49:47 +01:00
|
|
|
title: 'About - OG:IMAGE'
|
2023-02-24 22:11:53 +01:00
|
|
|
}
|
|
|
|
},
|
2023-01-30 09:01:16 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
const router = createRouter({
|
2023-02-24 22:11:53 +01:00
|
|
|
history: createWebHashHistory(),
|
2023-01-30 09:01:16 +01:00
|
|
|
routes,
|
|
|
|
});
|
|
|
|
|
|
|
|
export default router;
|