File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
apps/webapp/app/components/navigation Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,14 @@ import {
13
13
GlobeAmericasIcon ,
14
14
IdentificationIcon ,
15
15
KeyIcon ,
16
+ PencilSquareIcon ,
16
17
PlusIcon ,
17
18
RectangleStackIcon ,
18
19
ServerStackIcon ,
19
20
Squares2X2Icon ,
20
21
UsersIcon ,
21
22
} from "@heroicons/react/20/solid" ;
22
- import { useNavigation } from "@remix-run/react" ;
23
+ import { Link , useNavigation } from "@remix-run/react" ;
23
24
import { useEffect , useRef , useState , type ReactNode } from "react" ;
24
25
import simplur from "simplur" ;
25
26
import { BranchEnvironmentIconSmall } from "~/assets/icons/EnvironmentIcons" ;
@@ -397,9 +398,15 @@ function ProjectSelector({
397
398
>
398
399
< div className = "flex flex-col gap-2 bg-charcoal-750 p-2" >
399
400
< div className = "flex items-center gap-2.5" >
400
- < div className = "box-content size-10 overflow-clip rounded-sm bg-charcoal-800" >
401
+ < Link
402
+ to = { organizationSettingsPath ( organization ) }
403
+ className = "group relative box-content size-10 overflow-clip rounded-sm bg-charcoal-800"
404
+ >
401
405
< Avatar avatar = { organization . avatar } size = { 2.5 } orgName = { organization . title } />
402
- </ div >
406
+ < div className = "absolute inset-0 z-10 grid h-full w-full place-items-center bg-black/50 opacity-0 transition group-hover:opacity-100" >
407
+ < PencilSquareIcon className = "size-5 text-text-bright" />
408
+ </ div >
409
+ </ Link >
403
410
< div className = "space-y-0.5" >
404
411
< Paragraph variant = "small/bright" > { organization . title } </ Paragraph >
405
412
< div className = "flex items-baseline gap-2" >
You can’t perform that action at this time.
0 commit comments