Skip to content

Commit

Permalink
feat: Icon 적영
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Aug 15, 2024
1 parent 2206b40 commit d399093
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Flex, styled } from "@styled-system/jsx";
import { Space, Text } from "@wow-class/ui";
import Image from "next/image";
import { Link, Reload } from "wowds-icons";
import Box from "wowds-ui/Box";
import Button from "wowds-ui/Button";
import Tag from "wowds-ui/Tag";
Expand Down Expand Up @@ -37,11 +38,17 @@ export const HomeworkOverviewBox = () => {
<styled.div color="primary">글자수 충족</styled.div>
</Flex>
<Space height={26} />
<Button style={{ maxWidth: "100%" }} variant="outline">
<Button
icon={<Link stroke="primary" />}
style={{ maxWidth: "100%" }}
variant="outline"
>
제출하러 가기
</Button>
<Space height={8} />
<Button style={{ maxWidth: "100%" }}>제출 완료</Button>
<Button icon={<Reload />} style={{ maxWidth: "100%" }}>
제출 완료
</Button>
</>
}
/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"clsx": "^2.1.1",
"wowds-icons": "^0.1.3",
"wowds-tokens": "^0.1.1",
"wowds-ui": "^0.1.10"
"wowds-ui": "^0.1.13"
}
}
16 changes: 7 additions & 9 deletions packages/ui/src/components/Space/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ const getSpace = (space?: SpaceType) => {

const Space = ({ width, height }: SpaceProps) => {
return (
<>
<hr
style={{
width: getSpace(width),
height: getSpace(height),
border: "none",
}}
/>
</>
<hr
style={{
width: getSpace(width),
height: getSpace(height),
border: "none",
}}
/>
);
};

Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d399093

Please sign in to comment.