Hide website slider/special sections from business hub
Remove website homepage management cards for sliders, special categories, and special brands. Also move the special section slug chip after the Farsi title. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
5f4b0b4f92
commit
7b51dda82a
@@ -84,10 +84,14 @@ export function StoreSpecialCarousel({
|
||||
<section className={styles.section}>
|
||||
<div className={styles.header}>
|
||||
<div className={styles.titleRow}>
|
||||
<span className={styles.keyChip} dir="ltr" title="Slug (key) — قابل کپی کردن">
|
||||
<h3 className={styles.title}>{special.title}</h3>
|
||||
<span
|
||||
className={styles.keyChip}
|
||||
dir="ltr"
|
||||
title="Slug (key) — قابل کپی کردن"
|
||||
>
|
||||
{special.key}
|
||||
</span>
|
||||
<h3 className={styles.title}>{special.title}</h3>
|
||||
</div>
|
||||
<div className={styles.headerActions}>
|
||||
<Tooltip label={t('website.specialItems.editCategory')}>
|
||||
|
||||
@@ -5,8 +5,6 @@ import {
|
||||
Award,
|
||||
Image,
|
||||
Images,
|
||||
LayoutGrid,
|
||||
Building2,
|
||||
Sparkles,
|
||||
} from 'lucide-react'
|
||||
import { SectionCard } from '../components/SectionCard'
|
||||
@@ -30,27 +28,6 @@ const websiteSections: {
|
||||
linkKey: 'website.card.staticImages.link',
|
||||
href: '/website/static-images',
|
||||
},
|
||||
{
|
||||
icon: Images,
|
||||
titleKey: 'nav.website.sliders',
|
||||
descKey: 'website.card.sliders.desc',
|
||||
linkKey: 'website.card.sliders.link',
|
||||
href: '/website/sliders',
|
||||
},
|
||||
{
|
||||
icon: LayoutGrid,
|
||||
titleKey: 'nav.website.specialCategories',
|
||||
descKey: 'website.card.specialCategories.desc',
|
||||
linkKey: 'website.card.specialCategories.link',
|
||||
href: '/website/special-categories',
|
||||
},
|
||||
{
|
||||
icon: Building2,
|
||||
titleKey: 'nav.website.specialBrands',
|
||||
descKey: 'website.card.specialBrands.desc',
|
||||
linkKey: 'website.card.specialBrands.link',
|
||||
href: '/website/special-brands',
|
||||
},
|
||||
{
|
||||
icon: Sparkles,
|
||||
titleKey: 'nav.website.specialItems',
|
||||
|
||||
Reference in New Issue
Block a user