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

Function AuthHeader

src/Components/Auth/AuthShared.jsx:52–60  ·  view source on GitHub ↗
({subtitle})

Source from the content-addressed store, hash-verified

50}
51
52export function AuthHeader({subtitle}) {
53 const dark = useTheme().palette.mode === 'dark';
54 return (
55 <Box sx={{textAlign: 'center', mb: 0.5}}>
56 <OpenSIST props={{variant: 'h4'}} sx={{display: 'inline-block', fontWeight: 800, ...gradientTextSx(dark)}}/>
57 <Typography sx={{color: 'text.secondary', mt: 0.75, fontSize: 14}}>{subtitle}</Typography>
58 </Box>
59 );
60}
61
62const SUFFIXES = ['@shanghaitech.edu.cn', '@alumni.shanghaitech.edu.cn'];
63

Callers

nothing calls this directly

Calls 1

gradientTextSxFunction · 0.70

Tested by

no test coverage detected