Modal, AdaptiveDiv, BottomDiv 컴포넌트를 molecules 디렉터리로 이동 및 리팩토링

This commit is contained in:
static committed 2025-01-24 21:24:59 +09:00
1 parent 1c09d93b41
commit fea9cd729c
40 files changed
+279 -246

No files matched your search

@@ -1,7 +1,6 @@
<script lang="ts">
import { BottomSheet } from "$lib/components";
import { Button } from "$lib/components/atoms";
import { BottomDiv } from "$lib/components/divs";
import { Button, BottomDiv } from "$lib/components/atoms";
interface Props {
onRetryClick: () => void;
@@ -21,11 +20,9 @@
한 번 확인해 주세요.
</p>
</div>
<BottomDiv>
<div class="flex w-full gap-x-2">
<Button color="gray" onclick={onRetryClick} class="flex-1">다시 저장할래요</Button>
<Button onclick={onContinueClick} class="flex-1">잘 저장되었어요</Button>
</div>
<BottomDiv class="flex gap-x-2">
<Button color="gray" onclick={onRetryClick} class="flex-1">다시 저장할래요</Button>
<Button onclick={onContinueClick} class="flex-1">잘 저장되었어요</Button>
</BottomDiv>
</div>
</BottomSheet>