mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-18 14:27:51 +00:00
Compare commits
2 Commits
c2bcfe1e3f
...
cdb98eb61d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cdb98eb61d | ||
|
|
c53fbeb444 |
@ -151,7 +151,9 @@ 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
|
||||||
@ -174,6 +176,7 @@ export function CreateStoryPage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</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" />
|
||||||
@ -181,6 +184,7 @@ export function CreateStoryPage() {
|
|||||||
<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 aspect-video bg-gray-100">
|
<div className="relative bg-gray-100 aspect-[9/16] md:aspect-video">
|
||||||
{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