File tree 1 file changed +14
-7
lines changed
components/dashboard/src/projects
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,24 @@ export default function () {
108
108
{ projects . filter ( filter ) . map ( p => ( < div key = { `project-${ p . id } ` } className = "h-52" >
109
109
< div className = "h-42 border border-gray-100 dark:border-gray-800 rounded-t-xl" >
110
110
< div className = "h-32 p-6" >
111
- < div className = "flex text-xl font-semibold text- gray-700 dark:text-gray-200 font-medium" >
111
+ < div className = "flex text-gray-700 dark:text-gray-200 font-medium" >
112
112
< Link to = { `/${ teamOrUserSlug } /${ p . name } ` } >
113
- { p . name }
113
+ < span className = "text-xl font-semibold" > { p . name } </ span >
114
114
</ Link >
115
115
< span className = "flex-grow" />
116
116
< div className = "justify-end" >
117
- < ContextMenu menuEntries = { [ {
118
- title : "Remove Project" ,
119
- customFontStyle : 'text-red-600 dark:text-red-400 hover:text-red-800 dark:hover:text-red-300' ,
120
- onClick : ( ) => onRemoveProject ( p )
121
- } ] } />
117
+ < ContextMenu menuEntries = { [
118
+ {
119
+ title : "New Workspace" ,
120
+ href : `/#${ p . cloneUrl } ` ,
121
+ separator : true ,
122
+ } ,
123
+ {
124
+ title : "Remove Project" ,
125
+ customFontStyle : 'text-red-600 dark:text-red-400 hover:text-red-800 dark:hover:text-red-300' ,
126
+ onClick : ( ) => onRemoveProject ( p )
127
+ } ,
128
+ ] } />
122
129
</ div >
123
130
</ div >
124
131
< a href = { p . cloneUrl . replace ( / \. g i t $ / , '' ) } >
You can’t perform that action at this time.
0 commit comments