Skip to content

Commit

Permalink
디자인 저장, InvitationCell 이미지 크기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhello0507 committed Jan 18, 2025
1 parent 7581ab6 commit d1b14f0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ const S = {
display: flex;
flex: 1;
object-fit: cover;
min-height: 0;
`,
urlLabel: styled.span`
${makeText('p5')};
Expand Down
19 changes: 19 additions & 0 deletions src/page/invitation/design/InvitationDesign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import Video, {defaultVideo} from "@remote/value/Video";
import GalleryOption from "@page/invitation/design/option/GalleryOption";
import ImgDesign from "@remote/enumeration/ImgDesign";
import {dummyComments} from "@remote/value/Comment";
import weddingApi from "@remote/api/WeddingApi";

function InvitationDesign() {
const [searchParams] = useSearchParams();
Expand Down Expand Up @@ -343,6 +344,24 @@ function InvitationDesign() {
// },
// imgList: []
// });
await weddingApi.createWedding({
url: url ?? '',
position: [],
template,
baseInfo,
weddingSchedule,
weddingPlace,
greeting,
guestComment,
baseMusic,
linkShare,
moneyInfo,
video,
phone,
rsvp,
imgList,
imgDesign,
});
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const S = {
display: flex;
flex: 1;
object-fit: cover;
min-height: 0;
`,
urlLabel: styled.span`
${makeText('p5')};
Expand Down

0 comments on commit d1b14f0

Please sign in to comment.