Open source CapCut alternative.
TypeScript
feat(site): say what the Library and Media panels hold
David Lea3983d7bd1c5
diff --git a/site/src/cut/components/LibraryView.tsx b/site/src/cut/components/LibraryView.tsxindex e4dfdea6..b08c5004 100644--- a/site/src/cut/components/LibraryView.tsx+++ b/site/src/cut/components/LibraryView.tsx@@ -407,10 +407,11 @@ export function LibraryView() {><div className="flex flex-col items-center gap-3 text-center"><FolderOpen className="size-8 text-muted-foreground" />- <div className="text-base font-medium">Your library is empty</div>+ <div className="text-base font-medium">+ Your Library is shared across all projects.+ </div><p className="max-w-xs text-sm text-muted-foreground">- Add intros, outros, logo stings, and music once — reuse them in- every cut.+ Drag and drop videos, images, or audio files here.</p></div></button>diff --git a/site/src/cut/components/SidePanel.tsx b/site/src/cut/components/SidePanel.tsxindex 5cc85955..a2a880f7 100644--- a/site/src/cut/components/SidePanel.tsx+++ b/site/src/cut/components/SidePanel.tsx@@ -538,12 +538,13 @@ function MediaPanel({</div>)}{assets.length === 0 && !importing ? (- <div className="mx-3.5 px-4 py-7 text-center text-xs leading-relaxed text-muted-foreground">+ <div className="px-2 py-7 text-center text-xs leading-relaxed text-balance text-muted-foreground"><div className="mb-3 flex justify-center gap-3.5"><Film className="size-5" /><Music className="size-5" /></div>- Drop videos and music anywhere, or upload to this project.+ Drop videos, images, or audio here. They'll only be available+ in this project.</div>) : (<div className="grid grid-cols-2 content-start gap-2.5 px-3.5">