Skip to Content
BBRICKSv0.7.4
Screens

Creators · A creator of yours

One of your creators open over My creators, and the raise-limit modal from the Seats left tile.

One of your creators open over My creators, and the raise-limit modal from the Seats left tile. Composed in BrandSubScreens.tsx from BRICKS exports only, with the v3 brand mock's numbers.

A creator of yours open

MyCreatorPanel in the drawer over My creators: tier, score, followers, figures, coupon and groups.

Pinned to TRNDR preset
Code
import type { Lang } from '@ergasti/bricks';
import { useLanguage } from '@ergasti/bricks';
import { BRAND_SUB_SCREENS } from '../../../packages/bricks/src/gallery/screens/BrandSubScreens';

const view = (id: string, language: Lang) => {
  const { Screen } = BRAND_SUB_SCREENS[id];
  return <Screen language={language} />;
};

function MyCreatorDrawer() { return view('creators-mycreator', useLanguage()); }

Raising the creator limit

Today's plan and the next one, what changes, and the call to TRNDR, over My creators.

Pinned to TRNDR preset
Code
import type { Lang } from '@ergasti/bricks';
import { useLanguage } from '@ergasti/bricks';
import { BRAND_SUB_SCREENS } from '../../../packages/bricks/src/gallery/screens/BrandSubScreens';

const view = (id: string, language: Lang) => {
  const { Screen } = BRAND_SUB_SCREENS[id];
  return <Screen language={language} />;
};

function RaiseLimit() { return view('raise-limit', useLanguage()); }

How it is built

  • My creators as on Creators, with the mock's offline initials (CreatorCell with no avatarUrl).
  • Karim Hosny's drawer: Drawer hideTitle with MyCreatorPanel tone="lime", otherGroups, onAddToGroup and onCopyCoupon.
  • Raise limit (from the Seats left KpiCard): Modal with a rasp footer button, two Tile size="short" (today's plan and the next one) and a CheckList of what changes.