fix: swap slider navigation arrow icons direction

This commit is contained in:
alireza 2026-08-25 15:50:02 +03:30
parent dbf9d63f39
commit 2f8984ebaa
1 changed files with 21 additions and 21 deletions

View File

@ -361,27 +361,7 @@ export default function TechnogenSection() {
{isFa ? `${faNum(page + 1)} از ${faNum(totalPages)}` : `${page + 1} of ${totalPages}`}
</span>
<button
onClick={isFa ? goNext : goPrev}
style={{
width: 26,
height: 26,
borderRadius: '50%',
background: 'rgba(255,255,255,0.08)',
border: '1px solid rgba(255,255,255,0.2)',
color: '#fff',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
cursor: 'pointer',
transition: 'all 0.15s',
}}
className="hover:!bg-gold hover:!text-navy"
title={isFa ? 'قبلی' : 'Previous'}
>
<ChevronRight size={14} />
</button>
<button
onClick={isFa ? goPrev : goNext}
onClick={goNext}
style={{
width: 26,
height: 26,
@ -400,6 +380,26 @@ export default function TechnogenSection() {
>
<ChevronLeft size={14} />
</button>
<button
onClick={goPrev}
style={{
width: 26,
height: 26,
borderRadius: '50%',
background: 'rgba(255,255,255,0.08)',
border: '1px solid rgba(255,255,255,0.2)',
color: '#fff',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
cursor: 'pointer',
transition: 'all 0.15s',
}}
className="hover:!bg-gold hover:!text-navy"
title={isFa ? 'قبلی' : 'Previous'}
>
<ChevronRight size={14} />
</button>
</div>
</div>
)}