Skip to content

Commit

Permalink
design: 구매버튼 padding 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Jun 14, 2024
1 parent 96eba8c commit 7b7b908
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shared/components/FixedBottomButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ interface FixedBottomButtonProps {

export const FixedBottomButton = ({ title, link }: FixedBottomButtonProps) => {
return (
<div className="w-full flex items-center">
<>
{link ? (
<Link href={link} target="_blank">
<Button size="lg" className="w-full fixed bottom-0 left-0 right-0 rounded-none py-6">
<Button size="lg" className="w-full fixed bottom-0 left-0 right-0 rounded-none py-8">
{title}
</Button>
</Link>
) : (
<Button size="lg" disabled={true} className="w-full fixed bottom-0 left-0 right-0 rounded-none py-6">
<Button size="lg" disabled={true} className="w-full fixed bottom-0 left-0 right-0 rounded-none py-8">
상품 URL이 존재하지 않습니다.
</Button>
)}
</div>
</>
);
};

0 comments on commit 7b7b908

Please sign in to comment.