diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue index 6bb7bdd..82736c9 100644 --- a/app/components/AppFooter.vue +++ b/app/components/AppFooter.vue @@ -1,5 +1,5 @@ + + + + \ No newline at end of file diff --git a/app/config/index.js b/app/config/index.js new file mode 100644 index 0000000..33d4512 --- /dev/null +++ b/app/config/index.js @@ -0,0 +1,2 @@ + +export const useAppFooterRouteNames= ['home', 'profile'] diff --git a/app/config/index.ts b/app/config/index.ts deleted file mode 100644 index e274689..0000000 --- a/app/config/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { RouteRecordName } from 'vue-router' - -/** - * Use the AppFooter routing whitelist - */ -export const useAppFooterRouteNames: RouteRecordName[] = ['index', 'profile'] diff --git a/app/pages/home/index.vue b/app/pages/home/index.vue index 939cc86..bf2dfb0 100644 --- a/app/pages/home/index.vue +++ b/app/pages/home/index.vue @@ -170,77 +170,4 @@ const rightColumn = computed(() => { - diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue new file mode 100644 index 0000000..8f0eab9 --- /dev/null +++ b/app/pages/login/index.vue @@ -0,0 +1,16 @@ + + + + + \ No newline at end of file diff --git a/app/static/images/asdfsdd.png b/app/static/images/asdfsdd.png new file mode 100644 index 0000000..2d53afd Binary files /dev/null and b/app/static/images/asdfsdd.png differ diff --git a/app/static/images/ghfggff.png b/app/static/images/ghfggff.png new file mode 100644 index 0000000..b6696e1 Binary files /dev/null and b/app/static/images/ghfggff.png differ diff --git a/nuxt.config.js b/nuxt.config.js index 881d3c8..2b536d3 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -4,20 +4,20 @@ import preload from './app/utils/preload' import { currentLocales } from './i18n/i18n' export default defineNuxtConfig({ - // - // hooks: { - // 'pages:extend'(pages) { - // const indexPage = pages.findIndex(page => page.path === '/') - // if (indexPage !== -1) { - // pages.splice(indexPage, 1) - // } - // pages.push({ - // name: 'home', - // path: '/', - // file: '~/pages/home/index.vue' - // }) - // } - // }, + + hooks: { + 'pages:extend'(pages) { + const indexPage = pages.findIndex(page => page.path === '/') + if (indexPage !== -1) { + pages.splice(indexPage, 1) + } + pages.push({ + name: 'home', + path: '/', + file: '~/pages/home/index.vue' + }) + } + }, modules: [ '@vant/nuxt', '@unocss/nuxt', diff --git a/package.json b/package.json index 4b56b80..48eb5e3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "nuxt": "^3.15.0", "pinia-plugin-persistedstate": "^4.2.0", "vue": "^3.5.13", - "vue-masonry-wall": "^0.3.2", "vue-router": "^4.5.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 910076c..29cd31a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,9 +26,6 @@ importers: vue: specifier: ^3.5.13 version: 3.5.13(typescript@5.7.2) - vue-masonry-wall: - specifier: ^0.3.2 - version: 0.3.2(lodash@4.17.21)(vue@3.5.13(typescript@5.7.2)) vue-router: specifier: ^4.5.0 version: 4.5.0(vue@3.5.13(typescript@5.7.2)) @@ -4800,16 +4797,6 @@ packages: peerDependencies: vue: ^3.0.0 - vue-masonry-wall@0.3.2: - resolution: {integrity: sha512-uy/tY9Lz6zVZCXmS78sv5u1yf70gAC+ElFXdV8miJfLiNnzXXt2i03I8sccx2YXDKk1IOZv6wDbKTUL8ethvfw==} - engines: {node: '>=10'} - peerDependencies: - lodash: ^4.17.15 - vue: ^2.6.10 - - vue-observe-visibility@0.4.6: - resolution: {integrity: sha512-xo0CEVdkjSjhJoDdLSvoZoQrw/H2BlzB5jrCBKGZNXN2zdZgMuZ9BKrxXDjNP2AxlcCoKc8OahI3F3r3JGLv2Q==} - vue-router@4.5.0: resolution: {integrity: sha512-HDuk+PuH5monfNuY+ct49mNmkCRK4xJAV9Ts4z9UFc4rzdDnxQLyCMGGc8pKhZhHTVzfanpNwB/lwqevcBwI4w==} peerDependencies: @@ -10455,14 +10442,6 @@ snapshots: '@vue/devtools-api': 6.6.4 vue: 3.5.13(typescript@5.7.2) - vue-masonry-wall@0.3.2(lodash@4.17.21)(vue@3.5.13(typescript@5.7.2)): - dependencies: - lodash: 4.17.21 - vue: 3.5.13(typescript@5.7.2) - vue-observe-visibility: 0.4.6 - - vue-observe-visibility@0.4.6: {} - vue-router@4.5.0(vue@3.5.13(typescript@5.7.2)): dependencies: '@vue/devtools-api': 6.6.4