We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da1f197 commit f99e2e9Copy full SHA for f99e2e9
src/components/sponsors/logo.tsx
@@ -11,9 +11,15 @@ interface LogoOptions {
11
const Logo = ({ imgSrc, url, alt }: LogoOptions) => {
12
const imgClass = imgSrc.width / imgSrc.height < 1.75 ? styles.tall : '';
13
14
+ if (!imgSrc.blurDataURL) {
15
+ // eslint-disable-next-line no-param-reassign
16
+ imgSrc.blurDataURL =
17
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8vx8AAsMBwDLzsnQAAAAASUVORK5CYII=';
18
+ }
19
+
20
return (
21
<li className={styles.container}>
- <a href={url}>
22
+ <a href={url} target="_blank" rel="noreferrer">
23
<Image src={imgSrc} alt={alt} className={imgClass} />
24
</a>
25
</li>
0 commit comments