Skip to content

Commit

Permalink
fix: added missing prop to links for security (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexphiev authored Dec 19, 2024
1 parent 964f6c5 commit 36eda04
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions frontend/components/core/map/partner-credits.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
import Image from "next/image";




import Image from "next/image"

interface Props {
wide: boolean
}

export default function PartnerCredits({
wide = false,
}: Props) {
export default function PartnerCredits({ wide = false }: Props) {
return (
<div className={`text-xs font-bold z-50 flex justify-around items-center gap-2 ${wide ? "block" : "hidden"}`}>
<div
className={`z-50 flex items-center justify-around gap-2 text-xs font-bold ${wide ? "block" : "hidden"}`}
>
<p>by</p>
<a href="https://bloomassociation.org" target="_blank">
<a
href="https://bloomassociation.org"
target="_blank"
rel="noopener noreferrer"
>
<Image src="/img/bloom-logo.png" alt="Logo" width={60} height={50} />
</a>
<p className="text-base">&</p>
<a href="https://dataforgood.fr/" target="_blank">
<a
href="https://dataforgood.fr/"
target="_blank"
rel="noopener noreferrer"
>
<Image
src="/img/data-for-good-logo.png"
alt="Logo"
width={90}
height={50}
/>
/>
</a>
</div>
)
}
}

0 comments on commit 36eda04

Please sign in to comment.