Skip to Content
BBRICKSv0.7.4
Screens

PR · View as brand

What the brand sees, read only: the ink "viewing as" banner over the brand's own home.

What the brand sees, read only: the ink "viewing as" banner over the brand's own home. Composed in PrScreensCore.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.

View as brand

What the brand sees, read only: the ink "viewing as" banner over the brand's own home.

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

function PrViewAs() { return <PrViewAsScreen 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".
  • ViewAsBanner (brandName, onExit) over the brand's page, which sits in ReadOnlyFrame (0.7.0): the soft grey panel, inert, so nothing in it can be used.
  • Inside it, PageGrid cols={4} (0.7.0) of four Tile size="kpi", then PageGrid split="8-4": the brand's creators (Avatar, TierChip) with a disabled Invite, and RequestChallengeCard (0.7.0: "Brands can ask TRNDR for a challenge." and the full-width Request a challenge, disabled with its reason).