Skip to content

Commit 7d7b4a5

Browse files
authored
Merge pull request #157 from YAPP-Github/fix/qa
2 parents 5d1c82f + 279ed04 commit 7d7b4a5

File tree

26 files changed

+86
-99
lines changed

26 files changed

+86
-99
lines changed

next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const nextConfig: NextConfig = {
1313
},
1414

1515
images: {
16+
unoptimized: true,
1617
remotePatterns: [
1718
{
1819
protocol: "https",

src/app/(auth)/login/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ export default function LoginPage() {
2727
alt='로그인 배경화면'
2828
fill
2929
priority
30-
// TODO: 추후 제거
31-
unoptimized
3230
/>
3331

3432
<GNB
@@ -52,8 +50,6 @@ export default function LoginPage() {
5250
alt='로그인 일러스트'
5351
width={149}
5452
height={139}
55-
// TODO: 추후 제거
56-
unoptimized
5753
/>
5854
</div>
5955

src/app/(cheer)/cheer/_components/CheerCard/CheerCard.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ const CheerCardImages = ({ images, storeName }: CheerCardImagesProps) => {
176176
alt={`${storeName}-${idx + 1}`}
177177
fill
178178
objectFit='cover'
179-
// TODO: 추후 제거
180-
unoptimized
181179
/>
182180
</div>
183181
))}
@@ -196,8 +194,6 @@ const CheerCardImages = ({ images, storeName }: CheerCardImagesProps) => {
196194
alt={storeName}
197195
fill
198196
objectFit='cover'
199-
// TODO: 추후 제거
200-
unoptimized
201197
/>
202198
)}
203199
</div>
@@ -224,8 +220,6 @@ const CheerCardTags = ({ tags }: CheerCardTagsProps) => {
224220
alt={tagInfo.label}
225221
width={14}
226222
height={14}
227-
// TODO: 추후 제거
228-
unoptimized
229223
/>
230224
{tagInfo.label}
231225
</Tag>

src/app/(cheer)/cheer/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export default function CheerPage() {
3030
/>
3131
</Bleed>
3232

33+
<Spacer size={12} />
34+
3335
<ChipFilter />
3436

3537
<Spacer size={16} />

src/app/(home)/_components/Header/Header.tsx

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,20 @@
11
"use client";
22

3-
import { useQuery } from "@tanstack/react-query";
43
import Link from "next/link";
54

6-
import { memberQueryOptions } from "@/app/member/_api";
75
import LogoWordmarkIcon from "@/assets/logo-wordmark.svg";
8-
import MarketIcon from "@/assets/market.svg";
9-
import PersonIcon from "@/assets/person.svg";
10-
import { Button } from "@/components/ui/Button";
6+
import SearchIcon from "@/assets/search.svg";
117
import { GNB } from "@/components/ui/GNB";
128

139
export const Header = () => {
14-
const { data: member } = useQuery({ ...memberQueryOptions, retry: false });
15-
1610
return (
1711
<GNB
1812
leftAddon={<LogoWordmarkIcon width={46} height={24} />}
1913
align='left'
2014
rightAddon={
21-
member?.id ? (
22-
<>
23-
<Link href='/stores'>
24-
<MarketIcon width={24} height={24} />
25-
</Link>
26-
<Link href='/member/profile'>
27-
<PersonIcon width={24} height={24} />
28-
</Link>
29-
</>
30-
) : (
31-
<Link href='/login'>
32-
<Button variant='primary' size='small' style={{ width: "6.3rem" }}>
33-
로그인
34-
</Button>
35-
</Link>
36-
)
15+
<Link href='/stores' aria-label='가게 검색'>
16+
<SearchIcon width={24} height={24} />
17+
</Link>
3718
}
3819
/>
3920
);

src/app/(home)/_components/RecentCheers/RecentCheers.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ const RecentSupportCard = ({
125125
alt={`${store.name} 가게 이미지`}
126126
className={styles.storeImage}
127127
src={store.imageUrl}
128-
// TODO: 추후 제거
129-
unoptimized
130128
/>
131129
) : (
132130
<span className={styles.storeImageFallback}>

src/app/(home)/_components/RecentlySupportStories/RecentlySupportStories.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ const SupportedStoreCard = ({
100100
src={imageUrl}
101101
alt={`${storeName} 가게 이미지`}
102102
objectFit='cover'
103-
// TODO: 추후 제거
104-
unoptimized
105103
/>
106104
</div>
107105
<VStack className={styles.supportedStoreCardContent}>

src/app/(home)/_components/RegisterPopup/RegisterPopup.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ export const RegisterPopup = () => {
7777
height: "214px",
7878
marginLeft: "10px",
7979
}}
80-
// TODO: 추후 제거
81-
unoptimized
8280
/>
8381
</div>
8482
</div>

src/app/(home)/_components/ServiceIntroBottomSheet/ServiceIntroBottomSheet.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export const ServiceIntroBottomSheet = () => {
111111
src={content.imageSrc}
112112
alt={content.imageAlt}
113113
priority
114-
// TODO: 추후 제거
115-
unoptimized
116114
/>
117115
</motion.div>
118116
</AnimatePresence>

src/app/(home)/_components/StoreStory/StoreStory.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ const StoreStoryCard = ({ src, title, description }: StoreStoryCardProps) => {
9999
src={src}
100100
alt={`${title} 가게 이야기 이미지`}
101101
className={styles.storyImage}
102-
// TODO: 추후 제거
103-
unoptimized
104102
/>
105103
<div className={styles.storyCardGradient} />
106104
<VStack gap={4} style={{ zIndex: 1, position: "relative" }}>

0 commit comments

Comments
 (0)