Fix route conflict: move offer detail page to /offers/detail/[offerId]
All checks were successful
Build Docker Image / build (push) Successful in 3m18s

- Change theme from cmyk to cupcake
- Move [offerId].vue to detail/[offerId].vue to avoid conflict with [productId]/index.vue
- Update all navigation references to use new /catalog/offers/detail/ path
This commit is contained in:
Ruslan Bakiev
2026-01-22 09:07:26 +07:00
parent 796204b3cd
commit 4e49da5f9f
6 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<template>
<component
:is="linkable ? NuxtLink : 'div'"
:to="linkable ? localePath(`/catalog/offers/${offer.uuid}`) : undefined"
:to="linkable ? localePath(`/catalog/offers/detail/${offer.uuid}`) : undefined"
class="block"
:class="{ 'cursor-pointer': selectable }"
@click="selectable && $emit('select')"