Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions apps/storybook/stories/CreateOrganizationPage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const meta: Meta<typeof CreateOrganizationPage> = {
},
decorators: [
Story => (
<div className="bg-background min-h-screen p-8">
<div className="bg-background min-h-screen">
<Story />
</div>
),
Expand All @@ -26,8 +26,23 @@ const meta: Meta<typeof CreateOrganizationPage> = {
export default meta;
type Story = StoryObj<typeof CreateOrganizationPage>;

export const Default: Story = {
export const Empty: Story = {
globals: {
viewport: { value: 'desktop', isRotated: false },
},
};

export const Prefilled: Story = {
args: {
mockSelectedOrgName: 'Acme Corp',
initialOrganizationName: 'Acme Engineering',
},
globals: {
viewport: { value: 'desktop', isRotated: false },
},
};

export const Mobile: Story = {
globals: {
viewport: { value: 'mobile2', isRotated: false },
},
};
8 changes: 6 additions & 2 deletions apps/web/src/components/AnimatedKiloLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import { DotLottieReact } from '@lottiefiles/dotlottie-react';

export default function AnimatedKiloLogo() {
return <DotLottieReact src="/lottie/YellowKiloLogo.lottie" loop autoplay />;
type AnimatedKiloLogoProps = {
loop?: boolean;
};

export default function AnimatedKiloLogo({ loop = true }: AnimatedKiloLogoProps) {
return <DotLottieReact src="/lottie/YellowKiloLogo.lottie" loop={loop} autoplay />;
}
Loading