Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: youtube icon

Marc Seitz8140b679d59a
diff --git a/components/shared/icons/youtube.tsx b/components/shared/icons/youtube.tsx
new file mode 100644
index 00000000..2416aa4f
--- /dev/null
+++ b/components/shared/icons/youtube.tsx
@@ -0,0 +1,21 @@
+import { SVGProps } from "react";
+
+export function Youtube(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ {...props}
+ >
+ <path d="M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17" />
+ <path d="m10 15 5-3-5-3z" />
+ </svg>
+ );
+}
diff --git a/components/ui/rich-text-editor.tsx b/components/ui/rich-text-editor.tsx
index 7a0a7312..139cf964 100644
--- a/components/ui/rich-text-editor.tsx
+++ b/components/ui/rich-text-editor.tsx
@@ -18,9 +18,10 @@ import {
Quote,
Redo,
Undo,
- Youtube as YoutubeIcon,
} from "lucide-react";
+import { Youtube as YoutubeIcon } from "@/components/shared/icons/youtube";
+
import { Button } from "@/components/ui/button";
import {
Dialog,