mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Change about text content and remove regions from navbar
This commit is contained in:
@@ -43,14 +43,6 @@ export default function NavBarFiltersDrawer(props: {
|
||||
<DrawerContent>
|
||||
<DrawerBody>
|
||||
<Stack mt={5} direction={'column'} spacing={'20'}>
|
||||
<Box>
|
||||
<Heading size={'lg'} mb={5}>
|
||||
{locale === 'it' ? 'Regioni' : 'Regions'}
|
||||
</Heading>
|
||||
{regions.map((region) => (
|
||||
<NavBarFiltersItem key={region.label} {...region} />
|
||||
))}
|
||||
</Box>
|
||||
<Box>
|
||||
<Heading mb={5} size={'lg'}>
|
||||
{locale === 'it' ? 'Categorie' : 'Categories'}
|
||||
|
@@ -49,7 +49,7 @@ const Navbar: FC<NavbarProps> = ({ links }) => {
|
||||
</Link>
|
||||
{links?.map((l) => (
|
||||
<Link href={l.href} key={l.href}>
|
||||
{l.label === 'Regions' || l.label === 'Regioni' ? (
|
||||
{l.label === 'Categories' || l.label === 'Categorie' ? (
|
||||
<a onClick={onOpenDrawer} className={s.link}>
|
||||
{l.label}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user