diff --git a/src/app/(with-header)/page.tsx b/src/app/(with-header)/page.tsx
index 6a01858..c2cb4bf 100644
--- a/src/app/(with-header)/page.tsx
+++ b/src/app/(with-header)/page.tsx
@@ -1,5 +1,4 @@
import Image from 'next/image';
-import { Metadata } from 'next';
import Button from '@/components/Button';
import bannerDesktop from '@/assets/images/banner_desktop.png';
import bannerTablet from '@/assets/images/banner_tablet.png';
@@ -11,17 +10,6 @@ import section2Small from '@/assets/images/section2_sm.png';
import section3Large from '@/assets/images/section3_lg.png';
import section3Small from '@/assets/images/section3_sm.png';
-export const metadata: Metadata = {
- metadataBase: new URL('https://wine-lab.vercel.app/'),
- title: 'WINE - 나만의 와인 창고',
- description: '한 곳에서 관리하는 나만의 와인 창고',
- openGraph: {
- title: 'WINE - 나만의 와인 창고',
- description: '한 곳에서 관리하는 나만의 와인 창고',
- images: ['/thumbnail.png'],
- },
-};
-
export default function Home() {
return (
diff --git a/src/app/(with-header)/wines/_components/FilterPrice.tsx b/src/app/(with-header)/wines/_components/FilterPrice.tsx
index fc6a58f..21ef3f2 100644
--- a/src/app/(with-header)/wines/_components/FilterPrice.tsx
+++ b/src/app/(with-header)/wines/_components/FilterPrice.tsx
@@ -5,9 +5,10 @@ const MAX_PRICE = 2000000;
type FilterPriceProps = {
priceRange: [number, number];
onPriceChange: (values: number[]) => void;
+ onFinalChange: (values: number[]) => void;
};
-const FilterPrice = ({ priceRange, onPriceChange }: FilterPriceProps) => {
+const FilterPrice = ({ priceRange, onPriceChange, onFinalChange }: FilterPriceProps) => {
return (
PRICE
@@ -23,6 +24,7 @@ const FilterPrice = ({ priceRange, onPriceChange }: FilterPriceProps) => {
max={MAX_PRICE}
values={priceRange}
onChange={onPriceChange}
+ onFinalChange={onFinalChange}
renderTrack={({ props, children }) => (
{
{children}
)}
- renderThumb={({ props, index }) =>
}
+ renderThumb={({ props, index }) => {
+ return (
+
+ );
+ }}
/>
diff --git a/src/app/(with-header)/wines/_components/FilterRating.tsx b/src/app/(with-header)/wines/_components/FilterRating.tsx
index 073a193..a6fcfdf 100644
--- a/src/app/(with-header)/wines/_components/FilterRating.tsx
+++ b/src/app/(with-header)/wines/_components/FilterRating.tsx
@@ -20,7 +20,7 @@ const FilterRating = ({ selectedRating, onRatingChange }: FilterRatingProps) =>
onRatingChange(item.value)} />
- {item.label}
+ {item.label}
))}
diff --git a/src/app/(with-header)/wines/_components/FilterTypes.tsx b/src/app/(with-header)/wines/_components/FilterTypes.tsx
index 15ea19d..e4d6cd4 100644
--- a/src/app/(with-header)/wines/_components/FilterTypes.tsx
+++ b/src/app/(with-header)/wines/_components/FilterTypes.tsx
@@ -16,7 +16,7 @@ const FilterTypes = ({ selectedType, onTypeChange }: FilterTypesProps) => {
{['Red', 'White', 'Sparkling'].map((type) => (