Skip to content

Commit

Permalink
feat: 더미 데이터 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrin-byte committed Feb 8, 2025
1 parent a56c803 commit 131e032
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/components/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ const Home = () => {
const testNavigate = () => {
if (window.response) {
window.response.receiveScanResult(
JSON.stringify([{ 가게명: "청담커피 앤 토스트" }, { 메뉴명: "아아" }]),
JSON.stringify([
{ 가게명: "청담커피 앤 토스트" },
{ 품명: "카야토스트+음료세트" },
{ 가격: 3000 },
]),
);
}
setTimeout(() => {
Expand Down
9 changes: 6 additions & 3 deletions src/components/ReviewResult/ReviewResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ const ReviewResult = () => {

const { reviewStyle } = createReviewData;
const dummyDataMap: Record<string, string> = {
[IMG_STYLE_DATA[1].name]: "1",
[IMG_STYLE_DATA[2].name]: "2",
[IMG_STYLE_DATA[3].name]: "3",
[IMG_STYLE_DATA[1].name]:
"여기 토스트 맛집이네요..! 특히 카야토스트랑 음료 세트 가성비 좋아요… 특별한 메뉴로는 100% 리얼 토마토 생과일 주스 추천해요!! 가격 대비 신선하고 맛있어요 … 매장도 깔끔하고 직원들도 친절하네요 자주 들릴 것 같아요 .",
[IMG_STYLE_DATA[2].name]:
"카야토스트와 음료 세트인 특별한 메뉴가 있는 청담커피 앤 토스트에서 맛있는 간식을 먹었습니다. 신선한 재료로 만든 100% 리얼 토마토 생과일 주스도 함께 주문했는데, 정말 맛있었어요! 매장 분위기도 좋고 직원분들도 친절하셔서 더욱 즐거운 시간을 보낼 수 있었습니다.",
[IMG_STYLE_DATA[3].name]:
"🤗 청담커피 앤 토스트에서 먹은 카야토스트랑 음료 세트 너무 맛있었어용! 특히 100% 리얼 토마토 생과일 주스는 정말 신선했어요😊 가격도 저렴하고 특별한 메뉴들이 있어서 자주 들릴 것 같아용!! 사장님도 친절하시고 매장 분위기도 좋았어용ᄒᄒ 추천드려용👍🏻",
};

const getDummyText = (reviewStyle: string): string => {
Expand Down

0 comments on commit 131e032

Please sign in to comment.