diff --git a/apps/client/src/assets/icons/HomeIcon.tsx b/apps/client/src/assets/icons/HomeIcon.tsx index 7a1ad2e..56cbe92 100644 --- a/apps/client/src/assets/icons/HomeIcon.tsx +++ b/apps/client/src/assets/icons/HomeIcon.tsx @@ -4,8 +4,8 @@ const HomeIcon = (props: SVGProps) => { return ( ) => { return ( diff --git a/apps/client/src/assets/icons/PrevIcon.tsx b/apps/client/src/assets/icons/PrevIcon.tsx new file mode 100644 index 0000000..c6c9e76 --- /dev/null +++ b/apps/client/src/assets/icons/PrevIcon.tsx @@ -0,0 +1,20 @@ +import React, { SVGProps } from 'react'; + +const PrevIcon = (props: SVGProps) => { + return ( + + + + ); +}; + +export default PrevIcon; diff --git a/apps/client/src/components/cake/CakeHeader.tsx b/apps/client/src/components/cake/CakeHeader.tsx index b1cf94a..e24ba89 100644 --- a/apps/client/src/components/cake/CakeHeader.tsx +++ b/apps/client/src/components/cake/CakeHeader.tsx @@ -39,12 +39,10 @@ const Phrase = styled.h1` `; const MyPageButton = styled.button` - position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border-width: 0; - display: relative; overflow: hidden; cursor: pointer; display: flex; diff --git a/apps/client/src/components/cake/Pagenation.tsx b/apps/client/src/components/cake/Pagenation.tsx index f0bebd2..994c05b 100644 --- a/apps/client/src/components/cake/Pagenation.tsx +++ b/apps/client/src/components/cake/Pagenation.tsx @@ -1,5 +1,6 @@ import React from 'react'; import styled from 'styled-components'; +import PrevIcon from '../../assets/icons/PrevIcon'; interface PageProps { currentPage: number; @@ -18,7 +19,7 @@ const Pagenation: React.FC = ({ onClick={() => changePage(currentPage - 1)} disabled={currentPage === 1} > - < + {' '} @@ -27,8 +28,9 @@ const Pagenation: React.FC = ({ ); @@ -54,9 +56,16 @@ const PageContainer = styled.div` height: 29px; border-radius: 50%; border: none; + display: flex; + justify-content: center; + align-items: center; background: var(--orange-500); font-family: Pretendard; color: var(--white); + + &.next{ + transform: rotate(180deg); + } } span{ diff --git a/apps/client/src/components/cake/SharedCake.tsx b/apps/client/src/components/cake/SharedCake.tsx index 57d3f51..9dcdea1 100644 --- a/apps/client/src/components/cake/SharedCake.tsx +++ b/apps/client/src/components/cake/SharedCake.tsx @@ -85,8 +85,7 @@ const SharedCake: React.FC = ({ ownerId, data }) => { - 편지를 작성하면 포인트를 얻을 수 있어요. - 로그인 하시겠어요? + 편지를 작성하면 포인트를 얻을 수 있어요.{'\n'}로그인 하시겠어요? + +

내 케이크 공유하기

+
+ kakaoShare(nickname)}> + + + facebookShare(nickname)}> + + + + + +
+ +
); }; @@ -78,3 +80,11 @@ const IconButton = styled.button` cursor: pointer; margin: 0 0.5rem; `; + +const ShareBox = styled.div` + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 24px; +`