diff --git a/components/layouts/navbar.vue b/components/layouts/navbar.vue index 5b3b7fe..1151ada 100644 --- a/components/layouts/navbar.vue +++ b/components/layouts/navbar.vue @@ -48,55 +48,47 @@ @click="clickFn" :active-key="cur" > - {{ $tm("navbar.home") }} - {{ $tm("navbar.bands") }} - {{ $tm("navbar.authors") }} - {{ $tm("navbar.forum") }} - - {{ $tm("navbar.account") }} - - {{ $tm("navbar.editProfile") }} - - {{ $tm("navbar.profile") }} - {{ $tm("navbar.account") }} - {{ $tm("navbar.account") }} - {{ $tm("navbar.reviews") }} - {{ $tm("navbar.messages") }} + Home + Bands + Authors + Message Board + + Account + Edit Profile + View Profile + Stories + Drafts + Manage Reviews + Private Messages - {{ $tm("navbar.admin") }} - - - {{ $tm("navbar.logout") }} + Admin + Logout
- {{ $tm("newStoryButton") }} + Post a New Story
- {{ $tm("navbar.login") }} + Login - {{ $tm("navbar.register") }} + Register
diff --git a/components/layouts/sidebar.vue b/components/layouts/sidebar.vue index d0a1215..1183ef0 100644 --- a/components/layouts/sidebar.vue +++ b/components/layouts/sidebar.vue @@ -16,7 +16,6 @@ const selState = ref(""); const { data: injecto } = await useApiFetch("/sidebar"); - const { tm, rt } = useI18n(); let items: Ref = ref([ { @@ -58,9 +57,7 @@ } as SubMenuType, { key: "fun-features", - label: h("span", { class: "smallcaps" }, [ - rt(tm("sidebar.features")), - ]), + label: h("span", { class: "smallcaps" }, ["Fun features"]), icon: h(Icon, { istyle: "regular", name: "sparkles", diff --git a/nuxt.config.ts b/nuxt.config.ts index cc70c82..d871795 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -25,7 +25,7 @@ export default defineNuxtConfig({ // noScripts: true, treeshakeClientOnly: true, }, - devtools: { enabled: false }, + devtools: { enabled: true }, modules: [ "vue-recaptcha/nuxt", "@ant-design-vue/nuxt", @@ -33,12 +33,12 @@ export default defineNuxtConfig({ "@pinia/nuxt", "@vueuse/nuxt", "nuxt-speedkit", - "@nuxtjs/i18n", + // "@nuxtjs/i18n", // "./modules/09.loaded", ], - i18n: { - vueI18n: `./i18n.config.ts`, - }, + // i18n: { + // vueI18n: `./i18n.config.ts`, + // }, speedkit: { disableNuxtFontaine: true, lazyOffset: { @@ -120,9 +120,9 @@ export default defineNuxtConfig({ "@models": fileURLToPath(new URL("./models", import.meta.url)), "@client": fileURLToPath(new URL("./lib/client", import.meta.url)), "@server": fileURLToPath(new URL("./lib/server", import.meta.url)), - "@models/*": fileURLToPath(new URL("./models/*", import.meta.url)), - "@client/*": fileURLToPath(new URL("./lib/client/*", import.meta.url)), - "@server/*": fileURLToPath(new URL("./lib/server/*", import.meta.url)), + // "@models/*": fileURLToPath(new URL("./models/*", import.meta.url)), + // "@client/*": fileURLToPath(new URL("./lib/client/*", import.meta.url)), + // "@server/*": fileURLToPath(new URL("./lib/server/*", import.meta.url)), // "@models/**": "./models/**", // "@client/**": "./lib/client/**", // "@server/**": "./lib/server/**",