This commit is contained in:
Riccardo Giorato
2025-12-26 14:32:49 +01:00
parent 9f4dd15395
commit 4e4ce9ed35
3 changed files with 264 additions and 274 deletions
+1 -11
View File
@@ -6,11 +6,10 @@ import { useRouter } from "next/navigation"
interface EditorToolbarProps {
title: string
onContinueStory: () => void
onInfoClick: () => void
}
export function EditorToolbar({ title, onContinueStory, onInfoClick }: EditorToolbarProps) {
export function EditorToolbar({ title, onInfoClick }: EditorToolbarProps) {
const router = useRouter()
return (
@@ -53,15 +52,6 @@ export function EditorToolbar({ title, onContinueStory, onInfoClick }: EditorToo
<Download className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
<span>Download PDF</span>
</Button>
<Button
onClick={onContinueStory}
className="gap-1.5 sm:gap-2 text-xs bg-white hover:bg-neutral-200 text-black h-8 sm:h-9 px-3 sm:px-4"
>
<Plus className="w-3.5 h-3.5 sm:w-4 sm:h-4" />
<span className="hidden sm:inline">Continue story</span>
<span className="sm:hidden">Add</span>
</Button>
</div>
</header>
)