Files
react-test/docs/data/joy/getting-started/templates/framesx-web-blocks/blocks/HeroLeft03.tsx
how2ice 005cf56baf
Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
init project
2025-12-12 14:26:25 +09:00

83 lines
2.1 KiB
TypeScript

import AvatarGroup from '@mui/joy/AvatarGroup';
import Avatar from '@mui/joy/Avatar';
import Box from '@mui/joy/Box';
import Button from '@mui/joy/Button';
import Typography from '@mui/joy/Typography';
import ArrowForward from '@mui/icons-material/ArrowForward';
import TwoSidedLayout from '../components/TwoSidedLayout';
export default function HeroLeft03() {
return (
<TwoSidedLayout>
<Typography color="primary" sx={{ fontSize: 'lg', fontWeight: 'lg' }}>
The power to do more
</Typography>
<Typography
level="h1"
sx={{
fontWeight: 'xl',
fontSize: 'clamp(1.875rem, 1.3636rem + 2.1818vw, 3rem)',
}}
>
A large headlinerer about our product features & services
</Typography>
<Typography
textColor="text.secondary"
sx={{ fontSize: 'lg', lineHeight: 'lg' }}
>
A descriptive secondary text placeholder. Use it to explain your business
offer better.
</Typography>
<Box
sx={{
display: 'flex',
flexWrap: 'wrap',
gap: 2,
my: 2,
'& > *': { flex: 'auto' },
}}
>
<Button size="lg" variant="outlined" color="neutral">
Learn More
</Button>
<Button size="lg" endDecorator={<ArrowForward fontSize="xl" />}>
Get Started
</Button>
</Box>
<Box
sx={{
display: 'flex',
flexWrap: 'wrap',
justifyContent: 'center',
gap: 2,
textAlign: 'left',
'& > *': {
flexShrink: 0,
},
}}
>
<AvatarGroup size="lg">
<Avatar />
<Avatar />
<Avatar />
</AvatarGroup>
<Typography textColor="text.secondary">
Join a community of over <b>10K</b> <br />
designers and developers.
</Typography>
</Box>
<Typography
level="body-xs"
sx={{
position: 'absolute',
top: '2rem',
left: '50%',
transform: 'translateX(-50%)',
}}
>
HeroLeft03
</Typography>
</TwoSidedLayout>
);
}