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
59 lines
1.8 KiB
TypeScript
59 lines
1.8 KiB
TypeScript
import Avatar from '@mui/joy/Avatar';
|
|
import AvatarGroup from '@mui/joy/AvatarGroup';
|
|
import Box from '@mui/joy/Box';
|
|
import Button from '@mui/joy/Button';
|
|
import Card from '@mui/joy/Card';
|
|
import CardContent from '@mui/joy/CardContent';
|
|
import CardActions from '@mui/joy/CardActions';
|
|
import IconButton from '@mui/joy/IconButton';
|
|
import Typography from '@mui/joy/Typography';
|
|
import FavoriteBorder from '@mui/icons-material/FavoriteBorder';
|
|
|
|
export default function BottomActionsCard() {
|
|
return (
|
|
<Card
|
|
variant="outlined"
|
|
sx={{
|
|
width: 320,
|
|
// to make the card resizable
|
|
overflow: 'auto',
|
|
resize: 'horizontal',
|
|
}}
|
|
>
|
|
<Box
|
|
sx={{
|
|
display: 'flex',
|
|
justifyContent: 'space-between',
|
|
alignItems: 'center',
|
|
}}
|
|
>
|
|
<Avatar src="/static/images/avatar/1.jpg" size="lg" />
|
|
<AvatarGroup size="sm" sx={{ '--Avatar-size': '28px' }}>
|
|
<Avatar src="/static/images/avatar/2.jpg" />
|
|
<Avatar src="/static/images/avatar/3.jpg" />
|
|
<Avatar src="/static/images/avatar/4.jpg" />
|
|
<Avatar>+4K</Avatar>
|
|
</AvatarGroup>
|
|
</Box>
|
|
<CardContent>
|
|
<Typography level="title-lg">NYC Coders</Typography>
|
|
<Typography level="body-sm">
|
|
We are a community of developers prepping for coding interviews,
|
|
participate, chat with others and get better at interviewing.
|
|
</Typography>
|
|
</CardContent>
|
|
<CardActions buttonFlex="0 1 120px">
|
|
<IconButton variant="outlined" color="neutral" sx={{ mr: 'auto' }}>
|
|
<FavoriteBorder />
|
|
</IconButton>
|
|
<Button variant="outlined" color="neutral">
|
|
View
|
|
</Button>
|
|
<Button variant="solid" color="primary">
|
|
Join
|
|
</Button>
|
|
</CardActions>
|
|
</Card>
|
|
);
|
|
}
|