Naprawa błędów awatara
This commit is contained in:
6
App.tsx
6
App.tsx
@@ -249,13 +249,13 @@ const App: React.FC = () => {
|
||||
<header className="bg-white sticky top-0 z-10 border-b border-gray-100">
|
||||
<div className="max-w-4xl mx-auto px-6 py-4 flex justify-between items-center">
|
||||
<div className="flex items-center space-x-3">
|
||||
{/* LOGO LOGIC: Use imported logoImg */}
|
||||
{/* LOGO LOGIC: Use imported logoImg. UPDATED: h-12 for 20% larger size (approx) */}
|
||||
{!logoError ? (
|
||||
<img
|
||||
src={logoImg}
|
||||
alt="Logo"
|
||||
onError={() => setLogoError(true)}
|
||||
className="h-10 object-contain"
|
||||
className="h-12 object-contain"
|
||||
/>
|
||||
) : (
|
||||
<div className="flex items-center gap-2">
|
||||
@@ -298,7 +298,7 @@ const App: React.FC = () => {
|
||||
{data.step === Step.PLATFORM && <StepPlatform data={data} updateData={updateData} nextStep={nextStep} />}
|
||||
{data.step === Step.TONE_GOAL && <StepToneGoal data={data} updateData={updateData} nextStep={nextStep} />}
|
||||
{data.step === Step.DETAILS && <StepDetails data={data} updateData={updateData as any} onGenerate={handleGenerate} isGenerating={isGenerating} />}
|
||||
{data.step === Step.RESULT && generatedContent && <StepResult content={generatedContent} onRegenerate={handleRegenerate} isRegenerating={isGenerating} tripData={data.tripData} />}
|
||||
{data.step === Step.RESULT && generatedContent && <StepResult content={generatedContent} onRegenerate={handleRegenerate} isRegenerating={isGenerating} tripData={data.tripData} eventType={data.eventType} />}
|
||||
|
||||
{errorMessage && (
|
||||
<div className="mt-6 p-4 bg-red-50 text-red-600 rounded-md border border-red-100 text-sm text-center">
|
||||
|
||||
Reference in New Issue
Block a user