diff --git a/components/Nav/Nav.tsx b/components/Nav/Nav.tsx
index 9be37df..d82c91c 100644
--- a/components/Nav/Nav.tsx
+++ b/components/Nav/Nav.tsx
@@ -35,7 +35,6 @@ export default function Nav() {
{menus.map((menu, index) => {
const IconComponent = menu.icon;
-
return (
void;
}
const UserInfo = ({ userInfo }: UserInfoProps) => {
+ const router = useRouter();
const age = formatAge(userInfo.year);
+
+ const handleUserClick = () => {
+ router.push("/profile");
+ }
return (
-
+
{userInfo.name}
@@ -39,9 +48,9 @@ const UserInfo = ({ userInfo }: UserInfoProps) => {
);
};
-const Photo = ({ photos }: PhotoProps) => {
+const Photo = ({ photos, onClick }: PhotoProps) => {
return (
-
+
}
- content={
}
+ content={
}
footer={}
- onClick={onClick}
/>
);
}
diff --git a/pages/profile/index.tsx b/pages/profile/index.tsx
new file mode 100644
index 0000000..c9052cf
--- /dev/null
+++ b/pages/profile/index.tsx
@@ -0,0 +1,26 @@
+import React from 'react';
+
+export default function UserProfile() {
+ return (
+ <>
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ hi~~
+ >
+ )
+};