diff --git a/src/assets/images/beach.png b/src/assets/images/beach.png deleted file mode 100644 index 5e4bad2..0000000 Binary files a/src/assets/images/beach.png and /dev/null differ diff --git a/src/assets/images/beach1.jpeg b/src/assets/images/beach1.jpeg deleted file mode 100644 index b711249..0000000 Binary files a/src/assets/images/beach1.jpeg and /dev/null differ diff --git a/src/assets/images/beach2.jpeg b/src/assets/images/beach2.jpeg deleted file mode 100644 index 3a2dd54..0000000 Binary files a/src/assets/images/beach2.jpeg and /dev/null differ diff --git a/src/assets/images/beach3.jpeg b/src/assets/images/beach3.jpeg deleted file mode 100644 index 177cb25..0000000 Binary files a/src/assets/images/beach3.jpeg and /dev/null differ diff --git a/src/assets/images/dog1.jpeg b/src/assets/images/dog1.jpeg deleted file mode 100644 index f33375d..0000000 Binary files a/src/assets/images/dog1.jpeg and /dev/null differ diff --git a/src/assets/images/dog2.jpeg b/src/assets/images/dog2.jpeg deleted file mode 100644 index 48f0348..0000000 Binary files a/src/assets/images/dog2.jpeg and /dev/null differ diff --git a/src/assets/images/dog3.jpeg b/src/assets/images/dog3.jpeg deleted file mode 100644 index 7275a95..0000000 Binary files a/src/assets/images/dog3.jpeg and /dev/null differ diff --git a/src/assets/images/dog4.jpeg b/src/assets/images/dog4.jpeg deleted file mode 100644 index 2914940..0000000 Binary files a/src/assets/images/dog4.jpeg and /dev/null differ diff --git a/src/assets/images/dog5.jpeg b/src/assets/images/dog5.jpeg deleted file mode 100644 index 98e29d9..0000000 Binary files a/src/assets/images/dog5.jpeg and /dev/null differ diff --git a/src/assets/images/dog6.jpeg b/src/assets/images/dog6.jpeg deleted file mode 100644 index 1e5820b..0000000 Binary files a/src/assets/images/dog6.jpeg and /dev/null differ diff --git a/src/assets/images/dog7.jpeg b/src/assets/images/dog7.jpeg deleted file mode 100644 index 82baabe..0000000 Binary files a/src/assets/images/dog7.jpeg and /dev/null differ diff --git a/src/assets/images/mountain1.jpeg b/src/assets/images/mountain1.jpeg deleted file mode 100644 index d0f4800..0000000 Binary files a/src/assets/images/mountain1.jpeg and /dev/null differ diff --git a/src/assets/images/mountain2.jpeg b/src/assets/images/mountain2.jpeg deleted file mode 100644 index a9180b5..0000000 Binary files a/src/assets/images/mountain2.jpeg and /dev/null differ diff --git a/src/assets/images/mountain3.jpeg b/src/assets/images/mountain3.jpeg deleted file mode 100644 index 3736ccd..0000000 Binary files a/src/assets/images/mountain3.jpeg and /dev/null differ diff --git a/src/assets/images/mountain4.jpeg b/src/assets/images/mountain4.jpeg deleted file mode 100644 index 99fc8a0..0000000 Binary files a/src/assets/images/mountain4.jpeg and /dev/null differ diff --git a/src/assets/images/mountain5.jpeg b/src/assets/images/mountain5.jpeg deleted file mode 100644 index b3e054e..0000000 Binary files a/src/assets/images/mountain5.jpeg and /dev/null differ diff --git a/src/components/common/Button.js b/src/components/common/Button.js index 74a7c72..0389a0e 100644 --- a/src/components/common/Button.js +++ b/src/components/common/Button.js @@ -1,5 +1,5 @@ import styled from "styled-components"; -import React, { useState, useEffect } from "react"; +import React from "react"; import { COLOR } from "../../styles/color.js"; import { useNavigate } from "react-router-dom"; const CancelButtons = (closeModals) => { diff --git a/src/components/common/RecomListItem.js b/src/components/common/RecomListItem.js index b7c771f..7a18697 100644 --- a/src/components/common/RecomListItem.js +++ b/src/components/common/RecomListItem.js @@ -65,14 +65,11 @@ RecomListItem.propTypes = { const StRecomListItem = styled.div` width: 100%; height: 100%; - /* border: 1px solid black; */ - /* padding: 0.1rem; */ `; const ItemCard = styled(Card)` width: 14rem; height: 17rem; - /* border: 1px solid blue; */ `; const InfoCardContent = styled(CardContent)` diff --git a/src/components/common/SelectDateRange.js b/src/components/common/SelectDateRange.js index 347e7c2..735716e 100644 --- a/src/components/common/SelectDateRange.js +++ b/src/components/common/SelectDateRange.js @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from "react"; +import React, { useState } from "react"; import DatePicker from "react-datepicker"; import PropTypes from "prop-types"; import styled from "styled-components"; diff --git a/src/components/common/TagImgListItem.js b/src/components/common/TagImgListItem.js index 09ea795..719fe39 100644 --- a/src/components/common/TagImgListItem.js +++ b/src/components/common/TagImgListItem.js @@ -1,5 +1,5 @@ import styled from "styled-components"; -import React, { useState, useEffect } from "react"; +import React from "react"; import PropTypes from "prop-types"; import ListItem from "@mui/material/ListItem"; import { Link } from "react-router-dom"; diff --git a/src/components/common/TripList.js b/src/components/common/TripList.js index 12dc532..dfcf4fe 100644 --- a/src/components/common/TripList.js +++ b/src/components/common/TripList.js @@ -3,8 +3,6 @@ import styled from "styled-components"; import List from "@mui/material/List"; import TripListItem from "./TripListItem"; import axios from "axios"; -import { useRecoilState } from "recoil"; - export default function TripList() { diff --git a/src/data/DiaryInfoData.json b/src/data/DiaryInfoData.json deleted file mode 100644 index 345e9c2..0000000 --- a/src/data/DiaryInfoData.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "diary_info": [ - { - "diaryTitle": "신나는 바다 여행", - "date": "2024.03.11", - "place" : "을왕리", - "author" : "카리나", - "author_img" : "../../??" - } - ] - } - \ No newline at end of file diff --git a/src/data/FriendData.json b/src/data/FriendData.json deleted file mode 100644 index b302138..0000000 --- a/src/data/FriendData.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "friends": [ - { - "friendName": "카리나", - "imagePath": "../../assets/images/karina.png" - }, - { - "friendName": "윈터", - "imagePath": "../../assets/images/karina.png" - }, - { - "friendName": "정우", - "imagePath": "../../assets/images/karina.png" - }, - { - "friendName": "민지", - "imagePath": "../../assets/images/karina.png" - } - ] -} diff --git a/src/data/TagData.js b/src/data/TagData.js deleted file mode 100644 index 12c21ca..0000000 --- a/src/data/TagData.js +++ /dev/null @@ -1,71 +0,0 @@ -import beach from "../assets/images/beach.png"; -import beach1 from "../assets/images/beach1.jpeg"; -import beach2 from "../assets/images/beach2.jpeg"; -import beach3 from "../assets/images/beach3.jpeg"; - -import mountain1 from "../assets/images/mountain1.jpeg"; -import mountain2 from "../assets/images/mountain2.jpeg"; -import mountain3 from "../assets/images/mountain3.jpeg"; -import mountain4 from "../assets/images/mountain4.jpeg"; -import mountain5 from "../assets/images/mountain5.jpeg"; - -import dog1 from "../assets/images/dog1.jpeg"; -import dog2 from "../assets/images/dog2.jpeg"; -import dog3 from "../assets/images/dog3.jpeg"; -import dog4 from "../assets/images/dog4.jpeg"; -import dog5 from "../assets/images/dog5.jpeg"; -import dog6 from "../assets/images/dog6.jpeg"; -import dog7 from "../assets/images/dog7.jpeg"; - -const tagData = { - "tags": [ - { - "tagName": "바다", - "imagePaths": [ - beach, - beach1, - beach2, - beach3 - ] - }, - { - "tagName": "산", - "imagePaths": [ - mountain1, - mountain2, - mountain3, - mountain4, - mountain5 - ] - }, - { - "tagName": "강아지", - "imagePaths": [ - dog1, - dog2, - dog3, - dog4, - dog5, - dog6, - dog7, - dog1, - dog2, - dog3, - dog4, - dog5, - dog6, - dog7, - dog1, - dog2, - dog3, - dog4, - dog5, - dog6, - dog7 - ] - } - - ] -}; - -export default tagData; diff --git a/src/data/TripData.json b/src/data/TripData.json deleted file mode 100644 index 202ce05..0000000 --- a/src/data/TripData.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "TripData": [ - { - "_id": "1", - "title": "마루랑 대전여행", - "startdate": "2023-03-04", - "enddate": "2023-03-07", - "location": { - "latitude": 36.75, - "longitude": 127.36 - } , - "travelimg": "../../assets/images/gunsan.jpg", - "invited" : [], - "ivtoken": "ivtoken1" - },{ - "_id": "2", - "title": "마루랑 서울여행", - "startdate": "2023-04-04", - "enddate": "2023-04-07", - "location": { - "latitude": 38, - "longitude": 126.945 - } , - "travelimg": "../../assets/images/gwangju.jpg", - "invited" : [], - "ivtoken": "ivtoken2" - },{ - "_id": "3", - "title": "마루랑 대구여행", - "startdate": "2023-01-04", - "enddate": "2023-01-07", - "location": { - "latitude": 36.25, - "longitude": 128.55 - } , - "travelimg": "../../assets/images/busan.jpg", - "invited" : [], - "ivtoken": "ivtoken3" - },{ - "_id": "4", - "title": "마루랑 제주여행", - "startdate": "2023-02-04", - "enddate": "2023-02-07", - "location": { - "latitude": 33.67, - "longitude": 126.46 - } , - "travelimg": "../../assets/images/jeju.jpg", - "invited" : [], - "ivtoken": "ivtoken4" - } - ] -} diff --git a/src/data/UserData.json b/src/data/UserData.json deleted file mode 100644 index 24f2a70..0000000 --- a/src/data/UserData.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "user": - { - "_id": "id", - "name": "최마루", - "email": "unniejoa@naver.com", - "profileimg": "String", - "authprovider": "String", - "oauthId": "String", - "oauthAcessToken": "String" - } -} diff --git a/src/pages/DiaryListPage.js b/src/pages/DiaryListPage.js index 77f24c7..332ace5 100644 --- a/src/pages/DiaryListPage.js +++ b/src/pages/DiaryListPage.js @@ -7,7 +7,6 @@ import Avatar from "@mui/material/Avatar"; import Button from "@mui/material/Button"; import Pencil from "../assets/images/pencil.svg"; import { useNavigate } from "react-router-dom"; -import { useLocation } from "react-router"; import FormatListBulletedIcon from "@mui/icons-material/FormatListBulleted"; import BottomNav from "../layout/BottomNav"; import axios from "axios"; diff --git a/src/pages/DiaryWritePage.js b/src/pages/DiaryWritePage.js index 16c7484..5b6fa50 100644 --- a/src/pages/DiaryWritePage.js +++ b/src/pages/DiaryWritePage.js @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { React, useState, useEffect } from "react"; +import { React, useState } from "react"; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; import calendar from "../assets/images/calendar.svg"; diff --git a/src/pages/EditProfilPage.js b/src/pages/EditProfilPage.js index 83d0db3..8925696 100644 --- a/src/pages/EditProfilPage.js +++ b/src/pages/EditProfilPage.js @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from "react"; +import React, { useState } from "react"; import styled from "styled-components"; import Avatar from "@mui/material/Avatar"; import { COLOR } from "../styles/color";