Skip to content

Commit

Permalink
update sponsor card and page
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkulpinski committed Jun 19, 2024
1 parent 6fad883 commit d32b74c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/components/SponsoredCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const SponsoredCard = ({ className, sponsoring, ...props }: SponsoredCard
onClick={() => posthog.capture("sponsoring_clicked", { url: sponsoring?.website })}
>
<Card.Header>
<Favicon
src={`https://www.google.com/s2/favicons?sz=128&domain_url=${sponsoring?.website}`}
/>
{sponsoring?.website && (
<Favicon src={`https://www.google.com/s2/favicons?sz=128&domain_url=${sponsoring.website}`} />
)}

<H4 as="h3" className="truncate">
{sponsoring?.name || "Sponsor OpenAlternative"}
Expand Down
4 changes: 2 additions & 2 deletions app/routes/sponsor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ export default function SubmitPage() {
icon: <SendIcon className="size-full" />,
title: "Newsletter Mention",
description: "Get featured in our monthly newsletter read by OpenSource/tech enthusiasts.",
footer: "650+ Subscribers",
footer: "~700 Subscribers",
exclusive: true,
},
{
icon: <GithubIcon className="size-full" />,
title: "GitHub Link",
description: 'Display your link in a special "Sponsors" section in our GitHub repository.',
footer: "450+ Stars",
footer: "~500 Stars",
exclusive: true,
},
]
Expand Down

0 comments on commit d32b74c

Please sign in to comment.