computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
642 B
20 lines
642 B
3 years ago
|
import React from 'react';
|
||
|
import { Box, Button, Heading, Text } from '@chakra-ui/react';
|
||
|
import { LockIcon } from '@chakra-ui/icons';
|
||
|
|
||
|
type PremiumBlockProps = {
|
||
|
title: string;
|
||
|
description: string;
|
||
|
};
|
||
|
|
||
|
export default function PremiumBlock(props: PremiumBlockProps) {
|
||
|
return (
|
||
|
<Box p='40px' textAlign='center' rounded='5px' mb='18px' bg='gray.50' borderWidth={1}>
|
||
|
<LockIcon color='gray.300' height='45px' w='45px' mb='18px' />
|
||
|
<Heading as='h3' fontSize='30px' mb='10px'>{props.title}</Heading>
|
||
|
<Text mb='18px'>{props.description}</Text>
|
||
|
<Button colorScheme='green'>Become a Member</Button>
|
||
|
</Box>
|
||
|
);
|
||
|
}
|