Skip to content

Commit 6acf670

Browse files
committed
CalendarDays
1 parent fae5460 commit 6acf670

File tree

4 files changed

+85
-3
lines changed

4 files changed

+85
-3
lines changed

apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/default-domains.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { UpgradeRequiredToast } from "@/ui/shared/upgrade-required-toast";
88
import { Logo, Switch } from "@dub/ui";
99
import {
1010
Amazon,
11+
CalendarDays,
1112
ChatGPT,
1213
Figma,
1314
GitHubEnhanced,
@@ -28,6 +29,8 @@ function DubDomainsIcon(domain: string) {
2829
return GitHubEnhanced;
2930
case "spti.fi":
3031
return Spotify;
32+
case "cal.link":
33+
return CalendarDays;
3134
case "amzn.id":
3235
return Amazon;
3336
case "ggl.link":

apps/web/ui/domains/domain-card-title-column.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ export function DomainCardTitleColumn({
2323
<div
2424
className={cn(
2525
"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",
2828
)}
2929
>
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+
/>
3136
</div>
3237
</div>
3338
<div className="overflow-hidden">
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
}

packages/ui/src/icons/nucleo/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export * from "./bolt";
99
export * from "./book2";
1010
export * from "./box-archive";
1111
export * from "./bullet-list";
12+
export * from "./calendar-days";
1213
export * from "./cards";
1314
export * from "./caret-up-fill";
1415
export * from "./chart-activity2";

0 commit comments

Comments
 (0)