File tree Expand file tree Collapse file tree 4 files changed +85
-3
lines changed
app/app.dub.co/(dashboard)/[slug]/settings/domains
packages/ui/src/icons/nucleo Expand file tree Collapse file tree 4 files changed +85
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { UpgradeRequiredToast } from "@/ui/shared/upgrade-required-toast";
8
8
import { Logo , Switch } from "@dub/ui" ;
9
9
import {
10
10
Amazon ,
11
+ CalendarDays ,
11
12
ChatGPT ,
12
13
Figma ,
13
14
GitHubEnhanced ,
@@ -28,6 +29,8 @@ function DubDomainsIcon(domain: string) {
28
29
return GitHubEnhanced ;
29
30
case "spti.fi" :
30
31
return Spotify ;
32
+ case "cal.link" :
33
+ return CalendarDays ;
31
34
case "amzn.id" :
32
35
return Amazon ;
33
36
case "ggl.link" :
Original file line number Diff line number Diff line change @@ -23,11 +23,16 @@ export function DomainCardTitleColumn({
23
23
< div
24
24
className = { cn (
25
25
"rounded-full" ,
26
- ! defaultDomain &&
27
- "border border-white bg-gradient-to-t from-gray-100 p-1 md:p-3 " ,
26
+ ( ! defaultDomain || domain === "cal.link" ) &&
27
+ "border border-white bg-gradient-to-t from-gray-100 p-1 md:p-2 " ,
28
28
) }
29
29
>
30
- < Icon className = { cn ( "size-5" , defaultDomain && "size-8" ) } />
30
+ < Icon
31
+ className = { cn (
32
+ "size-5" ,
33
+ defaultDomain && domain !== "cal.link" && "size-8" ,
34
+ ) }
35
+ />
31
36
</ div >
32
37
</ div >
33
38
< div className = "overflow-hidden" >
Original file line number Diff line number Diff line change
1
+ import { SVGProps } from "react" ;
2
+
3
+ export function CalendarDays ( props : SVGProps < SVGSVGElement > ) {
4
+ return (
5
+ < svg viewBox = "0 0 18 18" xmlns = "http://www.w3.org/2000/svg" { ...props } >
6
+ < g fill = "currentColor" >
7
+ < path
8
+ d = "M2.25 4.75C2.25 3.64543 3.14543 2.75 4.25 2.75H13.75C14.8546 2.75 15.75 3.64543 15.75 4.75V6.25H2.25V4.75Z"
9
+ fill = "currentColor"
10
+ fillOpacity = "0.3"
11
+ stroke = "none"
12
+ />
13
+ < path
14
+ d = "M5.75 2.75V0.75"
15
+ fill = "none"
16
+ stroke = "currentColor"
17
+ strokeLinecap = "round"
18
+ strokeLinejoin = "round"
19
+ strokeWidth = "1.5"
20
+ />
21
+ < path
22
+ d = "M12.25 2.75V0.75"
23
+ fill = "none"
24
+ stroke = "currentColor"
25
+ strokeLinecap = "round"
26
+ strokeLinejoin = "round"
27
+ strokeWidth = "1.5"
28
+ />
29
+ < path
30
+ d = "M13.75 2.75H4.25C3.14543 2.75 2.25 3.64543 2.25 4.75V13.25C2.25 14.3546 3.14543 15.25 4.25 15.25H13.75C14.8546 15.25 15.75 14.3546 15.75 13.25V4.75C15.75 3.64543 14.8546 2.75 13.75 2.75Z"
31
+ fill = "none"
32
+ stroke = "currentColor"
33
+ strokeLinecap = "round"
34
+ strokeLinejoin = "round"
35
+ strokeWidth = "1.5"
36
+ />
37
+ < path
38
+ d = "M2.25 6.25H15.75"
39
+ fill = "none"
40
+ stroke = "currentColor"
41
+ strokeLinecap = "round"
42
+ strokeLinejoin = "round"
43
+ strokeWidth = "1.5"
44
+ />
45
+ < path
46
+ d = "M9 8.25C8.449 8.25 8 8.699 8 9.25C8 9.801 8.449 10.25 9 10.25C9.551 10.25 10 9.801 10 9.25C10 8.699 9.551 8.25 9 8.25Z"
47
+ fill = "currentColor"
48
+ stroke = "none"
49
+ />
50
+ < path
51
+ d = "M12.5 10.25C13.051 10.25 13.5 9.801 13.5 9.25C13.5 8.699 13.051 8.25 12.5 8.25C11.949 8.25 11.5 8.699 11.5 9.25C11.5 9.801 11.949 10.25 12.5 10.25Z"
52
+ fill = "currentColor"
53
+ stroke = "none"
54
+ />
55
+ < path
56
+ d = "M9 11.25C8.449 11.25 8 11.699 8 12.25C8 12.801 8.449 13.25 9 13.25C9.551 13.25 10 12.801 10 12.25C10 11.699 9.551 11.25 9 11.25Z"
57
+ fill = "currentColor"
58
+ stroke = "none"
59
+ />
60
+ < path
61
+ d = "M5.5 11.25C4.949 11.25 4.5 11.699 4.5 12.25C4.5 12.801 4.949 13.25 5.5 13.25C6.051 13.25 6.5 12.801 6.5 12.25C6.5 11.699 6.051 11.25 5.5 11.25Z"
62
+ fill = "currentColor"
63
+ stroke = "none"
64
+ />
65
+ < path
66
+ d = "M12.5 11.25C11.949 11.25 11.5 11.699 11.5 12.25C11.5 12.801 11.949 13.25 12.5 13.25C13.051 13.25 13.5 12.801 13.5 12.25C13.5 11.699 13.051 11.25 12.5 11.25Z"
67
+ fill = "currentColor"
68
+ stroke = "none"
69
+ />
70
+ </ g >
71
+ </ svg >
72
+ ) ;
73
+ }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export * from "./bolt";
9
9
export * from "./book2" ;
10
10
export * from "./box-archive" ;
11
11
export * from "./bullet-list" ;
12
+ export * from "./calendar-days" ;
12
13
export * from "./cards" ;
13
14
export * from "./caret-up-fill" ;
14
15
export * from "./chart-activity2" ;
You can’t perform that action at this time.
0 commit comments