Skip to Content
BBRICKSv0.7.4
Screens

PR · Brand request

A brand's challenge request: what it asked for, its wallet and gift stock, the gifts it sent, and Reject / Approve and build.

A brand's challenge request: what it asked for, its wallet and gift stock, the gifts it sent, and Reject / Approve and build. Composed in PrScreensCore.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

Brand request

A brand's challenge request: what it asked for, its wallet and gift stock, the gifts it sent, and Reject / Approve and build.

Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { PrRequestScreen } from '../../../packages/bricks/src/gallery/screens/PrScreensCore';

function PrRequest() { return <PrRequestScreen 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".
  • PageGrid split="8-4" align="start" (0.7.0).
  • What the brand asked for: a Card with a PrStatusPill badge, the facts, a Quote of the brand's message, a Note (0.7.0), and Reject / ink Approve and build with PrIcon name="arrow". The facts and buttons are still the screen's own markup here; BrandRequestCard is the library's card for it.
  • Right column: RequestWalletCard (0.7.0: the wallet, its health pill, available against requested, and whether it is enough), the gift stock card (its note links with TextLink), and RequestGiftsCard (0.7.0: the gifts sent with the request, with their status).