Skip to content

Commit

Permalink
fix enamad
Browse files Browse the repository at this point in the history
  • Loading branch information
shirazidev committed Aug 30, 2024
1 parent 19f767b commit 72e6e70
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
8 changes: 6 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ const nextConfig = {
images: {
remotePatterns: [
{
hostname: "api.cs50xshiraz.ir",
protocol: "https"
protocol: "https",
hostname: "api.cs50xshiraz.ir"
},
{
protocol: "https",
hostname: "trustseal.enamad.ir"
}
]
},
Expand Down
14 changes: 14 additions & 0 deletions src/app/components/Footer/Sponsors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ const Sponsors = () => {
return (
<div className="flex items-center gap-4">
{renderSponsors}
<Link
referrerPolicy="origin"
target="_blank"
href="https://trustseal.enamad.ir/?id=522399&Code=o8fqvvZMjohX11ANciXEsgcm2YoIl6av"
className="shrink-0 size-[35px] sm:size-[40px] md:size-[50px] relative"
>
<Image
referrerPolicy="origin"
src="https://trustseal.enamad.ir/logo.aspx?id=522399&Code=o8fqvvZMjohX11ANciXEsgcm2YoIl6av"
alt=""
fill
style={{ cursor: 'pointer' }}
/>
</Link>
</div>
);
};
Expand Down
15 changes: 1 addition & 14 deletions src/app/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,7 @@ const Footer = () => {
<a href="tel:989353554898">تماس با ما</a>
</div>
<div className="flex justify-start items-center gap-4 w-fit">
<Link
referrerPolicy="origin"
target="_blank"
href="https://trustseal.enamad.ir/?id=522399&Code=o8fqvvZMjohX11ANciXEsgcm2YoIl6av"
className="hover:brightness-150 transition-all"
>
<Image
referrerPolicy="origin"
src="https://trustseal.enamad.ir/logo.aspx?id=522399&Code=o8fqvvZMjohX11ANciXEsgcm2YoIl6av"
alt=""
style={{ cursor: 'pointer' }}
className="size-[20px] md:size-[25px]"
/>
</Link>

<Link target="_blank" href="https://github.com/cs50xshirazu"
className="hover:brightness-150 transition-all">
<Image src={GithubIconImage} alt="github" className="size-[20px] md:size-[25px]" />
Expand Down

0 comments on commit 72e6e70

Please sign in to comment.