@php $isRegister = $mode === 'register'; // Each form posts back to its own address, so only the form that was sent shows its errors and typed values. $signInErrors = $isRegister ? new \Illuminate\Support\MessageBag : $errors->getBag('default'); $signUpErrors = $isRegister ? $errors->getBag('default') : new \Illuminate\Support\MessageBag; $titles = ['login' => "Sign In — {$brand}", 'register' => "Create Account — {$brand}"]; @endphp

{{ $brand }} account

$isRegister]) data-saruar-auth data-login-url="{{ route('login') }}" data-register-url="{{ route('register') }}" data-login-title="{{ $titles['login'] }}" data-register-title="{{ $titles['register'] }}">

Welcome To
{{ $brand }}

Sign In With Email & Password

Sign In

M/s. Saruar Mart

Sign up now and enjoy your shopping experience!

Sign Up