chore(catalog): simplify nested page headers, remove charts
Some checks failed
Build Docker Image / build (push) Has been cancelled
Some checks failed
Build Docker Image / build (push) Has been cancelled
- Remove chart components and unused price history code - Simplify headers to show only hint text - Keep navigation badges in search bar
This commit is contained in:
@@ -19,28 +19,8 @@
|
||||
</template>
|
||||
|
||||
<template #header>
|
||||
<!-- Not Found -->
|
||||
<Card v-if="!isLoading && !hub" padding="lg">
|
||||
<Stack align="center" gap="4">
|
||||
<IconCircle tone="primary">
|
||||
<Icon name="lucide:map-pin" size="24" />
|
||||
</IconCircle>
|
||||
<Heading :level="2">{{ t('catalogHub.not_found.title') }}</Heading>
|
||||
<Text tone="muted">{{ t('catalogHub.not_found.subtitle') }}</Text>
|
||||
<Button @click="navigateTo(localePath('/catalog'))">
|
||||
{{ t('catalogHub.actions.back_to_catalog') }}
|
||||
</Button>
|
||||
</Stack>
|
||||
</Card>
|
||||
|
||||
<!-- Content Header -->
|
||||
<Stack v-else gap="4">
|
||||
<!-- Header -->
|
||||
<div>
|
||||
<Heading :level="1">{{ hub?.name }}</Heading>
|
||||
<Text tone="muted" size="sm">{{ hub?.country }}</Text>
|
||||
</div>
|
||||
</Stack>
|
||||
<Text v-if="!isLoading && !hub" tone="muted">Хаб не найден</Text>
|
||||
<Text v-else-if="!isLoading" tone="muted">Выберите товар</Text>
|
||||
</template>
|
||||
|
||||
<template #card="{ item }">
|
||||
|
||||
Reference in New Issue
Block a user