File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ import { useRouter } from "next/navigation";
10
10
import React , { useState , useEffect , use } from "react" ;
11
11
import { useAuth } from "@/context/AuthContext" ;
12
12
import axios from "axios" ;
13
+ import Link from "next/link" ;
14
+ import PositiveButton from "@/components/ui/PositiveButton" ;
13
15
14
16
interface Evaluation {
15
17
id : string ;
@@ -144,13 +146,20 @@ const Profile = ({ params }: Params) => {
144
146
teamName = { project ?. team ?. name || "" }
145
147
customStyle = "w-[1/4]"
146
148
/>
147
- < div className = "ml-8 my-auto" >
149
+ < div className = "ml-8 flex flex-col gap-4 my-auto" >
148
150
< ProjectInformation
149
151
adminView = { true }
150
152
teamName = { project ?. team ?. name || "Not in a team" }
151
153
description = { project ?. description || "No description" }
152
154
customStyle = "w-[3/4]"
153
155
/>
156
+ < Link href = { `/evaluate/${ project ?. id } ` } target = "_blank" >
157
+ < PositiveButton
158
+ buttonText = "Evaluate Project"
159
+ customStyle = "w-full"
160
+ onClick = { ( ) => { } }
161
+ />
162
+ </ Link >
154
163
</ div >
155
164
</ div >
156
165
< FooterSection />
You can’t perform that action at this time.
0 commit comments