This commit is contained in:
2024-06-20 13:59:30 +05:30
4 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { Box, Heading, Stack, Text } from '@chakra-ui/react'
import React from 'react'
const HeroHeader = ({title,content}) => {
return (
<Box backgroundColor={'#0041180D'} h={'360px'} display={'flex'} justifyContent={'center'} alignContent={'center'} flexDirection={'column'} textAlign={'center'}>
<Heading as='h2' mb={'14px'} fontSize={'52px'} color={'#000'}>{title}</Heading>
<Text fontFamily={'DM sans'} fontSize={'20px'} mb={'0'} fontWeight={'500'}>{content}</Text>
</Box>
)
}
export default HeroHeader

15
src/Pages/AboutUs.jsx Normal file
View File

@@ -0,0 +1,15 @@
import React from 'react'
import HeroHeader from '../Components/HeroHeader'
const AboutUs = () => {
return (
<>
<HeroHeader
title='About Us'
content='Our innovative investments drive growth and secure futures.'
/>
</>
)
}
export default AboutUs

View File

@@ -1,5 +1,7 @@
import AboutUs from "../Pages/AboutUs";
import Home from "../Pages/Home";
export const RouteLink = [
{ path: "/", Component: Home },
{ path: "/aboutus", Component: AboutUs },
]

View File

@@ -1,5 +1,13 @@
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
h2{
font-family: Roca Two !important;
}