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 {
1313 GlobeAmericasIcon ,
1414 IdentificationIcon ,
1515 KeyIcon ,
16+ PencilSquareIcon ,
1617 PlusIcon ,
1718 RectangleStackIcon ,
1819 ServerStackIcon ,
1920 Squares2X2Icon ,
2021 UsersIcon ,
2122} from "@heroicons/react/20/solid" ;
22- import { useNavigation } from "@remix-run/react" ;
23+ import { Link , useNavigation } from "@remix-run/react" ;
2324import { useEffect , useRef , useState , type ReactNode } from "react" ;
2425import simplur from "simplur" ;
2526import { BranchEnvironmentIconSmall } from "~/assets/icons/EnvironmentIcons" ;
@@ -397,9 +398,15 @@ function ProjectSelector({
397398 >
398399 < div className = "flex flex-col gap-2 bg-charcoal-750 p-2" >
399400 < 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+ >
401405 < 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 >
403410 < div className = "space-y-0.5" >
404411 < Paragraph variant = "small/bright" > { organization . title } </ Paragraph >
405412 < div className = "flex items-baseline gap-2" >
You can’t perform that action at this time.
0 commit comments