Skip to content

Commit

Permalink
Temporarily remove banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Assios committed Mar 7, 2024
1 parent f81b329 commit 8a9e82f
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions app/components/Chessguessr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
} from "~/utils/utils";
import useCopyToClipboard from "~/hooks/useCopyToClipboard";
import { Tile } from "~/styles/styles";
import { useOutletContext } from "@remix-run/react";

const ChessboardWrapper = styled.div`
display: flex;
Expand Down Expand Up @@ -141,8 +140,6 @@ export const Chessguessr = ({
useHotkeys("Enter", submitGuess, [currentGuess]);
useHotkeys("Space", submitGuess, [currentGuess]);

const { trackEvent }: any = useOutletContext();

return (
<div>
<div>
Expand All @@ -164,28 +161,6 @@ 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 by Chess Prophet</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>
Predict game results and win prizes &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 8a9e82f

@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-jbb6ycvog-assios.vercel.app

Built with commit 8a9e82f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.