-
{result.title}
+
{result.title}
{result.tourAddress}
diff --git a/src/components/search/SearchInput.tsx b/src/components/search/SearchInput.tsx
index c3dbbabf..0adedc1c 100644
--- a/src/components/search/SearchInput.tsx
+++ b/src/components/search/SearchInput.tsx
@@ -52,24 +52,26 @@ const SearchInput = () => {
-
-
-
-
- {inputValue && (
-
-
+
+
+
- )}
+
+ {inputValue && (
+
+
+
+ )}
+
>
);
diff --git a/src/components/search/StartSearchBtn.tsx b/src/components/search/StartSearchBtn.tsx
index a5b9b3ef..000b3d30 100644
--- a/src/components/search/StartSearchBtn.tsx
+++ b/src/components/search/StartSearchBtn.tsx
@@ -1,5 +1,5 @@
import { useNavigate } from 'react-router-dom';
-import { ReactComponent as SearchIcon } from '@assets/images/Search.svg';
+import { SearchIcon } from '@components/common/icons/Icons';
export const StartSearchButton = () => {
const navigate = useNavigate();
@@ -10,10 +10,10 @@ export const StartSearchButton = () => {
return (
);
};
diff --git a/src/constants.ts b/src/constants.ts
index 37e408d4..c50f848b 100644
--- a/src/constants.ts
+++ b/src/constants.ts
@@ -6,14 +6,14 @@ export const AREA_CODE = {
광주: '광주',
대전: '대전',
울산: '울산',
- 세종: '세종',
+ 세종: '세종특별자치시',
제주: '제주',
- 경기: '경기',
- 강원: '강원',
- 충북: '충북',
- 충남: '충남',
- 경북: '경북',
- 경남: '경남',
- 전북: '전북',
- 전남: '전남',
+ 경기: '경기도',
+ 강원: '강원도',
+ 충북: '충청북도',
+ 충남: '충청남도',
+ 경북: '경상북도',
+ 경남: '경상남도',
+ 전북: '전라북도',
+ 전남: '전라남도',
};
diff --git a/src/hooks/useReviewStats.ts b/src/hooks/useReviewStats.ts
index 001b1a54..2c4a37fd 100644
--- a/src/hooks/useReviewStats.ts
+++ b/src/hooks/useReviewStats.ts
@@ -1,6 +1,5 @@
import { useQuery } from '@tanstack/react-query';
import { getToursReviews } from '@api/tours';
-import { TourKeywordInfo } from '@/@types/tours.types';
import { useParams } from 'react-router-dom';
type UseGetToursReviewsReturn = {
diff --git a/src/hooks/useReviewStatsCalculator.ts b/src/hooks/useReviewStatsCalculator.ts
index 88be9c15..89573b0c 100644
--- a/src/hooks/useReviewStatsCalculator.ts
+++ b/src/hooks/useReviewStatsCalculator.ts
@@ -1,5 +1,4 @@
import { useMemo } from 'react';
-import { TourKeywordInfo } from '@/@types/tours.types';
const getMaxMinCounts = (reviewStats: TourKeywordInfo[]) => {
const counts = reviewStats.map((item) => item.keywordCount);
diff --git a/src/pages/create/createTrip.page.tsx b/src/pages/create/createTrip.page.tsx
index cf52e89a..ce7c23fc 100644
--- a/src/pages/create/createTrip.page.tsx
+++ b/src/pages/create/createTrip.page.tsx
@@ -102,7 +102,6 @@ export const CreateTrip = () => {
onChange={(e) => {
setTitle(e.target.value);
}}
- autoFocus
/>
{title && (
({
key: 'participantsState',
default: {
diff --git a/src/router/socketRouter.tsx b/src/router/socketRouter.tsx
index 1f02a88f..8de2d225 100644
--- a/src/router/socketRouter.tsx
+++ b/src/router/socketRouter.tsx
@@ -1,7 +1,7 @@
import { Route, Routes } from 'react-router-dom';
import { useSocket, socketContext } from '@hooks/useSocket';
import PlanTrip from '@pages/plan/planTrip.page';
-import { PlanAddPlace } from '@pages/plan/addToOurPlace/PlanAddPlace.page';
+import { PlanAddPlace } from '@components/addToList/addToOurPlace/PlanAddPlace.page';
import PlanPlaceSearch from '@pages/plan/planPlaceSearch.page';
import Trip from '@pages/trip/trip.page';
import MainLayout from './routerLayout';
diff --git a/src/styles/globalStyles.ts b/src/styles/globalStyles.ts
deleted file mode 100644
index e4028567..00000000
--- a/src/styles/globalStyles.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-import { createGlobalStyle } from 'styled-components';
-
-export const GlobalStyle = createGlobalStyle`
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video, button {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- font: inherit;
- vertical-align: baseline;
- }
-
- /* HTML5 display-role reset for older browsers */
- article, aside, details, figcaption, figure,
- footer, header, hgroup, menu, nav, section {
- display: block;
- }
-
- body {
- line-height: 1;
- }
-
- ol, ul {
- list-style: none;
- }
-
- blockquote, q {
- quotes: none;
- }
-
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
-
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- * {
- box-sizing: border-box;
- }
- body {
- font-family: 'Pretendard Variable', sans-serif;
- background-color: ${({ theme }) => theme.colors.bg_page};
- color: ${({ theme }) => theme.colors.text1};
- }
- a {
- text-decoration: none;
- color: inherit;
- }
-`;
diff --git a/src/styles/theme.ts b/src/styles/theme.ts
deleted file mode 100644
index 93fe759f..00000000
--- a/src/styles/theme.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-export const theme = {
- colors: {
- navy: '#253C59', //primary navy
- blue: '#58788c', //옵션에 사용하는 두번째 blue
- yellow: '#D9B70D', //찜에 사용하는 yellow
- gray1: '#f8f8f8', //제일 어두운 gray
- gray2: '#AFAFAF', //중간 gray
- gray3: '#757575',
-
- error: '#CF0000',
- success: '#008000',
- },
- fonts: {
- subtitle1: {
- fontSize: '2.5rem',
- fontWeight: '900',
- lineHeight: '1.5',
- },
- subtitle2: {
- fontSize: '2rem',
- fontWeight: '700',
- lineHeight: '1.5',
- },
- subtitle3: {
- fontSize: '1.75rem',
- fontWeight: '600',
- lineHeight: '1.5',
- },
- subtitle4: {
- fontSize: '1.5rem',
- fontWeight: '500',
- lineHeight: '1.5',
- },
- subtitle4_5: {
- fontSize: '1.25rem',
- fontWeight: '700',
- lineHeight: '1.5',
- },
- subtitle5: {
- fontSize: '1rem',
- fontWeight: '700',
- lineHeight: '1.5',
- },
- body: {
- fontSize: '0.875rem',
- fontWeight: '700',
- lineHeight: '1.6',
- },
- },
- shadows: {
- shadow1: {
- shadow: '0px 4px 8px rgba(0, 0, 0, 0.04)',
- },
- shadow2: {
- shadow: '0px 8px 16px rgba(0, 0, 0, 0.16)',
- },
- shadow3: {
- shadow: '0px 12px 40px rgba(0, 0, 0, 0.12)',
- },
- },
-};