Skip to content

Commit

Permalink
add sponsor link title
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkulpinski committed Jul 24, 2024
1 parent 330dd3e commit 1e7472f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ OpenAlternative is an GPL-3.0-licensed open source project with its ongoing deve

<p align="center">
<a target="_blank" href="https://openalternative.co/sponsor#sponsors">
<img alt="Sponsor" src="https://openalternative.co/sponsors/sponsors.png" height="100">
<img alt="Sponsors" src="https://openalternative.co/sponsors/sponsors.png">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion app/routes/sponsor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const meta: MetaFunction<typeof loader> = ({ matches, data, location }) =

export const loader = async () => {
const sponsoringDates = await prisma.sponsoring.findMany({
select: { name: true, website: true, startsAt: true, endsAt: true, createdAt: true },
orderBy: { createdAt: "asc" },
})

Expand Down Expand Up @@ -186,6 +185,7 @@ export default function SponsorPage() {
target="_blank"
rel="noopener noreferrer"
className="opacity-75 hover:opacity-100"
title={sponsor.description ?? undefined}
onClick={() => posthog.capture("sponsoring_clicked", { url: sponsor?.website })}
>
<img
Expand Down

0 comments on commit 1e7472f

Please sign in to comment.