Screens
Motivation
Challenge cards with a challenge drawer open.
Challenge cards with a challenge drawer open. The composition is MotivationScreen.tsx; every part of it is a BRICKS export.
Motivation › Challenges
Challenge cards with the "Winter glow launch" drawer open.
Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { MotivationScreen } from '../../../packages/bricks/src/gallery/screens/MotivationScreen';
function Motivation() { return <MotivationScreen language={useLanguage()} />; }How it is built
PillTabs(Challenges with acount, Bonuses, Gifts).Toolbar: the mock's muted hint goes infilters, becauseToolbarhas no text slot. Request a challenge is a raspButtoninactions.- Four
ChallengeCards (live, waiting, ended, rejected) withtone,dates,commissionLabel,gifts,days,creators,sales,commission; the rejected card has areasonand the waiting card hassentOn. - Winter glow is open in a
Drawer hideTitlewithChallengeDetail.topCreatorslists five creators with their handles,commissionPaidis set, and it hasonOpenCreator,onActionandonOpenAnalytics.