Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 42 additions & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,49 @@
import { Box } from 'rebass/styled-components'
import { Card } from './../src/Elements/Card'
import { Text } from './../src/Elements/Typography'
import { Button } from './../src/Elements/Button'
import { Icon } from './../src/Elements/Icon'

const Home = () => {
return (
<Box>
<Box>
<h1>Zarela</h1>
</Box>
<Box
height={'100vh'}
sx={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
}}
>
<Card
variant="card.secondary"
sx={{
width: ['90%', '80%', '50%'],
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}
>
<Text variant="typography.displayMedium" mb={[4]}>
Zarela
</Text>
<Button
variant="primary"
size="large"
width="100%"
href="https://discord.gg/7qgYnj3xZC"
target="_blank"
sx={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
gap: [4, 5, 5],
}}
>
<Text variant="typography.titleLarge">Join our community</Text>
<Icon src="/images/icons/discord.svg" variant="medium" />
</Button>
</Card>
</Box>
)
}
Expand Down
3 changes: 3 additions & 0 deletions public/images/icons/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.