Index.js
2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import React, { useEffect } from '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>
<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>
)
}
export default Index