Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ We are grateful for the support of our sponsors.
<img src="https://usesend.com/coderabbit-wordmark.png" alt="coderabbit.ai" style="width:200px;height:100px;">
</a>

### Bronze Sponsors

<a href="https://sayr.io/?utm_source=useSend.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.doras.to/Sayr/Sayr%20white.png" />
<source media="(prefers-color-scheme: light)" srcset="https://cdn.doras.to/Sayr/sayr%20black.png" />
<img src="https://cdn.doras.to/Sayr/sayr%20black.png" alt="Sayr" style="width:180px;height:auto;">
</picture>
</a>
Comment on lines +128 to +134
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add rel to the new external _blank sponsor link.

Line 128 opens a third-party URL in a new tab without rel="noopener noreferrer". Please add it for opener isolation.

🔧 Suggested patch
-<a href="https://sayr.io/?utm_source=useSend.com" target="_blank">
+<a href="https://sayr.io/?utm_source=useSend.com" target="_blank" rel="noopener noreferrer">
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<a href="https://sayr.io/?utm_source=useSend.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.doras.to/Sayr/Sayr%20white.png" />
<source media="(prefers-color-scheme: light)" srcset="https://cdn.doras.to/Sayr/Sayr%20black.png" />
<img src="https://cdn.doras.to/Sayr/Sayr%20black.png" alt="Sayr" style="width:180px;height:auto;">
</picture>
</a>
<a href="https://sayr.io/?utm_source=useSend.com" target="_blank" rel="noopener noreferrer">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.doras.to/Sayr/Sayr%20white.png" />
<source media="(prefers-color-scheme: light)" srcset="https://cdn.doras.to/Sayr/Sayr%20black.png" />
<img src="https://cdn.doras.to/Sayr/Sayr%20black.png" alt="Sayr" style="width:180px;height:auto;">
</picture>
</a>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 128 - 134, The external anchor element with href
"https://sayr.io/?utm_source=useSend.com" currently uses target="_blank" but
lacks rel attributes; update that <a ...> tag to include rel="noopener
noreferrer" to ensure opener isolation for the sponsor link.


### Other Sponsors

<a href="https://doras.to/?utm_source=useSend.com" target="_blank">
Expand Down
7 changes: 7 additions & 0 deletions apps/marketing/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ const config = {
images: {
// Required for static export if using images
unoptimized: true,
remotePatterns: [
{
protocol: "https",
hostname: "cdn.doras.to",
pathname: "/Sayr/**",
},
],
},
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
};
Expand Down
82 changes: 54 additions & 28 deletions apps/marketing/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,34 +60,56 @@ function Hero() {
Open source • Self-host in minutes • Free tier
</p>

<div className="mt-12 text-center text-xs text-muted-foreground flex flex-col items-center justify-center gap-2">
<div className="mt-12 text-center text-xs text-muted-foreground flex flex-col items-center justify-center gap-4">
<p className="text-xs">Proudly sponsored by</p>
<a
href="https://coderabbit.ai/?utm_source=useSend.com"
target="_blank"
>
<Image
src="/code-rabbit-usesend-dark.svg"
alt="Code Rabbit"
width={200}
height={100}
className="dark:hidden"
<div className="flex flex-col items-center gap-2">
<a
href="https://coderabbit.ai/?utm_source=useSend.com"
target="_blank"
rel="noopener noreferrer"
/>
</a>
<a
href="https://coderabbit.ai/?utm_source=useSend.com"
target="_blank"
>
<Image
src="/code-rabbit-usesend-light.svg"
alt="Code Rabbit"
width={200}
height={100}
className="hidden dark:block"
>
<Image
src="/code-rabbit-usesend-dark.svg"
alt="Code Rabbit"
width={200}
height={100}
className="dark:hidden"
/>
<Image
src="/code-rabbit-usesend-light.svg"
alt="Code Rabbit"
width={200}
height={100}
className="hidden dark:block"
/>
</a>
</div>

<div className="flex flex-col items-center gap-2 mt-4">
<p className="text-[11px] uppercase tracking-[0.25em] text-muted-foreground/80">
Bronze sponsor
</p>
<a
href="https://sayr.io/?utm_source=useSend.com"
target="_blank"
rel="noopener noreferrer"
/>
</a>
>
<Image
src="https://cdn.doras.to/Sayr/sayr%20black.png"
alt="Sayr"
width={80}
height={32}
className="h-8 w-auto dark:hidden"
/>
<Image
src="https://cdn.doras.to/Sayr/Sayr%20white.png"
alt="Sayr"
width={80}
height={32}
className="hidden h-8 w-auto dark:block"
/>
</a>
</div>
</div>

<div className=" mt-32 mx-auto max-w-5xl">
Expand Down Expand Up @@ -188,8 +210,10 @@ function TrustedBy() {
<div className="mt-5 flex items-center gap-3">
<Avatar className="rounded-lg border-2 border-primary/50 h-8 w-8">
<AvatarImage src={t.image} alt={`${t.author} avatar`} />
<AvatarFallback className="rounded-lg text-xs">{t.author.charAt(0).toUpperCase()}</AvatarFallback>
</Avatar>
<AvatarFallback className="rounded-lg text-xs">
{t.author.charAt(0).toUpperCase()}
</AvatarFallback>
</Avatar>
<figcaption className="text-sm">
<span className="font-medium">{t.author}</span>
<a
Expand Down Expand Up @@ -219,7 +243,9 @@ function TrustedBy() {
<div className="mt-5 flex items-center gap-3">
<Avatar className="rounded-lg border-2 border-primary/50 h-8 w-8">
<AvatarImage src={t.image} alt={`${t.author} avatar`} />
<AvatarFallback className="rounded-lg text-xs">{t.author.charAt(0).toUpperCase()}</AvatarFallback>
<AvatarFallback className="rounded-lg text-xs">
{t.author.charAt(0).toUpperCase()}
</AvatarFallback>
</Avatar>
<figcaption className="text-sm">
<span className="font-medium">{t.author}</span>
Expand Down