feat(ui): integration police Chillax locale, splash screen video et mise a jour des logos
- Integration de la police Chillax (woff2 locaux) et configuration CSS/Tailwind - Ajout de l'ecran de chargement video au lancement (splash screen avec loading.mp4) - Mise a jour des logos officiels (logo.png, logo-official.jpg, logo-square.png, logo-transparent.png) - Harmonisation typographique sur l'ensemble des pages
Cette révision appartient à :
1 Parent
805a5fb0f5
révision
e3ef40062e
23 fichiers modifiés
+156
-85
Aucun fichier ne correspond à votre recherche
+50
-20
@@ -4,11 +4,12 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
<title>Jobrunner - Services & Prestations Sécurisées</title>
|
||||
<link rel="icon" type="image/svg+xml" href="assets/img/logo-light.svg">
|
||||
<link rel="icon" type="image/png" href="assets/img/logo.png">
|
||||
|
||||
<!-- Polices auto-hébergées (aucun appel externe) -->
|
||||
<link rel="preload" href="assets/fonts/plus-jakarta-sans-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="assets/fonts/outfit-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<!-- Polices auto-hébergées Chillax (aucun appel externe) -->
|
||||
<link rel="preload" href="assets/fonts/chillax-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="assets/fonts/chillax-latin-500-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="assets/fonts/chillax-latin-700-normal.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="stylesheet" href="assets/css/fonts.css">
|
||||
|
||||
<script>
|
||||
@@ -16,28 +17,26 @@
|
||||
function handleLogoError(img, theme = 'sage') {
|
||||
if (!img || img.dataset.fallbackApplied) return;
|
||||
img.dataset.fallbackApplied = 'true';
|
||||
const isBeige = theme === 'beige';
|
||||
const bgClass = isBeige ? 'bg-[#F1EDE1] text-job-sage border border-job-sage/30' : 'bg-job-sage text-white';
|
||||
const wrapper = document.createElement('div');
|
||||
wrapper.className = `${img.className || ''} ${bgClass} flex items-center justify-center font-bold select-none shrink-0 overflow-hidden`;
|
||||
wrapper.setAttribute('aria-label', 'Jobrunner');
|
||||
wrapper.innerHTML = `<span class="font-titre font-black text-sm sm:text-base leading-none select-none" style="font-family:'Outfit',sans-serif;">J</span>`;
|
||||
img.replaceWith(wrapper);
|
||||
img.src = 'assets/img/logo-official.jpg';
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
*, button, input, textarea, select {
|
||||
font-family: 'Chillax', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
background-color: #F4F2EC;
|
||||
color: #1F221E;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
font-family: 'Chillax', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
h1, h2, h3, .font-titre {
|
||||
font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
|
||||
h1, h2, h3, h4, h5, h6, .font-titre {
|
||||
font-family: 'Chillax', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
@@ -164,6 +163,37 @@
|
||||
</head>
|
||||
<body class="selection:bg-job-sage selection:text-white">
|
||||
|
||||
<!-- ================= ÉCRAN DE CHARGEMENT VIDÉO (SPLASH SCREEN) ================= -->
|
||||
<div id="jobrunner-splash-screen" style="position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;background-color:#F2F0E6;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity 0.7s ease-out;user-select:none;">
|
||||
<div style="position:relative;width:100%;max-width:580px;padding:0 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;">
|
||||
<video id="splash-video" src="assets/video/loading.mp4" autoplay muted playsinline style="width:100%;height:auto;max-height:75vh;object-fit:contain;border-radius:1rem;pointer-events:none;user-select:none;display:block;"></video>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function dismissJobrunnerSplash() {
|
||||
const splash = document.getElementById('jobrunner-splash-screen');
|
||||
if (!splash || splash.dataset.dismissed) return;
|
||||
splash.dataset.dismissed = 'true';
|
||||
splash.style.opacity = '0';
|
||||
splash.style.pointerEvents = 'none';
|
||||
setTimeout(function() {
|
||||
if (splash && splash.parentNode) splash.parentNode.removeChild(splash);
|
||||
}, 750);
|
||||
}
|
||||
(function() {
|
||||
const v = document.getElementById('splash-video');
|
||||
if (v) {
|
||||
v.addEventListener('ended', dismissJobrunnerSplash);
|
||||
const p = v.play();
|
||||
if (p !== undefined) {
|
||||
p.catch(function() {
|
||||
setTimeout(dismissJobrunnerSplash, 1200);
|
||||
});
|
||||
}
|
||||
setTimeout(dismissJobrunnerSplash, 5500);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<div id="app-wrapper">
|
||||
|
||||
@@ -180,7 +210,7 @@
|
||||
<div class="max-w-7xl mx-auto w-full flex items-center justify-between gap-3 lg:gap-5">
|
||||
<!-- 1. Logo Jobrunner avec 'J' -->
|
||||
<button onclick="navigate('home')" class="flex items-center gap-2.5 group transition-transform active:scale-95 shrink-0" aria-label="Jobrunner Accueil">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo-light.svg" alt="Logo Jobrunner" class="w-10 h-10 object-contain object-center group-hover:scale-105 transition-transform select-none shrink-0" onerror="handleLogoError(this, 'sage')">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo.png" alt="Logo Jobrunner" class="w-10 h-10 object-contain object-center group-hover:scale-105 transition-transform select-none shrink-0" onerror="handleLogoError(this, 'sage')">
|
||||
<span class="font-titre text-2xl font-black tracking-tight text-job-dark shrink-0">Job<span class="text-job-sage">runner</span></span>
|
||||
</button>
|
||||
|
||||
@@ -1008,8 +1038,8 @@
|
||||
Glisser pour réserver <i class="ph-bold ph-arrows-out-line-horizontal text-lg opacity-60"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div id="swipe-reserve-knob" class="w-10 h-10 bg-[#F1EDE1] rounded-xl flex items-center justify-center overflow-hidden shadow-md z-20 cursor-grab active:cursor-grabbing shrink-0 relative" style="touch-action: none;">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo-light.svg" class="w-full h-full object-contain object-center pointer-events-none select-none" alt="Jobrunner" onerror="handleLogoError(this, 'beige')">
|
||||
<div id="swipe-reserve-knob" class="w-10 h-10 bg-[#F1EDE1] rounded-xl flex items-center justify-center overflow-hidden shadow-md z-20 cursor-grab active:cursor-grabbing shrink-0 relative p-1" style="touch-action: none;">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo.png" class="w-full h-full object-contain object-center pointer-events-none select-none" alt="Jobrunner" onerror="handleLogoError(this, 'beige')">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1150,7 +1180,7 @@
|
||||
<div class="bg-job-bg w-full max-w-[480px] md:max-w-lg md:rounded-3xl md:my-auto mx-auto max-h-[92vh] rounded-t-[2.5rem] flex flex-col shadow-2xl p-6 overflow-y-auto">
|
||||
<div class="flex items-center justify-between mb-4">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo-light.svg" alt="Logo Jobrunner" class="w-9 h-9 object-contain object-center shrink-0" onerror="handleLogoError(this, 'beige')">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo.png" alt="Logo Jobrunner" class="w-9 h-9 object-contain object-center shrink-0" onerror="handleLogoError(this, 'beige')">
|
||||
<h2 class="text-2xl font-bold font-titre text-job-dark">Créer un compte</h2>
|
||||
</div>
|
||||
<button onclick="closeAuthModal()" class="w-8 h-8 rounded-full bg-white flex items-center justify-center text-gray-500 hover:text-job-dark">
|
||||
@@ -6059,7 +6089,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Reçu Officiel - ${ref}</title>
|
||||
<style>
|
||||
body { font-family: 'Segoe UI', Arial, sans-serif; background: #F4F2EC; color: #1F221E; padding: 40px 20px; margin: 0; }
|
||||
body { font-family: 'Chillax', 'Segoe UI', Arial, sans-serif; background: #F4F2EC; color: #1F221E; padding: 40px 20px; margin: 0; }
|
||||
.receipt-card { max-width: 650px; margin: 0 auto; background: #ffffff; border-radius: 20px; padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid #E5E1D8; }
|
||||
.header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #F4F2EC; padding-bottom: 20px; margin-bottom: 24px; }
|
||||
.logo-title { font-size: 24px; font-weight: 800; color: #1F221E; letter-spacing: -0.5px; }
|
||||
@@ -6598,7 +6628,7 @@
|
||||
<!-- 1. Colonne : Présentation & Mission -->
|
||||
<div class="space-y-2.5">
|
||||
<div class="flex items-center gap-2">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo-light.svg" alt="Logo Jobrunner" class="w-8 h-8 object-contain object-center select-none shrink-0" onerror="handleLogoError(this, 'sage')">
|
||||
<img loading="lazy" decoding="async" src="assets/img/logo.png" alt="Logo Jobrunner" class="w-8 h-8 object-contain object-center select-none shrink-0" onerror="handleLogoError(this, 'sage')">
|
||||
<span class="font-titre text-xl font-black tracking-tight text-white">Job<span class="text-job-sage">runner</span></span>
|
||||
</div>
|
||||
<p class="text-[11px] text-gray-400 leading-relaxed">
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur