mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-19 14:57:51 +00:00
Compare commits
No commits in common. "cdb98eb61d271a6b05a966b6d40071424210e03b" and "c2bcfe1e3f13476d5c4627c364092e8686671805" have entirely different histories.
cdb98eb61d
...
c2bcfe1e3f
@ -151,9 +151,7 @@ export function CreateStoryPage() {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/*
|
|
||||||
<div className="mb-8 space-y-4">
|
<div className="mb-8 space-y-4">
|
||||||
|
|
||||||
<div className="bg-purple-50 p-4 rounded-xl border border-purple-100">
|
<div className="bg-purple-50 p-4 rounded-xl border border-purple-100">
|
||||||
<h3 className="text-sm font-medium text-purple-800 mb-3">
|
<h3 className="text-sm font-medium text-purple-800 mb-3">
|
||||||
Descreva sua história por voz
|
Descreva sua história por voz
|
||||||
@ -177,14 +175,12 @@ export function CreateStoryPage() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<div className="flex-1 h-px bg-gray-200" />
|
<div className="flex-1 h-px bg-gray-200" />
|
||||||
<span className="text-sm text-gray-500">ou</span>
|
<span className="text-sm text-gray-500">ou</span>
|
||||||
<div className="flex-1 h-px bg-gray-200" />
|
<div className="flex-1 h-px bg-gray-200" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
*/}
|
|
||||||
|
|
||||||
<StoryGenerator
|
<StoryGenerator
|
||||||
initialContext={inputMode === 'voice' ? voiceTranscript : storyContext}
|
initialContext={inputMode === 'voice' ? voiceTranscript : storyContext}
|
||||||
|
|||||||
@ -355,7 +355,7 @@ function ImageWithLoading({ src, alt, className }: { src: string; alt: string; c
|
|||||||
const [error, setError] = useState(false);
|
const [error, setError] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative bg-gray-100 aspect-[9/16] md:aspect-video">
|
<div className="relative aspect-video bg-gray-100">
|
||||||
{isLoading && (
|
{isLoading && (
|
||||||
<div className="absolute inset-0 flex items-center justify-center">
|
<div className="absolute inset-0 flex items-center justify-center">
|
||||||
<Loader2 className="w-8 h-8 text-purple-600 animate-spin" />
|
<Loader2 className="w-8 h-8 text-purple-600 animate-spin" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user