mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
* feat(design-system): pre-port of roleypoly/ui * feat(design-system): port molecules * chore(design-system): prettier * feat(design-system): add intro card and MDX components * fix(common/utils): hack fixtures test data moved to design-system, update accordingly * chore: document protoReflection.ts * fix(design-system): some molecules missed the magic fuckery * ci: keep going on bazel test failures * fix(design-system): server masthead molecule missed the magic fuckery * chore: fix ts paths * chore: fix docker publisher * chore: fix docker publisher names * chore(discord-bot): fix publisher * chore(discord-bot): fix publisher
18 lines
555 B
TypeScript
18 lines
555 B
TypeScript
import * as React from 'react';
|
|
import { organismStories } from 'roleypoly/src/design-system/organisms/organisms.story';
|
|
import { AppShell } from './AppShell';
|
|
import { rpUser, guildEnum } from 'roleypoly/src/design-system/shared-types/storyData';
|
|
|
|
const story = organismStories('App Shell', module);
|
|
|
|
story.add('Guest', () => (
|
|
<AppShell showFooter user={null}>
|
|
<h1>Hello World</h1>
|
|
</AppShell>
|
|
));
|
|
|
|
story.add('Logged In', () => (
|
|
<AppShell user={rpUser} guildEnumeration={guildEnum}>
|
|
<h1>Hello World</h1>
|
|
</AppShell>
|
|
));
|