BloomFeed Upgrade v0.21

This commit is contained in:
Esteban
2026-07-04 03:07:54 +02:00
parent d73c25cbbb
commit 28ba35da13
36 changed files with 1981 additions and 274 deletions
+9 -9
View File
@@ -1,4 +1,4 @@
@extends('layouts.guest', ['title' => 'Connexion — BloomFeed'])
@extends('layouts.guest', ['title' => __('app.login_title').' — BloomFeed'])
@section('content')
<div class="auth-card">
@@ -6,8 +6,8 @@
<img src="{{ asset('images/logo.png') }}" alt="BloomFeed" class="brand-logo brand-logo-light">
<img src="{{ asset('images/logo-dark.png') }}" alt="BloomFeed" class="brand-logo brand-logo-dark">
</div>
<h1>Connexion</h1>
<p class="subtitle">Accédez à vos flux et à votre lecture approfondie</p>
<h1>{{ __('app.login_title') }}</h1>
<p class="subtitle">{{ __('app.login_subtitle') }}</p>
@if (session('status'))
<div class="form-status">{{ session('status') }}</div>
@@ -20,20 +20,20 @@
<form method="POST" action="{{ route('login') }}" class="mt-2">
@csrf
<div class="form-group">
<label for="email">Adresse e-mail</label>
<label for="email">{{ __('app.email') }}</label>
<input type="email" name="email" id="email" class="form-input" value="{{ old('email') }}" required autofocus>
</div>
<div class="form-group">
<label for="password">Mot de passe</label>
<label for="password">{{ __('app.password') }}</label>
<input type="password" name="password" id="password" class="form-input" required>
</div>
<button type="submit" class="btn btn-primary btn-block">Se connecter</button>
<button type="submit" class="btn btn-primary btn-block">{{ __('app.login') }}</button>
</form>
@unless (\App\Models\User::query()->exists())
@if (! \App\Models\User::query()->exists() || \App\Models\Setting::registrationsOpen())
<div class="switch-link">
Pas encore de compte ? <a href="{{ route('register') }}">Créer un compte</a>
{{ __('app.no_account_yet') }} <a href="{{ route('register') }}">{{ __('app.create_account') }}</a>
</div>
@endunless
@endif
</div>
@endsection