Commit f00fa2c0 authored by Lee SeoYeon's avatar Lee SeoYeon
Browse files

.

parent cbc36f50
import React, { useState, useEffect } from 'react'
import { Alert, Col, Container, Form, Row, Button, Spinner } from "react-bootstrap"
import { Alert, Col, Container, Form, Row, Button, Spinner, Image } from "react-bootstrap"
import axios from "axios"
import catchErrors from '../utils/catchErrors'
import { Redirect } from 'react-router-dom'
import { handleLogin } from '../utils/auth'
import { Link } from 'react-router-dom';
import ohuh from '../ohuh-sm.PNG';
const INIT_USER = {
email: '',
......@@ -53,6 +54,7 @@ function Login() {
return (
<Container>
<Row className= 'vh-100 flex-column align-items-center justify-content-center'>
<Link to='/'><Image src={ohuh}/></Link>
<h2>로그인</h2>
<Col md={6}>
{error && <Alert variant='danger'>
......
import React, { useState, useEffect } from 'react'
import { Col, Container, Form, Row, Button, Alert } from "react-bootstrap"
import { Col, Container, Form, Row, Button, Alert, Image } from "react-bootstrap"
import axios from "axios"
import catchErrors from '../utils/catchErrors'
import { Redirect } from 'react-router-dom'
import ohuh from '../ohuh-sm.PNG';
import { Link } from 'react-router-dom';
const INIT_USER = {
name: '',
......@@ -48,7 +50,8 @@ function Signup() {
return (
<Container>
<Row className= 'vh-100 flex-column align-items-center justify-content-center'>
<h2>회원가입</h2>
<Link to='/'><Image src={ohuh}/></Link>
<h2>회원가입</h2>
<Col md={5}>
{error && <Alert variant='danger'>
{error}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment