From 8c40891427bb8d54f847781ab5975b1f27eff4f6 Mon Sep 17 00:00:00 2001 From: Timotej Date: Tue, 27 Jan 2026 17:26:55 +0100 Subject: [PATCH 1/2] added orders page --- src/layouts/AppLayout.vue | 8 +++++++ src/pages/OrdersPage.vue | 49 +++++++++++++++++++++++++++++++++++++++ src/router.ts | 2 ++ 3 files changed, 59 insertions(+) create mode 100644 src/pages/OrdersPage.vue diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index 3477556..4c87a39 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -5,6 +5,7 @@ import { useRoute } from "vue-router"; const route = useRoute(); const isProducts = computed(() => route.path.startsWith("/products")); +const isOrders = computed(() => route.path.startsWith("/orders")); const linkClass = (active: boolean) => [ @@ -35,6 +36,13 @@ const linkClass = (active: boolean) => Products + + Orders + +