diff --git a/app.vue b/app.vue index 6c0bad8..90ef8c6 100644 --- a/app.vue +++ b/app.vue @@ -34,3 +34,15 @@ onMounted(() => { auth.readProfiles() }) + + diff --git a/components/LocaleSelect.vue b/components/LocaleSelect.vue index 75c9130..e372149 100644 --- a/components/LocaleSelect.vue +++ b/components/LocaleSelect.vue @@ -15,7 +15,7 @@ :key="item.code" :value="item.code" :active="locale == item.code" - @click.prevent.stop="setLocale(item.code)" + @click.prevent.stop="() => { setLocale(item.code); emits('update') }" > {{ item.name }} @@ -24,5 +24,6 @@ diff --git a/components/activity/Carousel.vue b/components/activity/Carousel.vue deleted file mode 100644 index 1a2d05f..0000000 --- a/components/activity/Carousel.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - diff --git a/components/activity/List.vue b/components/activity/List.vue new file mode 100644 index 0000000..8d5b36a --- /dev/null +++ b/components/activity/List.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/lang/en-US.json b/lang/en-US.json index 262e474..b144376 100644 --- a/lang/en-US.json +++ b/lang/en-US.json @@ -75,5 +75,6 @@ "attachmentUploadProgress": "Uploading", "attachmentUploadCompleted": "Uploaded", "upload": "Upload", - "cancel": "Cancel" + "cancel": "Cancel", + "seeMore": "See more" } diff --git a/lang/zh-CN.json b/lang/zh-CN.json index 6760c8d..326eb5c 100644 --- a/lang/zh-CN.json +++ b/lang/zh-CN.json @@ -75,5 +75,6 @@ "attachmentUploadProgress": "上传中", "attachmentUploadCompleted": "上传完成", "upload": "上传", - "cancel": "取消" + "cancel": "取消", + "seeMore": "查看更多" } diff --git a/layouts/docs.vue b/layouts/docs.vue index c7876ec..1eb08c0 100644 --- a/layouts/docs.vue +++ b/layouts/docs.vue @@ -1,36 +1,22 @@ diff --git a/nuxt.config.ts b/nuxt.config.ts index dadae78..fe1b7b4 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -62,6 +62,7 @@ export default defineNuxtConfig({ }, app: { + pageTransition: { name: "page", mode: "out-in" }, head: { title: "Solsynth LLC", titleTemplate: "%s | Solsynth", diff --git a/pages/docs/[...slug].vue b/pages/docs/[...slug].vue index ec05ef5..bf92e2d 100644 --- a/pages/docs/[...slug].vue +++ b/pages/docs/[...slug].vue @@ -17,33 +17,22 @@ - -
- - - - - -
- - - - - + + +
- - - +
+
+
@@ -58,7 +47,7 @@ const { t } = useI18n() const { data: page } = await useAsyncData("page", queryContent(route.path).where({ _locale: getLocale() }).findOne) const drawerTab = ref(0) -const drawerOpen = ref(false) +const dialogOpen = ref(false) if (page.value == null) { throw createError({ diff --git a/pages/index.vue b/pages/index.vue index 2db089d..ce7c953 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -21,8 +21,8 @@ - - + +