fix: FileBrowser default dirs, login option on onboarding intro

- Pre-create Documents/Photos/Music/Downloads/Builds dirs for FileBrowser
- Add "Already set up? Log in" link on onboarding intro page
- Prevents users from getting stuck in onboarding loop

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-02 18:33:28 +01:00
parent f84194d9c6
commit 4820995bfb
2 changed files with 17 additions and 0 deletions

View File

@@ -34,6 +34,15 @@
>
Restore from seed phrase
</a>
<a
tabindex="0"
role="button"
class="text-white/50 hover:text-white/80 underline text-sm cursor-pointer mt-2 block text-center onb-cta"
@click="goToLogin"
@keydown.enter="goToLogin"
>
Already set up? Log in
</a>
</div>
</div>
</div>
@@ -64,6 +73,12 @@ function goToRestore() {
playNavSound('action')
router.push('/onboarding/seed-restore').catch(() => {})
}
function goToLogin() {
playNavSound('action')
localStorage.setItem('neode_onboarding_complete', '1')
router.push('/login').catch(() => {})
}
</script>
<style scoped>