직접입력 구조 변경 및 튜토리얼 추가
This commit is contained in:
1 parent
b18dd7aa4d
commit
8d7d0a74a6
9 files changed
+244
-71
No files matched your search
@@ -325,6 +325,10 @@ const UrlInputContent: React.FC<UrlInputContentProps> = ({ onAnalyze, onAutocomp
|
||||
<button type="button" onClick={handleAnalyzeClick} className="url-input-button">
|
||||
{t('landing.hero.analyzeButton')}
|
||||
</button>
|
||||
|
||||
<button type="button" className="url-input-manual-button" onClick={() => setIsManualModalOpen(true)}>
|
||||
{t('urlInput.searchTypeManual')}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -521,6 +521,11 @@ const HeroSection: React.FC<HeroSectionProps> = ({ onAnalyze, onAutocomplete, on
|
||||
<button onClick={handleStart} className="hero-button">
|
||||
{t('landing.hero.analyzeButton')}
|
||||
</button>
|
||||
|
||||
{/* 직접 입력 버튼 */}
|
||||
<button type="button" className="hero-manual-button" onClick={() => setIsManualModalOpen(true)}>
|
||||
{t('landing.hero.searchTypeManual')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -554,7 +559,7 @@ const HeroSection: React.FC<HeroSectionProps> = ({ onAnalyze, onAutocomplete, on
|
||||
</button>
|
||||
)}
|
||||
|
||||
{tutorial.isActive && (
|
||||
{tutorial.isActive && !isManualModalOpen && (
|
||||
<TutorialOverlay
|
||||
hints={tutorial.hints}
|
||||
currentIndex={tutorial.currentHintIndex}
|
||||
@@ -568,7 +573,11 @@ const HeroSection: React.FC<HeroSectionProps> = ({ onAnalyze, onAutocomplete, on
|
||||
{isManualModalOpen && (
|
||||
<BusinessNameInputModal
|
||||
onClose={() => setIsManualModalOpen(false)}
|
||||
onSubmit={(businessName, address) => { setIsManualModalOpen(false); onManualInput?.(businessName, address); }}
|
||||
onSubmit={(businessName, address) => {
|
||||
if (tutorial.isActive) tutorial.nextHint();
|
||||
setIsManualModalOpen(false);
|
||||
onManualInput?.(businessName, address);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user