
import HomePage from '../pages/home.vue';
import AboutPage from '../pages/about.vue';
import SettingsPage from '../pages/settings.vue';
import DetectPage from '../pages/detect.vue';
import ContactPage from  '../pages/contact.vue';
import SpecsPage from  '../pages/specs.vue';
import HelpPage from  '../pages/help.vue';

import NotFoundPage from '../pages/404.vue';

var routes = [
  {
    path: '/',
    component: HomePage,
  },
  {
    path: '/about/',
    component: AboutPage,
  },
  {
    path: '/help/',
    component: HelpPage,
  },
  {
    path: '/specs/',
    component: SpecsPage,
  },
  {
    path: '/detect/:region/',
    component: DetectPage,
  },
  {
    path: '/settings/',
    component: SettingsPage
  },
  {
    path: '/contact/',
    component: ContactPage,
  },
  {
    path: '(.*)',
    component: NotFoundPage,
  },
];

export default routes;
