diff --git a/public/img/team-photos/IvanMilchev.jpeg b/public/img/team-photos/IvanMilchev.jpeg deleted file mode 100644 index d4ca7468b..000000000 Binary files a/public/img/team-photos/IvanMilchev.jpeg and /dev/null differ diff --git a/public/img/team-photos/IvanMilchev.jpg b/public/img/team-photos/IvanMilchev.jpg new file mode 100644 index 000000000..9d3d4bbd6 Binary files /dev/null and b/public/img/team-photos/IvanMilchev.jpg differ diff --git a/src/components/about/ManagementBoardMembers.tsx b/src/components/about/ManagementBoardMembers.tsx deleted file mode 100644 index d96b58232..000000000 --- a/src/components/about/ManagementBoardMembers.tsx +++ /dev/null @@ -1,115 +0,0 @@ -import { Grid, Theme, Typography, Link } from '@mui/material' -import Heading from 'components/common/Heading' -import { useTranslation } from 'next-i18next' -import { data } from './helpers/managementBoardData' -import Image from 'next/image' -import { createStyles, makeStyles } from '@mui/styles' -import { LinkedIn } from '@mui/icons-material' - -const useStyles = makeStyles((theme: Theme) => - createStyles({ - managementBoardWrapper: { - display: 'flex', - justifyContent: 'space-between', - gap: theme.spacing(3), - flexWrap: 'wrap', - }, - managementBoardHeading: { - fontWeight: 500, - }, - teamMemberWrapper: { - flexGrow: 1, - width: '100%', - textAlign: 'center', - marginBottom: theme.spacing(3), - [theme.breakpoints.up('sm')]: { - width: '10%', - flex: '1 0 40%', - marginBottom: theme.spacing(0), - }, - [theme.breakpoints.up('md')]: { - flex: '1 0 30%', - }, - [theme.breakpoints.up('lg')]: { - flex: '1 0 10%', - }, - }, - description: { - textAlign: 'initial', - }, - avatar: { - borderRadius: '50%', - textAlign: 'center', - width: '150px', - objectFit: 'cover', - }, - name: { - fontWeight: 700, - margin: theme.spacing(3, 0), - }, - linkedInButton: { - display: 'flex', - alignItems: 'center', - marginTop: theme.spacing(3), - '&:hover': { - '&>svg, &>h6': { - textDecoration: 'underline', - color: theme.palette.primary.main, - }, - }, - }, - LinkedInIcon: { - marginLeft: '-4px', - }, - linkedInText: { - marginLeft: theme.spacing(1), - color: theme.palette.common.black, - }, - }), -) - -export default function ManagementBoardMembers() { - const { t } = useTranslation('about') - const classes = useStyles() - - return ( - - - {t('about.management-board-members')} - - - {data.map((teamMember) => ( - - teamMemberAvatar - - {teamMember.name} - - - {teamMember.description} - - - - - {t('about.linkedIn')} - - - - ))} - - - ) -} diff --git a/src/components/about/helpers/activeMembersData.tsx b/src/components/about/helpers/activeMembersData.tsx index 5fa3a437b..c04e14ff2 100644 --- a/src/components/about/helpers/activeMembersData.tsx +++ b/src/components/about/helpers/activeMembersData.tsx @@ -49,7 +49,7 @@ export const data: TeamData[] = [ linkedInProfile: 'https://www.linkedin.com/in/mariana-georgieva-45302615a', }, { - img: '/img/team-photos/IvanMilchev.jpeg', + img: '/img/team-photos/IvanMilchev.jpg', name: 'Иван Милчев', description: 'Софтуерна инфраструктура', linkedInProfile: 'https://www.linkedin.com/in/ivanmilchev/', diff --git a/src/components/about/helpers/associationMembersData.tsx b/src/components/about/helpers/associationMembersData.tsx index a1c06f5c7..23522ba97 100644 --- a/src/components/about/helpers/associationMembersData.tsx +++ b/src/components/about/helpers/associationMembersData.tsx @@ -59,7 +59,7 @@ export const data: TeamData[] = [ linkedInProfile: 'https://www.linkedin.com/in/preslavgerchev/', }, { - img: '/img/team-photos/IvanMilchev.jpeg', + img: '/img/team-photos/IvanMilchev.jpg', name: 'Иван Милчев', linkedInProfile: 'https://www.linkedin.com/in/ivanmilchev/', },