Skip to content

Commit 04c7753

Browse files
committed
add landingpage section title
1 parent f5864b1 commit 04c7753

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import HStack from "../../../components/HStack";
2+
import {Typography} from "@mui/material";
3+
import VStack from "../../../components/VStack";
4+
import React from "react";
5+
6+
const LandingPageSectionTitle = ({ title }) => {
7+
return (
8+
<VStack>
9+
<HStack justifyContent={'center'} sx={{width: '100%'}}>
10+
<Typography sx={styles.titleText}>
11+
{title}
12+
</Typography>
13+
</HStack>
14+
</VStack>
15+
)
16+
}
17+
18+
const styles = {
19+
titleText: {
20+
fontWeight: 'bold',
21+
fontSize: '48px',
22+
textAlign: 'center',
23+
}
24+
};
25+
26+
export default LandingPageSectionTitle;

0 commit comments

Comments
 (0)