2026-09-24 17:27:58 +03:00
|
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
|
|
|
|
@section('title', __('storefront.auth.login'))
|
|
|
|
|
|
|
|
|
|
|
|
@push('seo')
|
|
|
|
|
|
<meta name="robots" content="noindex, follow">
|
|
|
|
|
|
@endpush
|
|
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
|
|
|
|
<section class="mx-auto max-w-2xl px-4 py-20 sm:px-8 sm:py-32">
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="mb-6 font-display text-h3 font-black tracking-tight sm:text-h2">
|
|
|
|
|
|
{{ __('storefront.auth.login') }}
|
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
|
|
{{-- Unescaped: the label holds a <br /> (edited in Filament › Language Lines, staff only). --}}
|
|
|
|
|
|
<p class="mb-12">{!! __('storefront.auth.login_intro') !!}</p>
|
|
|
|
|
|
|
|
|
|
|
|
{{-- e.g. "account deletion scheduled", after AccountController::destroy() --}}
|
|
|
|
|
|
<x-ui.status class="mb-12" />
|
|
|
|
|
|
|
|
|
|
|
|
<form method="POST" action="{{ route('login.send') }}" class="flex flex-col gap-8">
|
|
|
|
|
|
@csrf
|
|
|
|
|
|
|
|
|
|
|
|
<x-ui.field
|
|
|
|
|
|
:label="__('storefront.auth.email')"
|
|
|
|
|
|
for="login-email"
|
|
|
|
|
|
:required="true"
|
|
|
|
|
|
:error="$errors->first('email')"
|
|
|
|
|
|
>
|
|
|
|
|
|
<x-ui.input
|
|
|
|
|
|
id="login-email"
|
|
|
|
|
|
name="email"
|
|
|
|
|
|
type="email"
|
|
|
|
|
|
autocomplete="email"
|
|
|
|
|
|
:value="old('email')"
|
|
|
|
|
|
:required="true"
|
|
|
|
|
|
autofocus
|
|
|
|
|
|
:aria-invalid="$errors->has('email') ? 'true' : null"
|
|
|
|
|
|
:aria-describedby="$errors->has('email') ? 'login-email-error' : null"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</x-ui.field>
|
|
|
|
|
|
|
2026-09-24 19:22:40 +03:00
|
|
|
|
{{-- Shown to everyone. Recording acceptance for new accounts is a
|
|
|
|
|
|
boboko-core task (UserOtpService). Unescaped: the label holds the
|
|
|
|
|
|
two links (Language Lines, staff only). --}}
|
2026-09-24 19:08:13 +03:00
|
|
|
|
<p class="text-sm text-neutral-500 [&_a]:underline [&_a:hover]:no-underline">
|
|
|
|
|
|
{!! __('storefront.auth.terms_notice', [
|
|
|
|
|
|
'terms' => route('legal.terms'),
|
|
|
|
|
|
'privacy' => route('legal.privacy'),
|
|
|
|
|
|
]) !!}
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
2026-09-24 17:27:58 +03:00
|
|
|
|
<div>
|
|
|
|
|
|
<x-ui.button type="submit">{{ __('storefront.auth.send_code') }}</x-ui.button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
@endsection
|