Skip to content

Commit

Permalink
feat(#5)중간 저장용
Browse files Browse the repository at this point in the history
  • Loading branch information
EunSeok-222 committed Nov 4, 2024
1 parent 8db0a53 commit 7166537
Show file tree
Hide file tree
Showing 25 changed files with 1,168 additions and 635 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<script type="module" src="/src/main.jsx"></script>
<script
type="text/javascript"
src="//dapi.kakao.com/v2/maps/sdk.js?appkey=356aa1c57243e551c6ea0db569b098cf&libraries=services,geometry"
></script>
src="//dapi.kakao.com/v2/maps/sdk.js?appkey=356aa1c57243e551c6ea0db569b098cf&libraries=services,geometry"></script>

</body>
</html>
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"@react-google-maps/api": "^2.20.3",
"axios": "^1.7.7",
"http-proxy-middleware": "^3.0.3",
"js-cookie": "^3.0.5",
"lottie-react": "^2.4.0",
"react": "^18.3.1",
"react-calendar": "^5.1.0",
Expand Down
50 changes: 50 additions & 0 deletions public/images/common/kakaobtn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions public/images/myPage/dogprofile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions public/images/myPage/mypagecat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 8 additions & 10 deletions src/Router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,21 @@ import WalkMapPage from './pages/WalkPage/WalkMapPage.jsx';
import WalkJournalPage from './pages/WalkPage/WalkJournalPage.jsx';
import Payment from './pages/PaymentPage/Payment.jsx';
import PaymentEnd from './pages/PaymentPage/PaymentEnd.jsx';
import CancelPay from './pages/PaymentPage/CancelPay.jsx';
import PetEditPage from './pages/MyPage/PetEditPage.jsx';

import PayListTest from './pages/PaymentPage/paylisttest.jsx';
import PaymentCancelList from './pages/PaymentPage/PaymentCancelList.jsx';
import PaymentHistory from './pages/PaymentPage/PaymentHistory.jsx';

import ComunityWrite from './pages/CommunityPage/CommunityWrite.jsx';
import CommunityList from './pages/CommunityPage/CommunityList.jsx';
import CommunityDetail from './pages/CommunityPage/CommunityDetail.jsx';

import HealthCare from './pages/HealthCare/HealthCare.jsx';
import ShoppingCart from './pages/ShoppingCart/ShoppingCart.jsx';
import { CartProvider } from './pages/ShoppingCart/CartContext';
import PayCancelReq from './pages/PaymentPage/PayCancelReq.jsx';
import PaymentCancelDone from './pages/PaymentPage/PaymentCancelDone.jsx';

function Router() {
return (
<BrowserRouter>

<CartProvider>
<ScrollTop />
<NavSelector />
Expand All @@ -50,12 +47,13 @@ function Router() {
<Route path="healthCare" element={<HealthCare />} />

<Route path="payment" element={<Payment />} />
<Route path="paymentCancelList" element={<PaymentCancelList />} />
<Route path="payCancelReq" element={<PayCancelReq />} />
<Route path="paymentEnd" element={<PaymentEnd />} />
<Route path="paymentHistory" element={<PaymentHistory />} />
<Route path="cancelpay" element={<CancelPay />} />
<Route path="paymentlist" element={<PayListTest />} />
<Route path="paymentlist" element={<PaymentHistory />} />
<Route path="paymentCancelDone" element={<PaymentCancelDone />} />

<Route path="mainpage/:userId" element={<MainPage />} />
<Route path="nanumList" element={<Outlet />}>
<Route index element={<NanumList />} />
<Route path="write" element={<NanumWrite />} />
Expand All @@ -68,7 +66,7 @@ function Router() {
<Route path="detail/:no" element={<CommunityDetail />} />
</Route>

<Route path="userRegister/:userId" element={<UserRegisterPage />} />
<Route path="userRegister/:email" element={<UserRegisterPage />} />
<Route path="petRegister" element={<PetRegisterPage />} />

<Route path="walking" element={<WalkPage />}>
Expand Down
33 changes: 20 additions & 13 deletions src/components/Images.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ export const images = {
cameraIcon: '/images/common/cameraIcon.svg',
loginDogCat: '/images/common/loginDogCat.svg',
logo: '/images/common/logo.svg',
kakaobtn:'/images/common/kakaobtn.svg',
cancel: '/images/common/cancelButton.svg',


// community
categoryAll: '/images/community/categoryAll.svg',
categoryAnonymous: '/images/community/categoryAnonymous.svg',
Expand All @@ -26,19 +28,24 @@ export const images = {
home: '/images/footer/home.svg',

// mypage
alert: '/images/myPage/alert.svg',
blockHand: '/images/myPage/blockHand.svg',
bogwan: '/images/myPage/bogwan.svg',
calendar: '/images/myPage/calendar.svg',
hide: '/images/myPage/hide.svg',
imseeJeojang: '/images/myPage/imseeJeojang.svg',
myActivity: '/images/myPage/myActivity.svg',
bag: '/images/myPage/bag.svg',
coupon: '/images/myPage/coupon.svg',
missing: '/images/myPage/missing.svg',
paw: '/images/myPage/paw.svg',
point: '/images/myPage/point.svg',
review: '/images/myPage/review.svg',

alert: "/images/myPage/alert.svg",
blockHand: "/images/myPage/blockHand.svg",
bogwan: "/images/myPage/bogwan.svg",
calendar: "/images/myPage/calendar.svg",
hide: "/images/myPage/hide.svg",
imseeJeojang: "/images/myPage/imseeJeojang.svg",
myActivity: "/images/myPage/myActivity.svg",
bag: "/images/myPage/bag.svg",
coupon: "/images/myPage/coupon.svg",
missing: "/images/myPage/missing.svg",
paw: "/images/myPage/paw.svg",
point:"/images/myPage/point.svg",
review:"/images/myPage/review.svg",
mypagecat:"/images/myPage/mypagecat.svg",
dogprofile:"/images/myPage/dogprofile.svg",



// walk
walkMap: '/images/walk/walkMap.svg',
Expand Down
Loading

0 comments on commit 7166537

Please sign in to comment.