Skip to content

Commit

Permalink
Refactor: login, productDetail, signupPage파일명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehafe committed Mar 5, 2023
1 parent c4047d7 commit e1d3ea3
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/ts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import Navigo from 'navigo';
import { $ } from './utils/dom';
import { handleMyPage } from './page/mypage';
import { handleAccountPage } from './page/mypage/account';
import { handleLoginPage } from './page/login';
import { handleSignupPage } from './page/signup';
import { handleLoginPage } from './page/loginPage';
import { handleSignupPage } from './page/signupPage';
import { handleCartPage } from './page/cartPage/cartPage';
import { handleMainPage } from './page/mainPage/mainPage';
import { handleCategoryPage } from './page/categoryPage/categoryPage';
import { handleSearchPage } from './page/searchPage/searchPage';
import { handleDetailProductPage } from './page/productDetail/productDetail';
import { handleDetailProductPage } from './page/productDetailPage/productDetailPage';
import { handleWishListPage } from './page/wishListPage/wishListPage';
import { handlePaymentPage } from './page/paymentPage/paymentPage';
import { handleOrderHistoryPage } from './page/mypage/orderhistory';
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/cartPage/cartPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import { router } from '../../main';
import { $ } from '../../utils/dom';
import { updateInfo } from '../productDetail/productDetail';
import { updateInfo } from '../productDetailPage/productDetailPage';
import { shoppingCartStore } from '../../store/shoppingCartStore';
import { cartSVG } from '../../importIMGFiles';
import { renderPage } from '../../utils/render';
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/detailOrderHistoryPage/detailOrderHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { $ } from '../../utils/dom';
import { renderPage } from '../../utils/render';
import { getDetailOrderProduct } from '../../api';
import { formatDate } from '../../utils/format';
import { getLoginStatus, showAlertPlzLogin } from '../login';
import { getLoginStatus, showAlertPlzLogin } from '../loginPage';
import { htmlMypage_Nav } from '../mypage';
import { router } from '../../main';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ts/page/mypage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { chevronrightSVG } from '../importIMGFiles';
import { router } from '../main';
import { $$ } from '../utils/dom';
import { renderPage } from '../utils/render';
import { getLoginStatus, showAlertPlzLogin } from './login';
import { getLoginStatus, showAlertPlzLogin } from './loginPage';
let navliList;

/** HTML : mypage nav 목록 */
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/mypage/account.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { $ } from '../../utils/dom';
import { renderPage } from '../../utils/render';
import { htmlMypage_Nav } from '../mypage';
import { getLoginStatus, showAlertPlzLogin } from '../login';
import { getLoginStatus, showAlertPlzLogin } from '../loginPage';
import { router } from '../../main';
import {
getBankList,
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/mypage/editPersonalInfo.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { $ } from '../../utils/dom';
import { router } from '../../main';
import { renderPage } from '../../utils/render';
import { getLoginStatus, showAlertPlzLogin } from '../login';
import { getLoginStatus, showAlertPlzLogin } from '../loginPage';
import { htmlMypage_Nav, resetNavbarActive } from '../mypage';
import { authorization, personalInfoLogin, submitChangeInfo } from '../../api';
import { Authorization } from '../../interface/index';
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/mypage/orderhistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { formatDate } from '../../utils/format';
import { htmlMypage_Nav, resetNavbarActive } from '../mypage';
import { router } from '../../main';
import { getLoginStatus, showAlertPlzLogin } from '../login';
import { getLoginStatus, showAlertPlzLogin } from '../loginPage';
import { GetAllTransactionsInterface } from '../../interface/index';
import { toggleLoadingSpinner } from '../../utils/loading';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getDetailProduct } from '../../api';
import { wishListStore } from '../../store/wishListStore';
import { shoppingCartStore } from '../../store/shoppingCartStore';
import { recentViewStore } from '../../store/recentViewStore';
import { renderInitHeaderLogin } from '../login';
import { renderInitHeaderLogin } from '../loginPage';
import { formatPrice } from '../../utils/format';
import { countQtyInCart, countQtyInWishlist } from '../mainPage/mainPage';
import { WishListStore } from '../../interface/store';
Expand Down
2 changes: 1 addition & 1 deletion src/ts/page/signup.ts → src/ts/page/signupPage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $ } from '../utils/dom';
import { htmlHeaderLogin } from './login';
import { htmlHeaderLogin } from './loginPage';
import { router } from '../main';
import { renderPage } from '../utils/render';
import { getUserList, signup } from '../api';
Expand Down
4 changes: 2 additions & 2 deletions src/ts/page/wishListPage/wishListPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
import { $ } from '../../utils/dom';
import { renderPage } from '../../utils/render';
import { shoppingCart, hearted } from '../../importIMGFiles';
import { storeCart } from '../productDetail/productDetail';
import { storeCart } from '../productDetailPage/productDetailPage';
import { wishListStore } from '../../store/wishListStore';
import { shoppingCartStore } from '../../store/shoppingCartStore';
import { htmlMypage_Nav, resetNavbarActive } from '../mypage';
import { router } from '../../main';
import { countQtyInCart, countQtyInWishlist } from '../mainPage/mainPage';
import { getLoginStatus, showAlertPlzLogin } from '../login';
import { getLoginStatus, showAlertPlzLogin } from '../loginPage';
import { WishListStore, WishListStoreValue } from '../../interface/store';

/** 찜한상품 제목, ul 태그 템플릿 삽입 */
Expand Down
2 changes: 1 addition & 1 deletion src/ts/utils/render.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { renderInitHeaderLogin } from '../page/login';
import { renderInitHeaderLogin } from '../page/loginPage';
import { $ } from './dom';

/** Navigo innerHTML template */
Expand Down

0 comments on commit e1d3ea3

Please sign in to comment.