• This project
    • Loading...
  • Sign in

정승호 / Hexa_for_you_renewal

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 1
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Hexa_for_you_renewal
  • client
  • src
  • components
  • views
  • LandingPage
  • LandingPage.js
  • 정승호's avatar
    로그인 페이지 제작 · 4df598a0
    4df598a0
    정승호 authored 2020-06-22 21:54:32 +0900
LandingPage.js 467 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import React, {useEffect} from 'react'
import axios from 'axios';

function LandingPage() {
    useEffect(() => {
        axios.get('/api/hello')
        .then(response => {console.log(response)})
    }, [])


    return (
        <div style = {{
            display: 'flex', justifyContent: 'center', alignItems: 'center'
            , width: '100%', height: '100vh'
        }}>
        <h2> 시작 페이지 </h2>
        </div>
    )
}

export default LandingPage