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:
Alireza Hassani
2026-08-18 11:33:35 +03:30
co-authored by Cursor
parent 5f4b0b4f92
commit 7b51dda82a
2 changed files with 6 additions and 25 deletions
@@ -84,10 +84,14 @@ export function StoreSpecialCarousel({
<section className={styles.section}> <section className={styles.section}>
<div className={styles.header}> <div className={styles.header}>
<div className={styles.titleRow}> <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} {special.key}
</span> </span>
<h3 className={styles.title}>{special.title}</h3>
</div> </div>
<div className={styles.headerActions}> <div className={styles.headerActions}>
<Tooltip label={t('website.specialItems.editCategory')}> <Tooltip label={t('website.specialItems.editCategory')}>
-23
View File
@@ -5,8 +5,6 @@ import {
Award, Award,
Image, Image,
Images, Images,
LayoutGrid,
Building2,
Sparkles, Sparkles,
} from 'lucide-react' } from 'lucide-react'
import { SectionCard } from '../components/SectionCard' import { SectionCard } from '../components/SectionCard'
@@ -30,27 +28,6 @@ const websiteSections: {
linkKey: 'website.card.staticImages.link', linkKey: 'website.card.staticImages.link',
href: '/website/static-images', 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, icon: Sparkles,
titleKey: 'nav.website.specialItems', titleKey: 'nav.website.specialItems',