Rename contact route slug

This commit is contained in:
Alireza Hassani
2026-09-08 10:12:36 +03:30
parent 0b8527c136
commit 6985c0fb23
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export default function ProductMenu() {
<div className="mega-columns">{groups.map(group => <section key={group.title}>
<h2><group.icon size={21} aria-hidden="true" />{group.title}</h2>
<ul>{catalog.slice(group.start, group.end).map(product => <li key={product.source}>
<a href={product.downloaded ? product.url : '/tmas-bama'} target={product.downloaded ? '_blank' : undefined} rel={product.downloaded ? 'noreferrer' : undefined} onClick={() => setOpen(false)}>
<a href={product.downloaded ? product.url : '/contact-us'} target={product.downloaded ? '_blank' : undefined} rel={product.downloaded ? 'noreferrer' : undefined} onClick={() => setOpen(false)}>
<span>{product.title}</span><small>{product.downloaded ? 'PDF' : 'درخواست'}</small>
</a>
</li>)}</ul>