Skip to content

Commit 0af39b3

Browse files
Merge pull request #284 from CSSLab/codex/broadcast-analysis-match-new-layout
Add candidates challenge hub
2 parents 2414d05 + b10eed6 commit 0af39b3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/pages/candidates.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
import { GameTree } from 'src/types'
1717

1818
const CANDIDATES_COMPLETED_STORAGE_KEY = 'maia-candidates-completed'
19+
const CANDIDATES_BROADCAST_HREF = '/broadcast/BLA70Vds/uLCZwqAK'
1920

2021
const readCompletedChallenges = (): string[] => {
2122
if (typeof window === 'undefined') return []
@@ -241,6 +242,15 @@ export default function CandidatesPage() {
241242
<p className="mt-2 text-sm uppercase tracking-[0.2em] text-white/45">
242243
Round 1
243244
</p>
245+
<Link
246+
href={CANDIDATES_BROADCAST_HREF}
247+
className="mt-4 inline-flex items-center gap-2 rounded-full border border-sky-300/25 bg-sky-500/10 px-4 py-2 text-sm font-medium text-sky-100 transition hover:border-sky-200/40 hover:bg-sky-500/15"
248+
>
249+
<span className="material-symbols-outlined !text-[18px]">
250+
live_tv
251+
</span>
252+
Watch Candidates Broadcast
253+
</Link>
244254
</header>
245255
{positions.map((position) => (
246256
<PositionPill

0 commit comments

Comments
 (0)