MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / SectionHeading

Function SectionHeading

src/Components/Home/home.jsx:585–595  ·  view source on GitHub ↗
({title, subtitle})

Source from the content-addressed store, hash-verified

583}
584
585function SectionHeading({title, subtitle}) {
586 const dark = useTheme().palette.mode === 'dark';
587 return (
588 <Box sx={{textAlign: 'center', mb: {xs: 2, md: 3}}}>
589 <Typography variant='h4' sx={{fontWeight: 800, display: 'inline-block', ...gradientTextSx(dark)}}>
590 {title}
591 </Typography>
592 {subtitle ? <Typography sx={{color: 'text.secondary', mt: 0.75}}>{subtitle}</Typography> : null}
593 </Box>
594 );
595}
596
597function FeaturesBlock() {
598 const dark = useTheme().palette.mode === 'dark';

Callers

nothing calls this directly

Calls 1

gradientTextSxFunction · 0.70

Tested by

no test coverage detected