1
0
Fork 0

feat(minigames): hide UGC entry buttons until custom content unlocks

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-09-09 00:03:29 -04:00
parent 135a7fd5ae
commit 911fc31354
2 changed files with 18 additions and 14 deletions

View file

@ -43,6 +43,7 @@ export function EodArena({
return ( return (
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
{customUnlocked && (
<UgcLinkButton <UgcLinkButton
href="/minigames/eod/custom" href="/minigames/eod/custom"
title="UGC Minefields" title="UGC Minefields"
@ -50,6 +51,7 @@ export function EodArena({
unlocked={customUnlocked} unlocked={customUnlocked}
className="max-w-5xl" className="max-w-5xl"
/> />
)}
{!customUnlocked && ( {!customUnlocked && (
<UnlockNotice <UnlockNotice
title="custom minefields" title="custom minefields"

View file

@ -48,6 +48,7 @@ export function RadioArena({
return ( return (
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
{customUnlocked && (
<UgcLinkButton <UgcLinkButton
href="/minigames/radio/custom" href="/minigames/radio/custom"
title="UGC Radio Tests" title="UGC Radio Tests"
@ -55,6 +56,7 @@ export function RadioArena({
unlocked={customUnlocked} unlocked={customUnlocked}
className="max-w-[520px]" className="max-w-[520px]"
/> />
)}
{!customUnlocked && ( {!customUnlocked && (
<UnlockNotice <UnlockNotice
title="custom radio tests" title="custom radio tests"