diff --git a/src/components/SamandehiLogo.tsx b/src/components/SamandehiLogo.tsx new file mode 100644 index 0000000..3088cd1 --- /dev/null +++ b/src/components/SamandehiLogo.tsx @@ -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 = ({ 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 ( + {alt} + ); +}; + +export default SamandehiLogo; \ No newline at end of file diff --git a/src/shared/Footer.tsx b/src/shared/Footer.tsx index af3377e..18ca20e 100644 --- a/src/shared/Footer.tsx +++ b/src/shared/Footer.tsx @@ -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 = () => { + + { + 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" + ); + }} + > + logo-samandehi +