diff --git a/frontend/components/Domain/Admin/Setup/EndPageContent.vue b/frontend/components/Domain/Admin/Setup/EndPageContent.vue new file mode 100644 index 000000000..c30a5b9ae --- /dev/null +++ b/frontend/components/Domain/Admin/Setup/EndPageContent.vue @@ -0,0 +1,121 @@ + + + + + + {{ $t('admin.setup.setup-complete') }} + + + {{ $t('admin.setup.here-are-a-few-things-to-help-you-get-started') }} + + + + + {{ section.title }} + + + + + + + + + + + + + + + + diff --git a/frontend/lib/icons/icons.ts b/frontend/lib/icons/icons.ts index 5c385a995..65103505d 100644 --- a/frontend/lib/icons/icons.ts +++ b/frontend/lib/icons/icons.ts @@ -154,6 +154,7 @@ import { mdiWebhook, mdiWindowClose, mdiWrench, + mdiHandWaveOutline, } from "@mdi/js"; export const icons = { @@ -287,6 +288,7 @@ export const icons = { undo: mdiUndo, bread: mdiCookie, fileSign: mdiFileSign, + wave: mdiHandWaveOutline, // Crud backArrow: mdiArrowLeftBoldOutline, diff --git a/frontend/pages/admin/setup.vue b/frontend/pages/admin/setup.vue index a846d3416..524583a38 100644 --- a/frontend/pages/admin/setup.vue +++ b/frontend/pages/admin/setup.vue @@ -19,35 +19,45 @@ - + @@ -82,6 +92,8 @@ @@ -95,6 +107,16 @@ next-text="general.next" @click:next="onNext" > + + + @@ -107,10 +129,19 @@ + > + + + + @@ -127,10 +158,19 @@ + > + + + + @@ -177,35 +217,7 @@ - - - {{ $t('admin.setup.setup-complete') }} - - - {{ $t('admin.setup.here-are-a-few-things-to-help-you-get-started') }} - - - - - - {{ link.section }} - - - - {{ link.text }} - - - {{ link.description }} - - - + page) { + return "success"; + } + return ""; } // ================================================================ @@ -317,42 +339,6 @@ const confirmationData = computed(() => { ]; }); -const setupCompleteLinks = ref([ - { - section: i18n.t("profile.data-migrations"), - to: "/admin/backups", - text: i18n.t("settings.backup.backup-restore"), - description: i18n.t("admin.setup.restore-from-v1-backup"), - }, - { - to: "/group/migrations", - text: i18n.t("migration.recipe-migration"), - description: i18n.t("migration.coming-from-another-application-or-an-even-older-version-of-mealie"), - }, - { - section: i18n.t("recipe.create-recipes"), - to: computed(() => `/g/${groupSlug.value || ""}/r/create/new`), - text: i18n.t("recipe.create-recipe"), - description: i18n.t("recipe.create-recipe-description"), - }, - { - to: computed(() => `/g/${groupSlug.value || ""}/r/create/url`), - text: i18n.t("recipe.import-with-url"), - description: i18n.t("recipe.scrape-recipe-description"), - }, - { - section: i18n.t("user.manage-users"), - to: "/admin/manage/users", - text: i18n.t("user.manage-users"), - description: i18n.t("user.manage-users-description"), - }, - { - to: "/user/profile", - text: i18n.t("profile.manage-user-profile"), - description: i18n.t("admin.setup.manage-profile-or-get-invite-link"), - }, -]); - // ================================================================ // Page Navigation const currentPage = ref(Pages.LANDING); @@ -548,7 +534,7 @@ async function onFinish() { } -