Screens
PR · Challenge
A live leaderboard challenge (Winter top 10): four stats, the leaderboard with its winners cut, the budget and how winners are paid.
A live leaderboard challenge (Winter top 10): four stats, the leaderboard with its winners cut, the budget and how winners are paid. Composed in PrScreensChallenges.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.
Challenge
A live leaderboard challenge (Winter top 10): four stats, the leaderboard with its winners cut, the budget and how winners are paid.
Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { PrChallengeScreen } from '../../../packages/bricks/src/gallery/screens/PrScreensChallenges';
function PrChallenge() { return <PrChallengeScreen language={useLanguage()} />; }How it is built
- The frame is
PrPortalFrame(0.7.0), as on every framed PR page: the v3 nav with counts, the Open decisions card, the PR person row with sign-out,HeaderSearch, the bell and the raspberry "+ New". Itstools: a livePrStatusPill, Edit and Add creators, which opensCreatorPickDialog(0.7.0: approved creators as checkbox rows with their tier, a search, the selected count and "Send invites (N)"). PageGrid cols={4}(0.7.0) of fourTile size="stat"withvalueSize="sm"(0.7.0, 18px as the mock sets them), so a long goal stays on one line.PageGrid split="8-4" align="start":Leaderboard(in aCardwhose "Delivered sales" action isMuted) withwinners/onWinnersChange,showPercent={false},rankSize="lg",rankStyle="highlight",textSize="lg",cutTone="rasp",noteSize="sm",tieDetailandlabels.tieFirst.- Budget and paying winners cards; the second has an open
DecisionTag(T4) as itsbadge.