Skip to content

Commit

Permalink
Add banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Assios committed Apr 7, 2024
1 parent a3fdad8 commit 70fe045
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions app/components/Chessguessr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,28 @@ export const Chessguessr = ({
/>
</div>
<Game>
<div className="flex justify-center items-center w-full px-4 sm:px-0">
<a
href="https://chessprophet.app"
target="_blank"
className="inline-block bg-gray-900 px-6 py-2.5 rounded-xl text-white text-sm mb-4 text-center border-2 border-white"
onClick={() => {
trackEvent("Click Chess Prophet");
}}
>
<strong>Sponsored</strong>
<svg
viewBox="0 0 2 2"
className="mx-2 inline h-0.5 w-0.5 fill-current"
aria-hidden="true"
>
<circle cx="1" cy="1" r="1" />
</svg>
New Chess Prophet game this tuesday! &nbsp;
<span aria-hidden="true">&rarr;</span>
</a>
</div>

<BoardWrapper>
<Players>
<p className="sm:text-lg lg:text-2xl mb-2 font-semibold text-center">
Expand Down

1 comment on commit 70fe045

@github-actions
Copy link

Choose a reason for hiding this comment

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

Deploy preview for chessguessr ready!

✅ Preview
https://chessguessr-drd19wppt-assios.vercel.app

Built with commit 70fe045.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.