import { createRouter, createWebHashHistory } from 'vue-router';
import Home from '../views/Home.vue';
import About from '../views/About.vue';
import Donation from '../views/Donation.vue';

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: About
  },
  {
    path: '/donation',
    name: 'Donation',
    component: Donation
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
