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.
19 lines
539 B
19 lines
539 B
import { Box, Container, Heading, Text } from '@chakra-ui/react'; |
|
|
|
type PageHeaderProps = { |
|
title: string; |
|
subtitle: string; |
|
}; |
|
|
|
export function PageHeader(props: PageHeaderProps) { |
|
const { title, subtitle } = props; |
|
|
|
return ( |
|
<Box pt='45px' pb='30px' borderBottomWidth={1} mb='30px'> |
|
<Container maxW='container.md' position='relative'> |
|
<Heading as='h1' color='black' fontSize='35px' fontWeight={700} mb='5px'>{title}</Heading> |
|
<Text fontSize='15px'>{subtitle}</Text> |
|
</Container> |
|
</Box> |
|
); |
|
}
|
|
|