-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sett/landing-v2
- Loading branch information
Showing
16 changed files
with
351 additions
and
22 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.wrapper { | ||
width: 100%; | ||
text-align: center; | ||
|
||
.heading { | ||
font-size: 48px; | ||
line-height: 120%; /* 57.6px */ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.desc { | ||
font-size: 24px; | ||
line-height: 36px; /* 150% */ | ||
margin-bottom: 40px; | ||
} | ||
|
||
@include is-mobile { | ||
.heading { | ||
font-size: 40px; | ||
margin-bottom: 12px; | ||
} | ||
.desc { | ||
font-size: 18px; | ||
line-height: 140%; /* 25.2px */ | ||
margin-bottom: 24px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import React from 'react'; | ||
import s from './Allocation.module.scss'; | ||
import { Box, Flex, Image, Text } from '@chakra-ui/react'; | ||
|
||
type Props = {}; | ||
|
||
const ALLOCATION_DATA = [ | ||
{ title: 'Team (20%)', desc: 'For core team and project copntributors' }, | ||
{ title: 'Advisors (5%)', desc: 'For advisors and partners' }, | ||
{ title: 'Investor (15%)', desc: 'For private sale and public sale' }, | ||
{ | ||
title: 'Community (60%)', | ||
desc: 'For builders, partnerships, marketing, liquidity, etc.', | ||
}, | ||
]; | ||
|
||
const Allocation = (props: Props) => { | ||
return ( | ||
<Box | ||
className={s.wrapper} | ||
py={{ base: '40px', md: '100px' }} | ||
position={'relative'} | ||
> | ||
<Box | ||
bgColor={'#007659'} | ||
w="100vw" | ||
position={'absolute'} | ||
top={0} | ||
left={'calc(-50vw + 50%)'} | ||
h="100%" | ||
zIndex={0} | ||
></Box> | ||
<Box zIndex={1} position={'relative'}> | ||
<Text as="h4" className={s.heading}> | ||
BVM Allocation | ||
</Text> | ||
<Text className={s.desc}> | ||
The total supply of BVM is permanently fixed at 100M tokens. | ||
</Text> | ||
<Box className={s.mobile} display={{ base: 'block', sm: 'none' }}> | ||
<Image | ||
src={'/images/chart-pie.png'} | ||
alt={'Allocation chart'} | ||
maxW={'100%'} | ||
mx="auto" | ||
></Image> | ||
<Flex flexDir={'column'} gap="24px" alignItems={'center'}> | ||
{ALLOCATION_DATA.map((item, index) => ( | ||
<Box key={index}> | ||
<Text fontSize={'18px'} lineHeight={'110%'} mb="8px"> | ||
{item.title} | ||
</Text> | ||
<Text fontSize={'14px'} lineHeight={'20px'}> | ||
{item.desc} | ||
</Text> | ||
</Box> | ||
))} | ||
</Flex> | ||
</Box> | ||
<Image | ||
src={'/images/allocation-chart.png'} | ||
alt={'Allocation chart'} | ||
maxW={{ base: '100%', md: '70%' }} | ||
mx="auto" | ||
display={{ base: 'none', sm: 'block' }} | ||
></Image> | ||
</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Allocation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.wrapper { | ||
.heading { | ||
color: #000; | ||
font-size: 40px; | ||
line-height: 120%; /* 48px */ | ||
margin-bottom: 40px; | ||
} | ||
|
||
@include is-mobile { | ||
.heading { | ||
font-size: 24px; | ||
margin-bottom: 12px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { Box, Image, Text } from '@chakra-ui/react'; | ||
import React from 'react'; | ||
import s from './Schedule.module.scss'; | ||
import { DOMAIN_URL } from '@/config'; | ||
|
||
type Props = {}; | ||
|
||
const Schedule = (props: Props) => { | ||
const handleViewImage = () => { | ||
window.open(`${DOMAIN_URL}/images/unlock-chart.png`, '_blank'); | ||
}; | ||
|
||
return ( | ||
<Box | ||
className={s.wrapper} | ||
py={{ base: '40px', md: '100px' }} | ||
position={'relative'} | ||
> | ||
<Box | ||
bgColor={'#fff'} | ||
w="100vw" | ||
position={'absolute'} | ||
top={0} | ||
left={'calc(-50vw + 50%)'} | ||
h="100%" | ||
zIndex={0} | ||
></Box> | ||
<Box zIndex={1} position={'relative'}> | ||
<Text as="h3" className={s.heading} textAlign={'center'}> | ||
BVM Unlock Schedule | ||
</Text> | ||
<Box onClick={handleViewImage}> | ||
<Image | ||
src={'/images/unlock-chart.png'} | ||
alt={'Unlock chart'} | ||
maxW={['100%']} | ||
mx="auto" | ||
></Image> | ||
</Box> | ||
</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default Schedule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
.wrapper { | ||
width: 100%; | ||
text-align: center; | ||
|
||
.header { | ||
width: 100%; | ||
} | ||
|
||
.heading { | ||
font-size: 48px; | ||
line-height: 120%; /* 57.6px */ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.desc { | ||
font-size: 24px; | ||
line-height: 36px; /* 150% */ | ||
margin-bottom: 60px; | ||
} | ||
|
||
.vesting_table { | ||
width: 100%; | ||
position: relative; | ||
z-index: 1; | ||
|
||
th, | ||
td { | ||
color: white; | ||
text-align: left; | ||
white-space: nowrap; | ||
} | ||
|
||
th { | ||
color: #fa4e0e; | ||
font-size: 18px; | ||
font-weight: 500; | ||
line-height: 140%; /* 25.2px */ | ||
letter-spacing: 0.18px; | ||
height: 60px; | ||
border-right: 1px solid #000; | ||
background: rgba(255, 255, 255, 0.15); | ||
padding: 0 32px; | ||
|
||
&:first-child { | ||
border-left: 1px solid #3d3d3d; | ||
} | ||
&:last-child { | ||
border-right: 1px solid #3d3d3d; | ||
} | ||
} | ||
|
||
td { | ||
padding: 32px; | ||
font-size: 24px; | ||
line-height: 140%; /* 33.6px */ | ||
border-right: 1px solid #3d3d3d; | ||
border-bottom: 1px solid #3d3d3d; | ||
border-left: 1px solid #3d3d3d; | ||
} | ||
} | ||
|
||
@include is-mobile { | ||
// overflow-y: scroll; | ||
|
||
.heading { | ||
font-size: 40px; | ||
margin-bottom: 12px; | ||
} | ||
.desc { | ||
font-size: 18px; | ||
margin-bottom: 40px; | ||
line-height: 140%; /* 25.2px */ | ||
} | ||
|
||
.table_wrapper { | ||
overflow-y: scroll; | ||
|
||
.vesting_table { | ||
th { | ||
font-size: 16px; | ||
padding: 0 20px; | ||
padding-right: 32px; | ||
} | ||
td { | ||
font-size: 20px; | ||
padding: 20px; | ||
padding-right: 32px; | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.