From 580a5f86102e57d6c03ff92bd0cd74726ed9d59f Mon Sep 17 00:00:00 2001 From: TheoJustin Date: Fri, 23 Aug 2024 12:00:01 +0800 Subject: [PATCH] feats/people --- src/ss_frontend/src/components/People.jsx | 18 ++++++ src/ss_frontend/src/pages/PeoplePage.jsx | 71 +++++++++++++++++++++-- 2 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 src/ss_frontend/src/components/People.jsx diff --git a/src/ss_frontend/src/components/People.jsx b/src/ss_frontend/src/components/People.jsx new file mode 100644 index 0000000..3da7494 --- /dev/null +++ b/src/ss_frontend/src/components/People.jsx @@ -0,0 +1,18 @@ +import React from "react"; + +const People = ({ name, username, profileUrl, description }) => { + return ( +
+ {`${name}'s +

{name}

+

@{username}

+

{description}

+
+ ); +}; + +export default People; diff --git a/src/ss_frontend/src/pages/PeoplePage.jsx b/src/ss_frontend/src/pages/PeoplePage.jsx index 2a4e1c9..f88fad8 100644 --- a/src/ss_frontend/src/pages/PeoplePage.jsx +++ b/src/ss_frontend/src/pages/PeoplePage.jsx @@ -1,9 +1,70 @@ -import React from 'react' +import React from "react"; +import MainTemplate from "../templates/MainTemplate"; +import profile_1 from "../assets/about/theo.jpg"; +import profile_2 from "../assets/about/ryan.jpg"; +import People from "../components/People"; const PeoplePage = () => { return ( -
PeoplePage
- ) -} + +
+ + + + + + + + + +
+
+ ); +}; -export default PeoplePage \ No newline at end of file +export default PeoplePage;