Mise en prod

This commit is contained in:
hugol
2024-11-16 11:49:20 +01:00
parent a21b69bd8f
commit 3210782a6c
38 changed files with 3486 additions and 6524 deletions

View File

@@ -1,60 +1,67 @@
@extends('layouts.auth')
@section('content')
<div class="max-w-464-px mx-auto w-100">
<div>
<a href="/" class="mb-40 max-w-290-px">
<img src="{{ asset('assets/images/logo.png') }}" alt="">
</a>
<h4 class="mb-12">Se Connecter</h4>
<p class="mb-32 text-secondary-light text-lg">Prêt à tout dechirer !</p>
</div>
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="icon-field mb-16">
<span class="icon top-50 translate-middle-y">
<iconify-icon icon="mage:email"></iconify-icon>
</span>
<input id="email" type="email" class="form-control h-56-px bg-neutral-50 radius-12 @error('email') is-invalid @enderror"
name="email" value="{{ old('email') }}" required autocomplete="email" placeholder="Email" autofocus>
</div>
@error('email')
<span class="alert alert-danger bg-danger-100 text-danger-600 border-danger-100 px-24 py-11 text-lg radius-8 d-flex align-items-center justify-content-between" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
<div class="position-relative mb-20">
<div class="icon-field">
<span class="icon top-50 translate-middle-y">
<iconify-icon icon="solar:lock-password-outline"></iconify-icon>
</span>
<input id="password" type="password"
class="form-control h-56-px bg-neutral-50 radius-12 @error('password') is-invalid @enderror" name="password "
required autocomplete="current-password">
<!-- Header -->
<div class="mb-3 text-center">
<a class="fw-bold fs-1" href="/">
<img src="{{url('/')}}/media/logo.png" class="img-fluid mx-auto">
</a>
<p class="text-uppercase fw-bold fs-sm text-muted">Se connecter!</p>
</div>
<!-- END Header -->
<div class="row g-0 justify-content-center">
<div class="col-sm-8 col-xl-6">
<form class="js-validation-signin" method="POST" action="{{ route('login') }}" novalidate="novalidate">
@csrf
<div class="mb-3">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror"
name="email" value="{{ old('email') }}" required autocomplete="email" autofocus placeholder="Email">
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<span class="toggle-password ri-eye-line cursor-pointer position-absolute end-0 top-50 translate-middle-y me-16 text-secondary-light" data-toggle="#your-password"></span>
</div>
@error('password')
<span class="alert alert-danger bg-danger-100 text-danger-600 border-danger-100 px-24 py-11 text-lg radius-8 d-flex align-items-center justify-content-between" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
<div class="">
<div class="d-flex justify-content-between gap-2">
<div class="form-check style-check d-flex align-items-center">
<input class="form-check-input border border-neutral-300" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label" for="remember">Se seouvenir de moi </label>
<div class="mb-3">
<input id="password" type="password"
class="form-control @error('password') is-invalid @enderror" name="password"
required autocomplete="current-password" placeholder="Mot de passe">
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="mb-5">
<div class="form-check">
<input class="form-check-input" type="checkbox" name="remember" id="remember"
{{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label" for="remember">
Se souvenir de moi
</label>
</div>
</div>
</div>
<button type="submit" class="btn btn-primary text-sm btn-sm px-12 py-16 w-100 radius-12 mt-32"> Connexion</button>
</form>
<button type="submit" class="btn w-100 btn-lg btn-hero btn-primary mb-3">Connexion
</button>
<p class="text-center">
<a href="/forgot-password" class="text-black">
<i class="fa fa-key opacity-50 me-1"></i> Mot de passe oublié ?
</a>
</p>
<div class="mb-4">
<p class="mt-3 mb-0 d-lg-flex justify-content-lg-between text-center">
<a class="btn btn-sm btn-alt-secondary d-block d-lg-inline-block m-2" href="/">
<i class="fa fa-rotate-back opacity-50 me-1"></i> Revenir à MyX
</a>
</p>
</div>
</form>
</div>
</div>
@endsection
@endsection