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.
39 lines
939 B
39 lines
939 B
import React from 'react'; |
|
import { Box, Button, Divider, Link, Text } from '@chakra-ui/react'; |
|
|
|
type EditContentPageLinkProps = { |
|
href: string; |
|
}; |
|
|
|
export function EditContentPageLink(props: EditContentPageLinkProps) { |
|
const { href } = props; |
|
|
|
return ( |
|
<Box my='30px'> |
|
<Divider mb="15px" orientation="horizontal" /> |
|
<Text |
|
lineHeight="23px" |
|
fontWeight={500} |
|
fontSize="14px" |
|
color="gray.500" |
|
mb="10px" |
|
> |
|
This page is a work in progress. Help us by writing a small |
|
introduction to the topic and suggesting a few links to read more |
|
about this topic. |
|
</Text> |
|
<Button |
|
size="sm" |
|
py="20px" |
|
as={Link} |
|
href={href} |
|
target="_blank" |
|
isFullWidth |
|
colorScheme={'gray'} |
|
_hover={{ textDecoration: 'none', bg: 'gray.200' }} |
|
> |
|
Edit this Page |
|
</Button> |
|
</Box> |
|
); |
|
}
|
|
|