프로그래스바 추가 및 UI 수정

This commit is contained in:
skkim committed 2026-04-23 13:20:58 +09:00
1 parent 6675b5301f
commit 29cee13da7
10 files changed
+232 -136

No files matched your search

+8 -9
View File
@@ -519,23 +519,22 @@ const GenerationFlow: React.FC<GenerationFlowProps> = ({
return null;
};
const handleTutorialRestart = () => {
tutorial.showRestartPopup(getCurrentTutorialKey()!);
};
const tutorialUI = (
<>
{getCurrentTutorialKey() && (
<button
className="tutorial-restart-fab"
onClick={handleTutorialRestart}
title={t('sidebar.tutorialRestart')}
className={`tutorial-toggle-fab ${tutorial.isEnabled ? 'active' : ''}`}
onClick={() => tutorial.toggleTutorial(getCurrentTutorialKey())}
title={tutorial.isEnabled ? t('sidebar.tutorialOff') : t('sidebar.tutorialOn')}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">
<circle cx="12" cy="12" r="10"/>
<path d="M12 8v4l3 3"/>
</svg>
<span>{t('sidebar.tutorialRestart')}</span>
<span>{t('sidebar.tutorial')}</span>
<span className={`tutorial-toggle-badge ${tutorial.isEnabled ? 'on' : 'off'}`}>
{tutorial.isEnabled ? 'ON' : 'OFF'}
</span>
</button>
)}
{tutorial.isActive && (