import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: HomeView,
    },
    {
      path: '/about',
      name: 'About',
      component: () => import('../views/AboutView.vue'),
    },
    {
      path: '/content',
      name: 'Content',
      component: () => import('../views/ContentView.vue'),
    },
    {
      path: '/article',
      name: 'ArticleDetail',
      component: () => import('../views/Details/ArticleDetail.vue'),
    },
    {
      path: '/video',
      name: 'VideoDetail',
      component: () => import('../views/Details/VideoDetail.vue'),
    },
    {
      path: '/artifact',
      name: 'ArtifactDetail',
      component: () => import('../views/Details/ArtifactDetail.vue'),
    },
    {
      path: '/intangible',
      name: 'IntangibleDetail',
      component: () => import('../views/Details/IntangibleDetail.vue'),
    },
    {
      path: '/artifact',
      name: 'ArtifactDetail',
      component: () => import('../views/Details/ArtifactDetail.vue'),
    },
    {
      path: '/IntangibleList',
      name: 'IntangibleList',
      component: () => import('../views/Intangible/List.vue'),
    },
    {
      path: '/inheritMap',
      name: 'InheritMap',
      component: () => import('../views/Intangible/Map.vue'),
    },


  ],
})

export default router
