-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from yura0302/develop
fix : 채팅 높이수정, 스크롤 맨 밑으로 고정, 채팅방 생성 시 날짜 수정
- Loading branch information
Showing
6 changed files
with
68 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,6 @@ dist-ssr | |
|
||
# Api Keys | ||
.env | ||
src/Router.tsx | ||
node_modules/vite/bin/vite.js | ||
|
||
# snapshots file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { lazy } from 'react'; | ||
|
||
const Main = lazy(() => import('./pages/Main')); | ||
const Login = lazy(() => import('./pages/LogIn')); | ||
// const KakaoLogin = lazy(() => import('./pages/KakaoLogin')); | ||
const SignUp = lazy(() => import('./pages/SignUp')); | ||
const WritePost = lazy(() => import('./pages/WritePost')); | ||
const CategoryPage = lazy(() => import('./pages/CategoryPage')); | ||
const WishList = lazy(() => import('./pages/WishList')); | ||
const SalesList = lazy(() => import('./pages/SalesList')); | ||
const PurchaseList = lazy(() => import('./pages/PurchaseList')); | ||
const MyPage = lazy(() => import('./pages/MyPage')); | ||
const EditInfo = lazy(() => import('./pages/EditInfo')); | ||
const SearchPage = lazy(() => import('./pages/SearchPage')); | ||
const CategoryList = lazy(() => import('./components/CategoryList')); | ||
const SellerPage = lazy(() => import('./pages/SellerPage')); | ||
const ChatList = lazy(() => import('./pages/ChatList')); | ||
const ItemDetail = lazy(() => import('./pages/ItemDetail')); | ||
const ItemUpdate = lazy(() => import('./pages/ItemUpadate')); | ||
const ChattingPage = lazy(() => import('./pages/ChattingPage')); | ||
|
||
export const routes = [ | ||
{ path: '/', element: <Main /> }, | ||
{ path: '/login', element: <Login /> }, | ||
// { path: '/auth/kakao', element: <KakaoLogin /> }, | ||
{ path: '/signup', element: <SignUp /> }, | ||
{ path: '/write', element: <WritePost /> }, | ||
{ path: '/wishlist', element: <WishList /> }, | ||
{ path: '/saleslist', element: <SalesList /> }, | ||
{ path: '/purchaselist', element: <PurchaseList /> }, | ||
{ path: '/mypage', element: <MyPage /> }, | ||
{ path: '/item:productId', element: <ItemDetail /> }, | ||
{ path: '/item/update/:productId', element: <ItemUpdate /> }, | ||
{ path: '/edit_info', element: <EditInfo /> }, | ||
{ path: '/chat/room', element: <ChatList /> }, | ||
{ path: '/chat/:chatRoomId', element: <ChattingPage /> }, | ||
{ path: '/chat/create/:idx', element: <ChattingPage /> }, | ||
{ path: '/item/:id', element: <ItemDetail /> }, | ||
{ path: '/category', element: <CategoryList /> }, | ||
{ path: '/category/:categoryId', element: <CategoryPage /> }, | ||
{ path: '/search', element: <SearchPage /> }, | ||
{ | ||
path: 'products', | ||
element: <SearchPage />, | ||
children: [{ path: '', element: <SearchPage /> }], | ||
}, | ||
{ path: '/seller', element: <SellerPage /> }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters