diff --git a/src/App.jsx b/src/App.jsx index f7807b8..71d4ec8 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,9 +1,11 @@ import ContactUs from "./components/contact/ContactUs"; import Footer from "./components/footer/Footer"; +import Team from "./components/team/Team"; function App() { return (
+
diff --git a/src/assets/dp.png b/src/assets/dp.png new file mode 100644 index 0000000..6a50a61 Binary files /dev/null and b/src/assets/dp.png differ diff --git a/src/components/team/Card.jsx b/src/components/team/Card.jsx new file mode 100644 index 0000000..c87239c --- /dev/null +++ b/src/components/team/Card.jsx @@ -0,0 +1,26 @@ +export default function Card({ name, image, role, linkedin, github, twitter }) { + console.log(role.name); + return ( +
+
{role}
+ Meh +

{name}

+

{role}

+
+ + + + + + + + + +
+
+ ); +} diff --git a/src/components/team/Team.jsx b/src/components/team/Team.jsx new file mode 100644 index 0000000..a9413c5 --- /dev/null +++ b/src/components/team/Team.jsx @@ -0,0 +1,17 @@ +import * as data from "../../data/data2023.json"; +import Card from "./Card"; +export default function Team() { + console.log(data.teamMembers[0]); + return ( +
+ +
+ ); +}