From c45b70ccfdbddb9b143cfee5135eab1be1e5bacc Mon Sep 17 00:00:00 2001 From: KimiaMontazeri Date: Sat, 25 Nov 2023 18:06:03 +0330 Subject: [PATCH] chore: remove unused components and css styles --- frontend/src/Components/staff/StaffCard.jsx | 20 -------------------- frontend/src/Components/staff/Team.jsx | 18 ------------------ frontend/src/css/StaffCard.css | 11 ----------- frontend/src/css/Team.css | 18 ------------------ 4 files changed, 67 deletions(-) delete mode 100644 frontend/src/Components/staff/StaffCard.jsx delete mode 100644 frontend/src/Components/staff/Team.jsx delete mode 100644 frontend/src/css/StaffCard.css delete mode 100644 frontend/src/css/Team.css diff --git a/frontend/src/Components/staff/StaffCard.jsx b/frontend/src/Components/staff/StaffCard.jsx deleted file mode 100644 index 10736bf..0000000 --- a/frontend/src/Components/staff/StaffCard.jsx +++ /dev/null @@ -1,20 +0,0 @@ -import Image from "../image/Image" -import '../../css/StaffCard.css' -export default function StaffCard({ - name, - photo, - role -}) { - return ( -
- -

{name}

-

{role}

-
- ) -} \ No newline at end of file diff --git a/frontend/src/Components/staff/Team.jsx b/frontend/src/Components/staff/Team.jsx deleted file mode 100644 index eb754fc..0000000 --- a/frontend/src/Components/staff/Team.jsx +++ /dev/null @@ -1,18 +0,0 @@ -import StaffCard from './StaffCard.jsx'; -import '../../css/Team.css'; - -const Team = ({ people }) => { - return ( -
- {/* TODO: what is section???? */} - {/*

{section}

*/} -
- {people.map((item) => { - return ; - })} -
-
- ); -}; - -export default Team; diff --git a/frontend/src/css/StaffCard.css b/frontend/src/css/StaffCard.css deleted file mode 100644 index 402861a..0000000 --- a/frontend/src/css/StaffCard.css +++ /dev/null @@ -1,11 +0,0 @@ -.staff-card { - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - border-radius: 30px; - background-color: rgba(255, 255, 255, 0.5); - color: rgb(0,0,0); - margin: 2rem; - } - \ No newline at end of file diff --git a/frontend/src/css/Team.css b/frontend/src/css/Team.css deleted file mode 100644 index a192362..0000000 --- a/frontend/src/css/Team.css +++ /dev/null @@ -1,18 +0,0 @@ -.team-container { - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - border-radius: 20px; - background-color: rgba(0,0,0,0.5); -} - -.team-people-container{ - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 16px; - align-items: center; - justify-content: center; - justify-items: center; - -} \ No newline at end of file