fix(contact): حذف «نیاز به گفتگوی فوری دارید؟» از فرم موبایل — متن هاردکد فارسی بود و در /en هم فارسی دیده میشد
This commit is contained in:
@@ -5,7 +5,6 @@ import { Reveal } from './Reveal'
|
|||||||
import { Button } from './Button'
|
import { Button } from './Button'
|
||||||
import { useSite } from '../api'
|
import { useSite } from '../api'
|
||||||
import { useLang } from '../i18n/lang'
|
import { useLang } from '../i18n/lang'
|
||||||
import { track } from '../analytics'
|
|
||||||
import { useFieldSaver } from '../admin/AdminContext'
|
import { useFieldSaver } from '../admin/AdminContext'
|
||||||
import { InlineEdit } from './admin/InlineEdit'
|
import { InlineEdit } from './admin/InlineEdit'
|
||||||
import { SingletonPill } from '../admin/Editable'
|
import { SingletonPill } from '../admin/Editable'
|
||||||
@@ -220,15 +219,6 @@ export function ContactSection({ bare = false }: { bare?: boolean } = {}) {
|
|||||||
{sending ? content.sending_label : content.submit_label}
|
{sending ? content.sending_label : content.submit_label}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
{/* Direct Call Fallback */}
|
|
||||||
<a
|
|
||||||
href={brand.phone_href}
|
|
||||||
onClick={() => track('phone-click', { from: 'contact-section-mobile-hotline' })}
|
|
||||||
className="flex items-center justify-center gap-1.5 pt-2 text-[11px] text-ivory/60 hover:text-copper transition-colors"
|
|
||||||
>
|
|
||||||
<span>نیاز به گفتگوی فوری دارید؟</span>
|
|
||||||
<span className="font-bold text-copper dir-ltr" dir="ltr">{brand.phone}</span>
|
|
||||||
</a>
|
|
||||||
</form>
|
</form>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user