diff --git a/src/base/TopMenu.vue b/src/base/TopMenu.vue index bbc6d2b..09c01f8 100644 --- a/src/base/TopMenu.vue +++ b/src/base/TopMenu.vue @@ -56,21 +56,40 @@ - diff --git a/src/page/About.vue b/src/page/About.vue index 83e0a2c..c4cb1aa 100644 --- a/src/page/About.vue +++ b/src/page/About.vue @@ -1,11 +1,36 @@ diff --git a/src/router.js b/src/router.js index d5ce176..f92fd66 100644 --- a/src/router.js +++ b/src/router.js @@ -1,4 +1,4 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import Home from './page/Home.vue' import About from './page/About.vue' @@ -13,18 +13,18 @@ const routes = [ title: 'Generator - OG:IMAGE' } }, - // { - // path: '/about', - // name: 'About', - // component: About, - // meta: { - // title: 'About' - // } - // }, + { + path: '/about', + name: 'About', + component: About, + meta: { + title: 'About' + } + }, ]; const router = createRouter({ - history: createWebHistory(), + history: createWebHashHistory(), base: APP_BASE_URL, routes, }); diff --git a/src/ui/DownloadButton.vue b/src/ui/DownloadButton.vue index 7e50ede..058df75 100644 --- a/src/ui/DownloadButton.vue +++ b/src/ui/DownloadButton.vue @@ -3,7 +3,6 @@ type="button" class="px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white" :class="class" - @click="downloadAsJpeg" v-text="label" />