Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions apps/web/src/assets/svg/update-icon.svg

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@
align-items: center;
color: #fff;

&__name {
color: #fccc77;
&__text {
margin-left: 15px;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getJosaPicker } from '@bcsdlab/utils';
import { useSuspenseQuery } from '@tanstack/react-query';
import { Link } from '@tanstack/react-router';

Expand Down Expand Up @@ -32,7 +31,6 @@ export const getOpenCloseTime = (open_time: string | null, close_time: string |
export default function DesktopStoreList(storeListProps: StoreListProps) {
const { storeListData, storeType } = storeListProps;
const logger = useLogger();
const pickTopicJosa = getJosaPicker('은');

// getDayOfWeek()는 new Date()에 의존한다. 응답이 공유 캐시되므로 자정을 넘기면
// 서버는 어제 요일, 클라이언트는 오늘 요일을 그린다.
Expand Down Expand Up @@ -74,8 +72,7 @@ export default function DesktopStoreList(storeListProps: StoreListProps) {
)}
{!store.is_open && (
<div className={styles['store-none-open']}>
<span className={styles['store-none-open__name']}>{store.name}</span>
{`${pickTopicJosa(store.name)} 준비중입니다.`}
<span className={styles['store-none-open__text']}>지금은 영업시간이 아니에요</span>
</div>
)}
<div className={styles['store-list__title']}>{store.name}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@
color: #fff;
z-index: 10;

&__name {
color: #fccc77;
&__text {
margin-left: 15px;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getJosaPicker } from '@bcsdlab/utils';
import { useSuspenseQuery } from '@tanstack/react-query';
import { Link } from '@tanstack/react-router';

Expand All @@ -24,7 +23,6 @@ interface MobileStoreListProps {
export default function MobileStoreList(mobileStoreListProps: MobileStoreListProps) {
const { storeListData, storeType } = mobileStoreListProps;
const logger = useLogger();
const pickTopicJosa = getJosaPicker('은');

const { searchParams } = useParamsHandler();
const { data: categories } = useSuspenseQuery(storeQueries.categories());
Expand Down Expand Up @@ -61,9 +59,7 @@ export default function MobileStoreList(mobileStoreListProps: MobileStoreListPro
)}
{!store.is_open && (
<div className={styles['store-none-open']}>
<span className={styles['store-none-open__name']}>{store.name}</span>
{`${pickTopicJosa(store.name)} `}
준비중입니다.
<span className={styles['store-none-open__text']}>지금은 영업시간이 아니에요</span>
</div>
)}
<div className={styles['store-list__header']}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function ShopCard({
<button type="button" onClick={handleShopCardClick} data-testid={`shopCard-${shopId}`} className={styles.card}>
{!isOpen && (
<div className={styles.card__closed}>
<div className={styles['card__closed-text']}>영업이 종료된 가게에요!</div>
<div className={styles['card__closed-text']}>지금은 영업시간이 아니에요</div>
</div>
)}

Expand Down
3 changes: 0 additions & 3 deletions apps/web/src/routes/store.$id.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import StoreDetailMobilePage from 'components/Store/mobile/StoreDetailPage';
import EventTable from 'components/Store/StoreDetailPage/components/EventTable';
import MenuTable from 'components/Store/StoreDetailPage/components/MenuTable';
import ReviewPage from 'components/Store/StoreDetailPage/components/Review';
import UpdateInfo from 'components/Store/StoreDetailPage/components/UpdateInfo/UpdateInfo';
import ROUTES from 'static/routes';
import { useABTestView } from 'utils/hooks/abTest/useABTestView';
import useLogger from 'utils/hooks/analytics/useLogger';
Expand Down Expand Up @@ -241,7 +240,6 @@ function StoreDetailPage({ id }: Props) {
>
주변 상점
</button>
{storeDetail?.updated_at && <UpdateInfo date={storeDetail.updated_at} />}
</div>
)}
<div className={styles['section__store-info']}>
Expand Down Expand Up @@ -344,7 +342,6 @@ function StoreDetailPage({ id }: Props) {
상점목록
</button>
</div>
{isMobile && storeDetail?.updated_at && <UpdateInfo date={storeDetail.updated_at} />}
</div>
)}
<div
Expand Down
Loading