diff --git a/src/App.js b/src/App.js
index c0acf5b..32471f4 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,10 +1,14 @@
import "./App.css";
import HomePage from "./page/HomePage";
import StaffPage from "./page/StaffPage";
+import UserProfile from "./components/UserProfile/UserProfile";
/* 여기에 Page들을 import 한 후 하나 씩 확인!! */
const App = () => {
- return
;
+ return
+ {/**/}
+
+
;
};
export default App;
diff --git a/src/components/StaffProfile/StaffProfile.jsx b/src/components/StaffProfile/StaffProfile.jsx
index 88825d9..2024e8b 100644
--- a/src/components/StaffProfile/StaffProfile.jsx
+++ b/src/components/StaffProfile/StaffProfile.jsx
@@ -1,8 +1,11 @@
import React from "react";
import "./StaffProfile.css";
-const StaffProfile = () => {
- return ;
+const StaffProfile = ({name, part}) => {
+ return
+
이름: {name}
+
파트: {part}
+
;
};
export default StaffProfile;
diff --git a/src/components/UserProfile/UserProfile.jsx b/src/components/UserProfile/UserProfile.jsx
index e5ef1e1..ed238ab 100644
--- a/src/components/UserProfile/UserProfile.jsx
+++ b/src/components/UserProfile/UserProfile.jsx
@@ -2,6 +2,19 @@ import React from "react";
import "./UserProfile.css";
import lionImage from "./lion.jpeg";
-const UserProfile = () => {};
+const UserProfile = ({name,age,major}) => {
+return (
+
+
+

+
+
+
{name}
+
나이: {age}세
+
전공: {major}
+
+
+);
+};
export default UserProfile;
diff --git a/src/page/HomePage.jsx b/src/page/HomePage.jsx
index 1501d38..70aa901 100644
--- a/src/page/HomePage.jsx
+++ b/src/page/HomePage.jsx
@@ -3,7 +3,7 @@ import UserProfile from "../components/UserProfile/UserProfile";
const HomePage = () => {
return (
-
+
);
};
diff --git a/src/page/StaffPage.jsx b/src/page/StaffPage.jsx
index 54e68bc..988cd27 100644
--- a/src/page/StaffPage.jsx
+++ b/src/page/StaffPage.jsx
@@ -1,4 +1,5 @@
import React from "react";
+import StaffProfile from "../components/StaffProfile/StaffProfile";
const StaffPage = () => {
const staffs = [
@@ -8,7 +9,13 @@ const StaffPage = () => {
{ name: "Yerin", part: "FE_홍보" },
];
- return ;
+ return
+ {staffs.map((staff,index) => (
+
+ ))}
+
+
;
};
export default StaffPage;