Screens
PR · A brand's campaign
Change requests, the next campaign and the brand's customer affiliates.
Change requests, the next campaign and the brand's customer affiliates. Composed in PrScreens.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.
A brand's campaign
Change requests, next campaign and customer affiliates for Glow Lab.
Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { CampaignScreen } from '../../../packages/bricks/src/gallery/screens/PrScreens';
function Campaign() { return <CampaignScreen 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". - Breadcrumbs to Affiliate programs.
PageGrid split="7-5"(0.7.0) withCampaignChangeRequestsbesideNextCampaignCard. - Challenges in this campaign: mini rows with
PrStatusPill(andstatus="trndr_wide"where it applies). CustomerAffiliatesCard(kind="percent",rate,creatorRate,creatorRateLabel,link,linkOn,money={{ decimals: 'auto' }}).- "Change the commission" is a
SectionHeading(0.7.0) over anotherPageGrid split="7-5":CommissionChangeForm(0.7.0: % of sale or a fixed amount per item, the value with its rule, the tier bonus as the open decision R10, the message to the brand, Cancel / "Save and notify Glow Lab"), and beside itChangePreview(fromandtoin words fromcommissionText,errorfromcommissionChangeError, both 0.7.0) overProgramStatusCard(0.7.0: the Active pill, what pausing does, and "Pause program" with its reason dialog).