ui(ucp): fond d'écran wallpaper sur la page de connexion UCP

This commit is contained in:
sorcier committed 2026-11-12 09:47:25 +01:00
1 parent c980aa2904
commit b702e369a8
2 files changed
+5 -3

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

+5 -3
View File
@@ -128,9 +128,11 @@ $csrfToken = UcpAuth::getCsrfToken();
</div> </div>
</div> </div>
<?php elseif (!$isAuth): ?> <?php elseif (!$isAuth): ?>
<!-- ÉCRAN DE CONNEXION UCP (THÈME CLAIR ÉPURÉ) --> <!-- ÉCRAN DE CONNEXION UCP (WALLPAPER + CARTE CLAIRE GLASSMORPHISM) -->
<div class="min-h-screen flex flex-col items-center justify-center p-4 bg-gradient-to-br from-slate-50 via-blue-50/40 to-indigo-50/50"> <div class="min-h-screen flex flex-col items-center justify-center p-4 relative overflow-hidden bg-slate-900">
<div class="w-full max-w-md ucp-card rounded-3xl p-8 shadow-xl shadow-slate-200/60 border border-slate-200/80"> <div class="absolute inset-0 bg-cover bg-center bg-no-repeat" style="background-image: url('/assets/login-bg.jpg?v=<?= file_exists(__DIR__ . '/assets/login-bg.jpg') ? filemtime(__DIR__ . '/assets/login-bg.jpg') : 1 ?>');"></div>
<div class="absolute inset-0 bg-slate-950/35 backdrop-blur-[1px]"></div>
<div class="relative z-10 w-full max-w-md bg-white/90 backdrop-blur-xl rounded-3xl p-8 shadow-2xl shadow-slate-900/30 border border-white/60">
<div class="flex flex-col items-center text-center mb-7"> <div class="flex flex-col items-center text-center mb-7">
<?php if ($companyLogo !== ''): ?> <?php if ($companyLogo !== ''): ?>
<img src="<?= htmlspecialchars($companyLogo) ?>" alt="Logo" class="h-14 w-auto object-contain mb-3 rounded-xl"> <img src="<?= htmlspecialchars($companyLogo) ?>" alt="Logo" class="h-14 w-auto object-contain mb-3 rounded-xl">