Skip to content

Commit 78a7267

Browse files
chore: update beta blurb
1 parent d6a687a commit 78a7267

File tree

1 file changed

+8
-40
lines changed

1 file changed

+8
-40
lines changed

src/components/Home/HomeHero.tsx

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -258,48 +258,16 @@ export const HomeHero: React.FC<Props> = ({ scrollHandler }: Props) => {
258258
}
259259

260260
function BetaBlurb() {
261-
const { user, connectLichess } = useContext(AuthContext)
262-
263261
return (
264262
<div className="mt-2 flex items-center justify-center md:mt-8">
265-
{user?.lichessId ? (
266-
<motion.div className="flex flex-row items-center gap-3 bg-engine-3 p-2 px-6 transition md:mt-0 md:rounded-full">
267-
<span className="material-symbols-outlined material-symbols-filled text-lg">
268-
favorite
269-
</span>
270-
<p>
271-
Thanks for testing the Maia Chess beta! Join our Discord{' '}
272-
<a
273-
target="_blank"
274-
rel="noreferrer"
275-
className="underline"
276-
href="https://discord.gg/Az93GqEAs7"
277-
>
278-
here
279-
</a>
280-
.
281-
</p>
282-
</motion.div>
283-
) : (
284-
<motion.div className="flex flex-row items-center gap-3 bg-human-4 p-2 px-6 transition md:mt-0 md:rounded-full">
285-
<span className="material-symbols-outlined material-symbols-filled text-lg">
286-
favorite
287-
</span>
288-
<p>
289-
Maia Chess is in open beta. Sign in with{' '}
290-
<button
291-
onClick={() => {
292-
trackLichessConnectionInitiated('homepage')
293-
connectLichess()
294-
}}
295-
className="underline"
296-
>
297-
Lichess
298-
</button>{' '}
299-
here.
300-
</p>
301-
</motion.div>
302-
)}
263+
<motion.div className="flex flex-row items-center gap-3 bg-engine-3 p-2 px-6 transition md:mt-0 md:rounded-full">
264+
<span className="material-symbols-outlined material-symbols-filled text-lg">
265+
favorite
266+
</span>
267+
<p>
268+
Maia Chess is in open beta. You now have full access to the platform!
269+
</p>
270+
</motion.div>
303271
</div>
304272
)
305273
}

0 commit comments

Comments
 (0)