issue #49
All checks were successful
Test CI / build (push) Successful in 16s

- 홈 화면 라우팅 및 기본 파일 생성
This commit is contained in:
2025-12-02 22:40:04 +09:00
parent b730945d34
commit 1a0cc9376f
2 changed files with 9 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import { useAuthStore } from './store/authStore';
import { PageRouting } from './const/PageRouting'; import { PageRouting } from './const/PageRouting';
import LoginPage from './ui/page/account/login/LoginPage'; import LoginPage from './ui/page/account/login/LoginPage';
import ResetPasswordPage from './ui/page/account/resetPassword/ResetPasswordPage'; import ResetPasswordPage from './ui/page/account/resetPassword/ResetPasswordPage';
import { HomePage } from './ui/page/home/HomePage';
function App() { function App() {
const { authData } = useAuthStore(); const { authData } = useAuthStore();
@@ -18,6 +19,7 @@ function App() {
<Route element={<SignUpPage />} path={PageRouting["SIGN_UP"].path} /> <Route element={<SignUpPage />} path={PageRouting["SIGN_UP"].path} />
<Route element={<ResetPasswordPage />} path={PageRouting["RESET_PASSWORD"].path} /> <Route element={<ResetPasswordPage />} path={PageRouting["RESET_PASSWORD"].path} />
{!authData ? <Route element={<Navigate to={PageRouting["LOGIN"].path} />} path="*" /> : null} {!authData ? <Route element={<Navigate to={PageRouting["LOGIN"].path} />} path="*" /> : null}
<Route element={<HomePage />} path={PageRouting["HOME"].path} />
</Route> </Route>
</Routes> </Routes>
</Router> </Router>

View File

@@ -0,0 +1,7 @@
export const HomePage = () => {
return (
<div>
HomePage
</div>
)
};