LoginPage.js 459 Bytes
Newer Older
Kim, Subin's avatar
context    
Kim, Subin committed
1
import { Link } from 'react-router-dom';
Kim, Subin's avatar
Kim, Subin committed
2
import LoginForm from '../components/Form/LoginForm';
Kim, Subin's avatar
context    
Kim, Subin committed
3
import { useAuth } from "../utils/context";
4
5

function LoginPage() {
Kim, Subin's avatar
context    
Kim, Subin committed
6
7
  const { user } = useAuth()
  console.log("LoginPage",user)
8
9
  return (
    <>
Kim, Subin's avatar
Kim, Subin committed
10
11
      <div className="py-5">
        <h1>오늘의 KU</h1>
12
        <p className="ms-4">-일정관리앱</p>
13
      </div>
14
      <LoginForm />
Kim, Subin's avatar
context    
Kim, Subin committed
15
      <Link to="/home">asda</Link>
16
17
18
19
20
    </>
  );
}

export default LoginPage;