-
+
handleRoute("/")}
>
router.push("/IdeaZone")}
>
아이디어 존
router.push("/ProjectGallery")}
>
프로젝트 갤러리
router.push("/studentGroups")}
>
동아리·학회
-
+ <>
{isLogin ? (
- <>
+
router.push("/myPage")}
@@ -81,9 +95,9 @@ export const NavBar = () => {
>
{nick}
- >
+
) : (
- <>
+
handleRoute("/login")}
@@ -96,9 +110,9 @@ export const NavBar = () => {
>
회원가입
- >
+
)}
-
+ >
);
diff --git a/src/app/components/ideazone/IdeaContent.tsx b/src/app/components/ideazone/IdeaContent.tsx
index cb53508..b51f7fe 100644
--- a/src/app/components/ideazone/IdeaContent.tsx
+++ b/src/app/components/ideazone/IdeaContent.tsx
@@ -4,7 +4,7 @@ import Image from "next/image";
import React from "react";
import polygon8 from "public/ideazone/polygon8.svg";
-import profile from "public/profile.svg";
+import profile from "public/profile_empty.svg";
import { useRouter } from "next/navigation";
interface IdeaContentProps {
diff --git a/src/app/myPage/page.tsx b/src/app/myPage/page.tsx
index 3cefde9..cc30ab8 100644
--- a/src/app/myPage/page.tsx
+++ b/src/app/myPage/page.tsx
@@ -1,9 +1,14 @@
+"use client";
+
import "next/link";
import Header from "../components/layout/Header";
import Image from "next/image";
import GradientBackgroundmyPage from "@/assests/images/graidentBackgroundmyPage.png";
+import { NavBar } from "../components/components/naviBar";
+import { usePathname, useRouter } from "next/navigation";
const IdeaManage = () => {
+ const router = useRouter();
const data = [
{
title: "익명 편지 아이디어",
@@ -27,7 +32,7 @@ const IdeaManage = () => {
return (
-
+
@@ -45,7 +50,10 @@ const IdeaManage = () => {
-
diff --git a/src/app/myPage/profileChange/page.tsx b/src/app/myPage/profileChange/page.tsx
index 669de06..ca32f0a 100644
--- a/src/app/myPage/profileChange/page.tsx
+++ b/src/app/myPage/profileChange/page.tsx
@@ -7,6 +7,7 @@ import { useState } from "react";
import GradientBackgroundmyPage from "@/assests/images/graidentBackgroundmyPage.png";
// import AlertModal from "@/app/myPage/_components/AlertModal";
import ColorChangeModal from "../_components/colorChangeModal";
+import { NavBar } from "@/app/components/components/naviBar";
const ProfileChange = () => {
// Sample data for initial values
@@ -55,7 +56,7 @@ const ProfileChange = () => {
return (