Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정민우
/
vps_service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
ch4n3.yoon
2021-06-11 00:14:12 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f2cdf9114d267ec8823ec6b842aa6e9367dcfb4c
f2cdf911
1 parent
5da41c9c
[New] Index 화면 컴포넌트 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
96 additions
and
3 deletions
frontend/src/components/Index.js
frontend/src/components/Index.js
View file @
f2cdf91
import
React
,
{
useEffect
}
from
'react'
import
{
BrowserRouter
,
Route
,
Redirect
,
Switch
,
Link
}
from
'react-router-dom'
import
{
Container
}
from
'@chakra-ui/react'
import
{
BrowserRouter
,
Route
,
Redirect
,
Switch
,
Link
,
useHistory
}
from
'react-router-dom'
import
{
Container
,
Heading
,
Button
,
Segment
,
Message
,
Form
,
Input
,
Transition
,
Select
,
Checkbox
,
FormControl
,
FormLabel
,
FormErrorMessage
,
FormHelperText
,
VStack
,
Stack
,
StackDivider
,
Box
,
Text
,
List
,
ListItem
,
ListIcon
,
OrderedList
,
UnorderedList
,
Table
,
Thead
,
Tbody
,
Tfoot
,
Tr
,
Th
,
Td
,
TableCaption
,
Flex
,
HStack
,
Wrap
,
}
from
'@chakra-ui/react'
import
{
Divider
,
}
from
'semantic-ui-react'
const
Feature
=
({
title
,
desc
,
...
rest
})
=>
{
return
(
<
Box
p
=
{
5
}
shadow
=
"md"
borderWidth
=
"1px"
{...
rest
}
>
<
Heading
fontSize
=
"xl"
>
{
title
}
<
/Heading>
<
Text
mt
=
{
4
}
>
{
desc
}
<
/Text>
<
/Box>
)
}
const
Index
=
()
=>
{
const
history
=
useHistory
()
return
(
<
Container
>
asdfasdfasdf
<
Divider
hidden
/>
<
Wrap
justify
=
"right"
>
<
Button
size
=
"xs"
colorScheme
=
"blue"
variant
=
"outline"
onClick
=
{()
=>
history
.
push
(
'/sign-in'
)
}
>
SIGN
IN
<
/Button>
<
Button
size
=
"xs"
colorScheme
=
"blue"
onClick
=
{()
=>
history
.
push
(
'/sign-up'
)
}
>
SIGN
UP
<
/Button>
<
/Wrap>
<
Heading
>
The
Infrastructure
Cloud
<
/Heading>
<
Text
>
Easily
deploy
cloud
servers
,
bare
metal
,
and
storage
worldwide
!<
/Text>
<
Divider
hidden
/>
<
Stack
spacing
=
{
8
}
>
<
Feature
title
=
'Cloud Compute'
desc
=
'Powerful compute instances with Intel CPUs and 100% SSD storage.'
/>
<
Feature
title
=
'Bare Metal'
desc
=
'Fully automated dedicated servers with zero virtualization layer.'
/>
<
/Stack >
<
Divider
hidden
/>
<
Stack
spacing
=
{
8
}
>
<
Feature
title
=
'Block Storage'
desc
=
'Fast SSD-backed scalable and redundant storage with up to 10TB volumes.'
/>
<
Feature
title
=
'Dedicated Cloud'
desc
=
'Dedicated cloud compute instances without the noisy neighbors.'
/>
<
/Stack >
<
Divider
hidden
/>
<
/Container>
)
}
...
...
Please
register
or
login
to post a comment