diff --git a/.idea/TadakTadak.iml b/.idea/TadakTadak.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/TadakTadak.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e9f2a87 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..9196fa6 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + 1705738328256 + + + + \ No newline at end of file diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 9e051ef..53584a4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,35 +1,34 @@ -import { useState } from 'react'; -import reactLogo from './assets/react.svg'; -import viteLogo from "/vite.svg"; +import { createBrowserRouter, RouterProvider } from 'react-router-dom'; +import RootPage from './pages/RootPage'; +import WelcomePage from './pages/WelcomePage'; +import ErrorPage from './pages/ErrorPage'; +import ChattingListPage from './pages/ChattingListPage'; +import SignupPage from './pages/SignupPage'; +import SigninPage from './pages/SigninPage'; +import ChattingRoomPage from './pages/ChattingRoomPage'; +const router = createBrowserRouter([ + { + path: '/', + element: , + id: 'root', + errorElement: , + children: [ + { index: true, element: }, + { path: 'signin', element: }, + { path: 'signup', element: }, + { path: 'chattinglist', element: }, + { path: 'chatroom/:chatroom_id', element: }, + ], + }, +]); -function App() { - const [count, setCount] = useState(0); - +const App = () => { return ( <> - -

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

-
-

- Click on the Vite and React logos to learn more -

+ ); -} +}; export default App; diff --git a/frontend/src/components/auth/auth.tsx b/frontend/src/components/auth/auth.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/chat/Chat.tsx b/frontend/src/components/chat/Chat.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/chattingRoomList/ChattingRoomList.tsx b/frontend/src/components/chattingRoomList/ChattingRoomList.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/layout/Layout.tsx b/frontend/src/components/layout/Layout.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/video/Video.tsx b/frontend/src/components/video/Video.tsx new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/hooks/Hook.ts b/frontend/src/hooks/Hook.ts new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/pages/ChattingListPage.tsx b/frontend/src/pages/ChattingListPage.tsx new file mode 100644 index 0000000..cf5cdaa --- /dev/null +++ b/frontend/src/pages/ChattingListPage.tsx @@ -0,0 +1,5 @@ +const ChattingListPage = () => { + return <>It's ChattingListPage!; +}; + +export default ChattingListPage; diff --git a/frontend/src/pages/ChattingRoomPage.tsx b/frontend/src/pages/ChattingRoomPage.tsx new file mode 100644 index 0000000..0a9dd44 --- /dev/null +++ b/frontend/src/pages/ChattingRoomPage.tsx @@ -0,0 +1,5 @@ +const ChattingRoomPage = () => { + return <>It's Chatting RoomPage!; +}; + +export default ChattingRoomPage; diff --git a/frontend/src/pages/ErrorPage.tsx b/frontend/src/pages/ErrorPage.tsx new file mode 100644 index 0000000..7b01827 --- /dev/null +++ b/frontend/src/pages/ErrorPage.tsx @@ -0,0 +1,7 @@ +const ErrorPage = () => { + return( + <>It's ErrorPage! + ) +}; + +export default ErrorPage; \ No newline at end of file diff --git a/frontend/src/pages/RootPage.tsx b/frontend/src/pages/RootPage.tsx new file mode 100644 index 0000000..f39b6f1 --- /dev/null +++ b/frontend/src/pages/RootPage.tsx @@ -0,0 +1,12 @@ +import { Outlet } from 'react-router-dom'; + +const RootPage = () => { + return <> + +
+ +
+ +}; + +export default RootPage; \ No newline at end of file diff --git a/frontend/src/pages/SigninPage.tsx b/frontend/src/pages/SigninPage.tsx new file mode 100644 index 0000000..e1031c3 --- /dev/null +++ b/frontend/src/pages/SigninPage.tsx @@ -0,0 +1,7 @@ +const SigninPage = () => { + return( + <>It's SigninPage! + ) +}; + +export default SigninPage; diff --git a/frontend/src/pages/SignupPage.tsx b/frontend/src/pages/SignupPage.tsx new file mode 100644 index 0000000..ea4f828 --- /dev/null +++ b/frontend/src/pages/SignupPage.tsx @@ -0,0 +1,5 @@ +const SignupPage = () => { + return
It's SignupPage!
; +}; + +export default SignupPage; diff --git a/frontend/src/pages/WelcomePage.tsx b/frontend/src/pages/WelcomePage.tsx new file mode 100644 index 0000000..83658d4 --- /dev/null +++ b/frontend/src/pages/WelcomePage.tsx @@ -0,0 +1,7 @@ +const WelcomePage = () => { + return( + <>It's Home! + ) +}; + +export default WelcomePage; \ No newline at end of file diff --git a/frontend/src/stores/Store.ts b/frontend/src/stores/Store.ts new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/styles/Style.tsx b/frontend/src/styles/Style.tsx new file mode 100644 index 0000000..e69de29