Skip to content

Commit

Permalink
Design: remove reviewCounts in VoteRecommendedItem
Browse files Browse the repository at this point in the history
  • Loading branch information
SKY-PEY committed Jan 18, 2024
1 parent da29a4a commit b321b86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@/sass" as *;
@use '@/sass' as *;

.container {
width: 14.4rem;
Expand Down Expand Up @@ -67,9 +67,5 @@
color: $etc0;
}
}
&__counts {
@include typography(captionSmall);
color: $neutral400;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { AiOutlineDownload } from "react-icons/ai";
import { BiTask } from "react-icons/bi";
import { FaStar } from "react-icons/fa";
import { Link } from "react-router-dom";
import {AiOutlineDownload} from 'react-icons/ai';
import {BiTask} from 'react-icons/bi';
import {FaStar} from 'react-icons/fa';
import {Link} from 'react-router-dom';

import styles from "./VoteRecommendItem.module.scss";
import styles from './VoteRecommendItem.module.scss';

const VoteRecommendItem = ({ state }: { state: string }) => {
const VoteRecommendItem = ({state}: {state: string}) => {
// 이미지, 정보 텍스트 -> 장소상페 이동

return (
<div className={styles.container}>
<Link to="" className={styles.imgBox}>
<img src="https://img-cf.kurly.com/shop/data/goodsview/20210218/gv30000159355_1.jpg" />
<Link to='' className={styles.imgBox}>
<img src='https://img-cf.kurly.com/shop/data/goodsview/20210218/gv30000159355_1.jpg' />
</Link>

<button>
{state === "결정완료" ? (
{state === '결정완료' ? (
<>
<AiOutlineDownload />
<span>일정에 담기</span>
Expand All @@ -28,7 +28,7 @@ const VoteRecommendItem = ({ state }: { state: string }) => {
)}
</button>
<div>
<Link to="" className={styles.textBox}>
<Link to='' className={styles.textBox}>
<p className={styles.textBox__name}>카페 리젠트마린</p>
<p className={styles.textBox__category}>카페·제주</p>
</Link>
Expand All @@ -39,7 +39,6 @@ const VoteRecommendItem = ({ state }: { state: string }) => {
</span>
<span>4.4</span>
</p>
<span className={styles.reviewBox__counts}>(484)</span>
</div>
</div>
</div>
Expand Down

0 comments on commit b321b86

Please sign in to comment.