feat:onboarding flow for new users
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-button class="btn-primary">
|
||||
<x-button class="btn-primary" type="submit">
|
||||
{{ __('Email Password Reset Link') }}
|
||||
</x-button>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<x-guest-layout>
|
||||
<x-authentication-card>
|
||||
<x-slot:logo>
|
||||
<div class="w-24 mb-10">
|
||||
<x-glyph-only-logo />
|
||||
</div>
|
||||
</x-slot:logo>
|
||||
|
||||
<h1 class="text-2xl font-bold mb-4">{{ __('Hey again!') }} 👋</h1>
|
||||
<p class="mb-2">{{ __('Before you can get started with Investbrain, you\'ll want to create a password:') }}</p>
|
||||
|
||||
@livewire('invited-onboarding-form', [
|
||||
'portfolio' => $portfolio,
|
||||
'user' => $user,
|
||||
])
|
||||
|
||||
<x-section-border />
|
||||
|
||||
<p class="mb-4">{{ __('Or login with SSO:') }}</p>
|
||||
|
||||
<x-connected-accounts-login />
|
||||
|
||||
</x-authentication-card>
|
||||
</x-guest-layout>
|
||||
@@ -51,29 +51,15 @@
|
||||
|
||||
<x-section-border />
|
||||
|
||||
<div class="">
|
||||
<x-connected-accounts-login />
|
||||
|
||||
<x-button
|
||||
link="{{ route('register') }}"
|
||||
class="btn-sm btn-block btn-outline btn-secondary my-1"
|
||||
>
|
||||
{{ __('Sign up with email') }}
|
||||
</x-button>
|
||||
|
||||
@foreach(explode(',', config('services.enabled_login_providers')) as $provider)
|
||||
<x-button
|
||||
link="{{ route('oauth.redirect', ['provider' => $provider]) }}"
|
||||
class="btn-sm btn-block my-1"
|
||||
style='background-color: {{ config("services.$provider.color") }}'
|
||||
no-wire-navigate
|
||||
>
|
||||
@include("components.$provider-icon")
|
||||
|
||||
{{ __('Login with') }} {{ config("services.$provider.name") }}
|
||||
</x-button>
|
||||
@endforeach
|
||||
|
||||
<x-button
|
||||
link="{{ route('register') }}"
|
||||
class="btn-sm btn-block btn-outline btn-secondary my-1"
|
||||
>
|
||||
{{ __('Sign up with email') }}
|
||||
</x-button>
|
||||
|
||||
</div>
|
||||
@endif
|
||||
</form>
|
||||
</x-authentication-card>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-button class="btn-primary">
|
||||
<x-button class="btn-primary" type="submit">
|
||||
{{ __('Reset Password') }}
|
||||
</x-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user