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:
parent
135a7fd5ae
commit
911fc31354
2 changed files with 18 additions and 14 deletions
|
|
@ -43,6 +43,7 @@ export function EodArena({
|
|||
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-6">
|
||||
{customUnlocked && (
|
||||
<UgcLinkButton
|
||||
href="/minigames/eod/custom"
|
||||
title="UGC Minefields"
|
||||
|
|
@ -50,6 +51,7 @@ export function EodArena({
|
|||
unlocked={customUnlocked}
|
||||
className="max-w-5xl"
|
||||
/>
|
||||
)}
|
||||
{!customUnlocked && (
|
||||
<UnlockNotice
|
||||
title="custom minefields"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ export function RadioArena({
|
|||
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-6">
|
||||
{customUnlocked && (
|
||||
<UgcLinkButton
|
||||
href="/minigames/radio/custom"
|
||||
title="UGC Radio Tests"
|
||||
|
|
@ -55,6 +56,7 @@ export function RadioArena({
|
|||
unlocked={customUnlocked}
|
||||
className="max-w-[520px]"
|
||||
/>
|
||||
)}
|
||||
{!customUnlocked && (
|
||||
<UnlockNotice
|
||||
title="custom radio tests"
|
||||
|
|
|
|||
Loading…
Reference in a new issue