{
return (
-
{name}
+ {name}
{link && (
-
+
)}
diff --git a/src/components/Common/SectionHeader/sectionHeader.css.ts b/src/components/Common/SectionHeader/sectionHeader.css.ts
index 4c53627a..0219e4a6 100644
--- a/src/components/Common/SectionHeader/sectionHeader.css.ts
+++ b/src/components/Common/SectionHeader/sectionHeader.css.ts
@@ -7,6 +7,6 @@ export const container = style({
});
export const title = style({
- fontSize: '1.8rem',
- fontWeight: 600,
+ fontSize: '1.6rem',
+ fontWeight: 700,
});
diff --git a/src/mocks/data/foodCategory.json b/src/mocks/data/foodCategory.json
index 5a4a2d06..36155d23 100644
--- a/src/mocks/data/foodCategory.json
+++ b/src/mocks/data/foodCategory.json
@@ -1,7 +1,7 @@
[
- { "id": 1, "name": "간편식사", "image": "https://image.funeat.site/prod/food.png" },
- { "id": 2, "name": "과자류", "image": "https://image.funeat.site/prod/food.png" },
- { "id": 3, "name": "아이스크림", "image": "https://image.funeat.site/prod/food.png" },
+ { "id": 1, "name": "간편식사", "image": "https://image.funeat.site/prod/instantfood.png" },
+ { "id": 2, "name": "과자류", "image": "https://image.funeat.site/prod/snack.png" },
+ { "id": 3, "name": "아이스크림", "image": "https://image.funeat.site/prod/icecream.png" },
{ "id": 4, "name": "식품", "image": "https://image.funeat.site/prod/food.png" },
- { "id": 5, "name": "음료", "image": "https://image.funeat.site/prod/food.png" }
+ { "id": 5, "name": "음료", "image": "https://image.funeat.site/prod/drink.png" }
]
diff --git a/src/mocks/data/storeCategory.json b/src/mocks/data/storeCategory.json
index dfa06b77..ecf7030c 100644
--- a/src/mocks/data/storeCategory.json
+++ b/src/mocks/data/storeCategory.json
@@ -1,6 +1,6 @@
[
{ "id": 6, "name": "CU", "image": "https://image.funeat.site/prod/cu.webp" },
- { "id": 7, "name": "GS25", "image": "https://image.funeat.site/prod/cu.webp" },
- { "id": 8, "name": "이마트24", "image": "https://image.funeat.site/prod/cu.webp" },
- { "id": 9, "name": "세븐일레븐", "image": "https://image.funeat.site/prod/cu.webp" }
+ { "id": 7, "name": "GS25", "image": "https://image.funeat.site/prod/gs.webp" },
+ { "id": 8, "name": "이마트24", "image": "https://image.funeat.site/prod/emart24.webp" },
+ { "id": 9, "name": "세븐일레븐", "image": "https://image.funeat.site/prod/seven.webp" }
]
diff --git a/src/pages/ProductPage/ProductPage.tsx b/src/pages/ProductPage/ProductPage.tsx
index 4dcbac10..aa7de4af 100644
--- a/src/pages/ProductPage/ProductPage.tsx
+++ b/src/pages/ProductPage/ProductPage.tsx
@@ -18,6 +18,7 @@ import { ProductPreviewList } from '@/components/Product';
import { CATEGORY_TYPE } from '@/constants';
import { useTabMenu } from '@/hooks/common';
import { useCategoryQuery } from '@/hooks/queries/product';
+import { vars } from '@/styles/theme.css';
import type { CategoryVariant, Tab } from '@/types/common';
const TAB_MENUS: Tab[] = [
@@ -43,19 +44,19 @@ export const ProductPage = () => {
{selectedTabMenu === TAB_MENUS[0].value ? (
) : (
-
+
)}
-
+
}>
{categories.map(({ id, name }) => (
))}
diff --git a/src/pages/ProductPage/productPage.css.ts b/src/pages/ProductPage/productPage.css.ts
index cf4e6165..7802c2ad 100644
--- a/src/pages/ProductPage/productPage.css.ts
+++ b/src/pages/ProductPage/productPage.css.ts
@@ -1,4 +1,5 @@
-import { style, styleVariants } from '@vanilla-extract/css';
+import { vars } from '@/styles/theme.css';
+import { style } from '@vanilla-extract/css';
export const tabMenuWrapper = style({
display: 'flex',
@@ -11,19 +12,7 @@ export const tabMenu = style({
width: '50%',
height: 40,
textAlign: 'center',
- borderBottom: '1px solid #e6e6e6',
-});
-
-const menuNameBase = style({
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- height: '100%',
-});
-
-export const menuName = styleVariants({
- active: [menuNameBase, { fontWeight: 700, color: '#232527', borderBottom: '3px solid #444' }],
- default: [menuNameBase, { fontWeight: 600, color: '#999' }],
+ borderBottom: `1px solid ${vars.colors.border.default}`,
});
export const categorySection = style({
@@ -31,7 +20,7 @@ export const categorySection = style({
});
export const productSection = style({
- margin: '28px 0 32px',
+ margin: '28px 0 36px',
});
export const list = style({