Skip to content

Commit

Permalink
Merge pull request #193 from imi21123/test
Browse files Browse the repository at this point in the history
Feat: refactoring 진행 중
  • Loading branch information
imi21123 authored Feb 7, 2024
2 parents 191f43f + d34f19b commit f9fc65a
Show file tree
Hide file tree
Showing 147 changed files with 1,791 additions and 2,070 deletions.
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react-router-dom": "^6.19.0",
"react-scripts": "5.0.1",
"react-slick": "^0.29.0",
"react-swipeable": "^7.0.1",
"recoil": "^0.7.7",
"recoil-persist": "^5.1.0",
"recoilize": "^3.2.0",
Expand Down
22 changes: 6 additions & 16 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@
background-color: white;
padding-top: 4rem;
}
.bottom_navbar {
left: calc(50% - 207px); /* Center the navbar */
right: calc(50% - 207px); /* Center the navbar */
}
.bottom_navbar2 {

.navbar {
left: calc(50% - 207px); /* Center the navbar */
right: calc(50% - 207px); /* Center the navbar */
}
Expand All @@ -44,11 +41,8 @@
background-color: white;
padding-top: 4rem;
}
.bottom_navbar {
left: calc(50% - 215px); /* Center the navbar */
right: calc(50% - 215px); /* Center the navbar */
}
.bottom_navbar2 {

.navbar {
left: calc(50% - 215px); /* Center the navbar */
right: calc(50% - 215px); /* Center the navbar */
}
Expand All @@ -57,6 +51,7 @@
left: calc(50% - 215px); /* Center the navbar */
right: calc(50% - 215px); /* Center the navbar */
}

.top_header_page {
left: calc(50% - 215px); /* Center the navbar */
right: calc(50% - 215px); /* Center the navbar */
Expand All @@ -66,17 +61,12 @@
@media (min-width: 800px) {
.App {
width: 600px;

background-color: white;
padding-top: 4rem;
box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 36px;
}
.bottom_navbar {
left: calc(50% - 300px); /* Center the navbar */
right: calc(50% - 300px); /* Center the navbar */
}

.bottom_navbor2 {
.navbar {
left: calc(50% - 300px); /* Center the navbar */
right: calc(50% - 300px); /* Center the navbar */
}
Expand Down
8 changes: 5 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "./App.css";
import loading from "./assets/animation/loading.json";
import Auth from "./hoc/auth";
import useInterval from "./hooks/useInterval";
import CafeSearchPage from "./pages/CafeSearch/CafeSearch";
import StoreSearchPage from "./pages/StoreSearch/StoreSearch";
import CartPage from "./pages/CartPage/CartPage";
import HomePage from "./pages/HomePage/Homepage";
import KakaoLoginPage from "./pages/LoginPage/Login";
Expand All @@ -34,6 +34,7 @@ import PaymentPage from "./pages/PaymentPage/PaymentPage";
import PaymentFailPage from "./pages/PaymentPage/Redirect/PaymentFailPage";
import PaymentSuccessPage from "./pages/PaymentPage/Redirect/PaymentSuccessPage";
import ReadyPage from "./pages/ReadyPage/ReadyPage";
import Splash from "./pages/Splash/Splash";

function App() {
const [cookies, , removeCookies] = useCookies();
Expand Down Expand Up @@ -109,12 +110,13 @@ function App() {
>
<Routes>
{/* 로그인 하지 않아도 볼 수 있는 페이지 */}
<Route path="/splash" element={<Splash />} />
{/* 메인페이지 */}
<Route path="/" element={<NewHomePage />} />
{/* 없는 경로로 갈 경우 메인페이지로 강제 이동 */}
<Route path="/*" element={<Navigate to="/"></Navigate>}></Route>
{/* 카페검색*/}
<Route path="/search" element={<CafeSearchPage />} />
<Route path="/search" element={<StoreSearchPage />} />
{/* 로그인*/}
<Route path="/kakaologin" element={<NewLoginPage />} />
<Route path="/policyinlogin" element={<PolicyInLogin />} />
Expand All @@ -130,7 +132,7 @@ function App() {
<Route path="/position" element={<PositionpolicyPage />} />
{/* 마이페이지-이벤트 페이지 */}
<Route path="/eventing" element={<EventingPage />} />
{/* 카페 상세 페이지*/}
{/* 가게상세 페이지*/}
<Route path="/store" element={<StoreDetailPage />} />
{/* 마이페이지*/}
<Route path="/mypage" element={<MyPage />} />
Expand Down
3 changes: 0 additions & 3 deletions src/assets/images/backBtn.svg

This file was deleted.

Binary file removed src/assets/images/berry.png
Binary file not shown.
23 changes: 0 additions & 23 deletions src/assets/images/berry.svg

This file was deleted.

Binary file added src/assets/images/btn_apple_login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_header_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_header_cart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_header_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_header_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_home_cart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_home_coupon_box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_home_to_login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_kakao_login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/btn_order_progress_refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/cafe_logo.png
Binary file not shown.
9 changes: 0 additions & 9 deletions src/assets/images/cafe_orda.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/assets/images/cart_icon.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/assets/images/chat_icon.svg

This file was deleted.

Binary file removed src/assets/images/cherry1.png
Binary file not shown.
43 changes: 0 additions & 43 deletions src/assets/images/customer_icon.svg

This file was deleted.

16 changes: 0 additions & 16 deletions src/assets/images/event_icon.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/assets/images/eventing1.svg

This file was deleted.

15 changes: 0 additions & 15 deletions src/assets/images/go_left.svg

This file was deleted.

17 changes: 0 additions & 17 deletions src/assets/images/go_right.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/assets/images/header_home.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/assets/images/home_cafedream.svg

This file was deleted.

Binary file removed src/assets/images/home_cherry.png
Diff not rendered.
Binary file removed src/assets/images/home_cherry2.png
Diff not rendered.
10 changes: 0 additions & 10 deletions src/assets/images/home_harang.svg
Diff not rendered.
3 changes: 0 additions & 3 deletions src/assets/images/home_logo.svg
Diff not rendered.
Loading

0 comments on commit f9fc65a

Please sign in to comment.