Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
debuggingfuture committed Nov 21, 2024
1 parent 082cbca commit 44eb33f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions page-container/index-page/OurTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ const useStyle = makeStyles((theme) => ({
}));

const OurTeam = ({ className }: Partial<{ className: string }>) => {
const classes = useStyle();
const { title, brands } = content;
return (
<Box id="our-team" component="article" className={className}>
<Grid container justify="space-between" className={classes.members}>
<Grid container justify="space-between">
{members.map((member) => (
<Grid item key={member.name}>
<Member name={member.name} position={member.position} avatarSrc={member.avatarSrc} />
Expand Down
2 changes: 1 addition & 1 deletion page-container/index-page/Testimonial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Testimonial = ({ className }: Partial<{ className: string }>) => {

return (
<Grid component="article" container justify="space-around">
<Grid item sm={12} className={classes.title}>
<Grid item sm={12} className="text-center items-center">
<h2 className="text-2xl font-italic underline">
Testimonial
</h2>
Expand Down
4 changes: 2 additions & 2 deletions shared/components/Member.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const Member = ({ avatarSrc, name, position }: MemberProps) => {
const classes = useStyles();
return (
<Grid container direction="column" component="section" className={classes.root}>
<Grid item>
<Avatar src={avatarSrc} alt={name} className={classes.avatar} imgProps={{ width: '200', height: '200' }} />
<Grid item className="w-20 h-20 rounded">
<img src={avatarSrc} alt={name} className="rounded-full" />
</Grid>
<Grid item>
<Typography component="h3" variant="h3" color="primary">
Expand Down

0 comments on commit 44eb33f

Please sign in to comment.