import { createRouter, createWebHashHistory } from 'vue-router';
import DashboardPage from './components/DashboardPage.vue';
import AboutUsPage from './components/AboutUsPage.vue';
import SettingsPage from './components/settings/SettingsPage.vue';

const router = createRouter({
	history: createWebHashHistory(),
	routes: [
		{
			path: '/',
			name: 'dashboard',
			component: DashboardPage,
			alias: '/dashboard'
		},
		{
			path: '/about-us',
			name: 'about-us',
			component: AboutUsPage
		},
		{
			path: '/settings',
			name: 'settings',
			component: SettingsPage
		}
	]
});

export default router;
