logo samandehi

This commit is contained in:
hamid zarghami
2025-06-03 10:38:35 +03:30
parent 34c2ef074d
commit 864d600152
2 changed files with 57 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
'use client';
import { FC } from 'react';
interface SamandehiLogoProps {
id: string;
alt: string;
className: string;
src: string;
verifyUrl: string;
}
const SamandehiLogo: FC<SamandehiLogoProps> = ({ id, alt, className, src, verifyUrl }) => {
const handleClick = () => {
window.open(
verifyUrl,
"Popup",
"toolbar=no, scrollbars=no, location=no, statusbar=no, menubar=no, resizable=0, width=450, height=630, top=30"
);
};
return (
<img
referrerPolicy="origin"
id={id}
onClick={handleClick}
alt={alt}
className={className}
src={src}
/>
);
};
export default SamandehiLogo;
+23
View File
@@ -1,3 +1,5 @@
'use client';
/* eslint-disable @next/next/no-img-element */
import Input from '@/components/Input'
import { ArrowLeft } from 'iconsax-react'
@@ -163,6 +165,27 @@ const Footer: FC = () => {
<a style={{ maxWidth: 50 }} className='mb-2' referrerPolicy='origin' target='_blank' href='https://trustseal.enamad.ir/?id=605216&Code=EySGtdfcfCfKe3UlAvt3F6aR1u46qA4c'>
<img referrerPolicy='origin' src='https://trustseal.enamad.ir/logo.aspx?id=605216&Code=EySGtdfcfCfKe3UlAvt3F6aR1u46qA4c' alt='' style={{ cursor: 'pointer', width: '50px' }} />
</a>
<a
href="https://logo.samandehi.ir/Verify.aspx?id=380601&p=xlaomcsiobpdgvkaobpdrfth"
target="_blank"
onClick={(e) => {
e.preventDefault();
window.open(
"https://logo.samandehi.ir/Verify.aspx?id=380601&p=xlaomcsiobpdgvkaobpdrfth",
"Popup",
"toolbar=no, scrollbars=no, location=no, statusbar=no, menubar=no, resizable=0, width=450, height=630, top=30"
);
}}
>
<img
referrerPolicy='origin'
id='rgvjoeukesgtfukzesgtjxlz'
alt='logo-samandehi'
className='w-[50px] cursor-pointer'
src='https://logo.samandehi.ir/logo.aspx?id=380601&p=qftiaqgwlymawlbqlymanbpd'
/>
</a>
</div>
<div className='xl:h-14 border-t border-[#DADDE6] flex xl:flex-row flex-col gap-5 pt-5 xl:pt-0 justify-between items-center'>