♻️ Fix digitalocean logo getting blocked by ad-block (#1284)

This commit is contained in:
Luke Vella 2024-08-29 22:35:31 +01:00 committed by GitHub
parent bdc1c6d81d
commit 7b2048af92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 10 deletions

View file

@ -44,6 +44,12 @@ const nextConfig = {
destination: "https://support.rallly.co",
permanent: true,
},
// Ad-Blockers block the DigitalOcean logo, when we use our referral link
{
source: "/partners/digitalocean",
destination: "https://m.do.co/c/f91efc9c9e50",
permanent: true,
},
{
source: "/p/:path*",
destination: createAppUrl("/p/:path*"),

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -265,46 +265,46 @@ const Footer: React.FunctionComponent = () => {
</div>
<div className="flex flex-wrap items-center gap-x-8 gap-y-2 md:justify-end">
<div>
<Link
<a
target="_blank"
href="https://vercel.com?utm_source=rallly&utm_campaign=oss"
className="inline-block text-white"
>
<Image
src="/static/images/third-party/vercel-logotype-dark.svg"
src="/static/images/partners/vercel-logotype-dark.svg"
alt="Vercel"
width={100}
height={24}
/>
</Link>
</a>
</div>
<div>
<Link
<a
target="_blank"
className="inline-block"
href="https://m.do.co/c/f91efc9c9e50"
href="/partners/digitalocean"
>
<Image
src="/static/images/third-party/digitalocean.svg"
src="/static/images/partners/digitalocean-logo.svg"
alt="DigitalOcean"
width={150}
height={25}
/>
</Link>
</a>
</div>
<div>
<Link
<a
target="_blank"
className="inline-block"
href="https://sentry.io"
>
<Image
src="/static/images/third-party/sentry.svg"
src="/static/images/partners/sentry.svg"
alt="Sentry"
width={105}
height={24}
/>
</Link>
</a>
</div>
</div>
</div>