Skip to content

Commit

Permalink
#39 feat: 완료 모달
Browse files Browse the repository at this point in the history
  • Loading branch information
cindy-chaewon committed Jul 9, 2024
1 parent 647be5e commit a67ce9d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@ export const sectionStyle = css({
});

export const backgroundStyle = css({
backgroundColor: theme.colors.gray_100,
width: '50.9rem',
height: '40rem',

marginTop: '2.4rem',

backgroundColor: theme.colors.gray_200,
});
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface WorkSapceInfoProps {
const WorkSapceInfo = ({ step, title, info }: WorkSapceInfoProps) => {
return (
<section css={sectionStyle}>
<Heading tag="H6" css={{ fontWeight: 500 }}>{`${step}/3`}</Heading>
{step !== undefined && <Heading tag="H6" css={{ fontWeight: 500 }}>{`${step}/3`}</Heading>}
<Heading css={headingStyle} tag="H5">
{title}
</Heading>
Expand Down
Empty file.
16 changes: 16 additions & 0 deletions src/story/page/modal/WorkSpaceComplete.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Meta, StoryObj } from '@storybook/react';

import WorkSpaceComplete from '@/shared/component/createWorkSpace/complete/WorkSpaceComplete';

const meta = {
title: 'page/Modal/WorkSpace',
component: WorkSpaceComplete,

args: {},
argTypes: {},
} satisfies Meta<typeof WorkSpaceComplete>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Complete: Story = {};

0 comments on commit a67ce9d

Please sign in to comment.