1
- import { RiAddFill } from "@remixicon/react" ;
2
- import { Button } from "../ui/button" ;
1
+ import { Button } from "@/components/ui/button" ;
3
2
import {
4
3
DropdownMenu ,
5
4
DropdownMenuContent ,
6
5
DropdownMenuTrigger ,
7
- } from "../ui/dropdown-menu" ;
6
+ } from "@/components/ui/dropdown-menu" ;
7
+ import { RiAddFill , RiSafe2Fill , RiSafeFill } from "@remixicon/react" ;
8
8
import { ExistingSafeModal } from "./existing-safe-modal" ;
9
9
import { NewSafeModal } from "./new-safe-modal" ;
10
10
@@ -18,24 +18,47 @@ export function SafeActions() {
18
18
</ Button >
19
19
</ DropdownMenuTrigger >
20
20
< DropdownMenuContent className = "flex flex-col text-start" >
21
- < ExistingSafeModal
22
- title = "Create an existing SAFE agreement"
23
- subtitle = "Record an existing SAFE agreement to keep track of it in your captable."
24
- trigger = {
25
- < Button variant = "ghost" size = "sm" >
26
- Add existing SAFE
27
- </ Button >
28
- }
29
- />
30
- < NewSafeModal
31
- title = "Create a new SAFE agreement"
32
- subtitle = "Create, sign and send a new SAFE agreement to your investors."
33
- trigger = {
34
- < Button variant = "ghost" size = "sm" >
35
- Add new SAFE
36
- </ Button >
37
- }
38
- />
21
+ < ul >
22
+ < NewSafeModal
23
+ title = "Create a new SAFE agreement"
24
+ subtitle = "Create, sign and send a new SAFE agreement to your investors."
25
+ trigger = {
26
+ < li >
27
+ < Button
28
+ variant = "link"
29
+ className = "hover:no-underline hover:text-gray-700"
30
+ size = "sm"
31
+ type = "submit"
32
+ >
33
+ < >
34
+ < RiSafeFill className = "mr-2 h-4 w-4" />
35
+ Create a new SAFE
36
+ </ >
37
+ </ Button >
38
+ </ li >
39
+ }
40
+ />
41
+
42
+ < ExistingSafeModal
43
+ title = "Create an existing SAFE agreement"
44
+ subtitle = "Record an existing SAFE agreement to keep track of it in your captable."
45
+ trigger = {
46
+ < li >
47
+ < Button
48
+ variant = "link"
49
+ className = "hover:no-underline hover:text-gray-900"
50
+ size = "sm"
51
+ type = "submit"
52
+ >
53
+ < >
54
+ < RiSafe2Fill className = "mr-2 h-4 w-4" />
55
+ Import existing SAFE
56
+ </ >
57
+ </ Button >
58
+ </ li >
59
+ }
60
+ />
61
+ </ ul >
39
62
</ DropdownMenuContent >
40
63
</ DropdownMenu >
41
64
) ;
0 commit comments