diff --git a/index.html b/index.html index e631329..722bb6b 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,16 @@ Vite App + + +
+ diff --git a/src/api/attraction.js b/src/api/attraction.js index 57c4586..765ed47 100644 --- a/src/api/attraction.js +++ b/src/api/attraction.js @@ -1,15 +1,10 @@ -import { localAxios } from "@/utils/http-commons"; +import { localAxios } from '@/utils/http-commons'; const local = localAxios; -function getArticles(contentTypeId, sidoCode, gugunCode, title, success, fail) { +function searchAttarctions(queryString, success, fail) { //list - local - .get( - `/attraction/search?contentTypeId=${contentTypeId}&sidoCode=${sidoCode}&gugunCode=${gugunCode}&title=${title}` - ) - .then(success) - .catch(fail); + local.get(`/attraction/search?contentTypeId=12&${queryString}`).then(success).catch(fail); } -export { getArticles }; +export { searchAttarctions }; diff --git a/src/assets/base.css b/src/assets/base.css index 156a713..aa387b8 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -19,6 +19,8 @@ --vt-c-text-light-2: rgba(60, 60, 60, 0.66); --vt-c-text-dark-1: var(--vt-c-white); --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); + + --shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } /* semantic color variables for this project */ @@ -118,6 +120,10 @@ textarea { font-size: 16px; } +*::placeholder { + color: var(--color-text-secondary); +} + p { white-space: pre; } diff --git a/src/assets/main.css b/src/assets/main.css index 804254a..b7ccd1a 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,6 +1,7 @@ @import './base.css'; #app { + height: 100vh; margin: 0 auto; font-weight: normal; } diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index bc74448..660c6ff 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -22,7 +22,7 @@ const logout = () => { EnjoyTrip