File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed
Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import {
1919 Box ,
2020 Settings ,
2121 FileText ,
22- Mail ,
2322} from "@lucide/svelte" ;
2423import { env } from "$env/dynamic/public" ;
2524
@@ -81,11 +80,6 @@ function buildDevOpsItems(): NavigationItem[] {
8180 label : "Migrations" ,
8281 iconComponent : GitBranch ,
8382 } ,
84- {
85- href : "/user-invitations" ,
86- label : "User Invitations" ,
87- iconComponent : Mail ,
88- } ,
8983 ] ;
9084
9185 return items ;
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ import { Mail } from " @lucide/svelte" ;
23 import type { PageData } from " ./$types" ;
34
45 let { data } = $props <{ data: PageData }>();
133134 </div >
134135 {/if }
135136
136- <h1 class =" text-3xl font-bold mb-6" >Users</h1 >
137+ <div class =" flex items-center justify-between mb-6" >
138+ <h1 class =" text-3xl font-bold" >Users</h1 >
139+ <a
140+ href =" /user-invitations"
141+ class =" btn btn-secondary flex items-center gap-2"
142+ >
143+ <Mail size ={18 } />
144+ <span >User Invitations</span >
145+ </a >
146+ </div >
137147
138148 <!-- Smart Search Panel -->
139149 <div class =" panel mb-6" >
390400 cursor : not-allowed ;
391401 }
392402
403+ .btn-secondary {
404+ background : white ;
405+ color : #3b82f6 ;
406+ border : 1px solid #3b82f6 ;
407+ }
408+
409+ .btn-secondary :hover {
410+ background : #eff6ff ;
411+ }
412+
413+ :global([data-mode = " dark" ]) .btn-secondary {
414+ background : rgb (var (--color-surface-700 ));
415+ color : rgb (var (--color-primary-400 ));
416+ border-color : rgb (var (--color-primary-400 ));
417+ }
418+
419+ :global([data-mode = " dark" ]) .btn-secondary :hover {
420+ background : rgb (var (--color-surface-600 ));
421+ }
422+
393423 .table-wrapper {
394424 overflow-x : auto ;
395425 }
You can’t perform that action at this time.
0 commit comments