diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue index 6b3bb5a64f4f..c30485d65b35 100644 --- a/frontend/layouts/default.vue +++ b/frontend/layouts/default.vue @@ -152,6 +152,11 @@ export default defineComponent({ ]; const topLinks = [ + { + icon: $globals.icons.search, + to: "/", + title: i18n.t("sidebar.search"), + }, { icon: $globals.icons.calendarMultiselect, title: i18n.t("meal-plan.meal-planner"), @@ -169,11 +174,6 @@ export default defineComponent({ to: "/recipes/all", title: i18n.t("sidebar.all-recipes"), }, - { - icon: $globals.icons.search, - to: "/search", - title: i18n.t("sidebar.search"), - }, { icon: $globals.icons.tags, to: "/recipes/categories", diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue index c9b479c2912c..97135bcd6566 100644 --- a/frontend/pages/index.vue +++ b/frontend/pages/index.vue @@ -1,26 +1,491 @@ - - + + + + + + + + + + + {{ $globals.icons.tags }} + + {{ $t("category.categories") }} + + + + + + {{ $globals.icons.tags }} + + {{ $t("tag.tags") }} + + + + + + {{ $globals.icons.tools }} + + {{ $t("tool.tools") }} + + + + + + {{ $globals.icons.foods }} + + {{ $t("general.foods") }} + + + + + + + + {{ state.orderDirection === "asc" ? $globals.icons.sortAscending : $globals.icons.sortDescending }} + + {{ $vuetify.breakpoint.xsOnly ? null : sortText }} + + + + + + + {{ $globals.icons.sort }} + + + {{ state.orderDirection === "asc" ? "Sort Descending" : "Sort Ascending" }} + + + + + {{ v.icon }} + + {{ v.name }} + + + + + + + + + + + {{ $globals.icons.cog }} + + + + + + + + + {{ $tc("general.reset") }} + + + + + + + + + {{ $globals.icons.search }} + + {{ $tc("search.search") }} + + + + + + + + + + diff --git a/frontend/pages/search.vue b/frontend/pages/search.vue deleted file mode 100644 index d608c7ec16b3..000000000000 --- a/frontend/pages/search.vue +++ /dev/null @@ -1,449 +0,0 @@ - - - - - - - - - - - - - - {{ state.orderDirection === "asc" ? $globals.icons.sortAscending : $globals.icons.sortDescending }} - - {{ $vuetify.breakpoint.xsOnly ? null : $t("general.sort") }} - - - - - - - {{ $globals.icons.sort }} - - - {{ state.orderDirection === "asc" ? "Sort Descending" : "Sort Ascending" }} - - - - - {{ v.icon }} - - {{ v.name }} - - - - - - - - - {{ $globals.icons.tags }} - - {{ $t("category.categories") }} - - - - - - {{ $globals.icons.tags }} - - {{ $t("tag.tags") }} - - - - - - {{ $globals.icons.tools }} - - {{ $t("tool.tools") }} - - - - - - {{ $globals.icons.foods }} - - {{ $t("general.foods") }} - - - - - - - - {{ $globals.icons.cog }} - - - - - - - - {{ $tc("general.reset") }} - - - - - - - - - {{ $globals.icons.search }} - - {{ $tc("search.search") }} - - - - - - - - - - - - - -