feat(core): update

This commit is contained in:
2026-06-21 20:20:20 +03:30
parent 4d995a61af
commit 58b027813d
15 changed files with 232 additions and 113 deletions

View File

@@ -54,12 +54,12 @@ export default function Header({ lang = 'fa' }){
const pathname = usePathname()
const [isOpen, setIsOpen] = useState(false)
const isFa = lang === 'fa'
const basePath = `/${lang}`
const basePath = `/${lang}/home`
const items = [
{ href: `${basePath}#about`, label: isFa ? 'درباره ما' : 'About' },
{ href: `${basePath}#products`, label: isFa ? 'محصولات' : 'Products' },
{ href: `${basePath}#production`, label: isFa ? 'تجهیزات' : 'Equipment' },
{ href: `${basePath}/management`, label: isFa ? 'مدیریت' : 'Management' },
{ href: `/${lang}/management`, label: isFa ? 'مدیریت' : 'Management' },
]
return (