feat: picture notes editor

This commit is contained in:
codytseng
2025-01-12 17:18:45 +08:00
parent 2aba89419e
commit 5bf220fa5b
14 changed files with 467 additions and 119 deletions

View File

@@ -7,7 +7,7 @@ export default function PostButton() {
const [open, setOpen] = useState(false)
return (
<>
<div className="pt-4">
<SidebarItem
title="New post"
description="Post"
@@ -16,11 +16,11 @@ export default function PostButton() {
setOpen(true)
}}
variant="default"
className="bg-primary"
className="bg-primary xl:justify-center"
>
<PencilLine strokeWidth={3} />
</SidebarItem>
<PostEditor open={open} setOpen={setOpen} />
</>
</div>
)
}