perf: auto-hébergement des polices et icônes, CSS Tailwind statique

- Suppression des scripts externes (CDN Tailwind, Phosphor via unpkg) et des
  feuilles Google Fonts / Fontshare : plus aucun JS ni framework chargé
  depuis un CDN.
- Plus Jakarta Sans auto-hébergée en woff2 (latin + latin-ext, 400 à 800).
- Phosphor Icons réduit aux 88 icônes utilisées (~29 Ko au total contre
  plusieurs centaines de Ko pour le paquet complet).
- Tailwind compilé une fois dans assets/css/app.css (build npm run build:css),
  même configuration que l'ancienne config inline.
- Images en loading="lazy" / decoding="async", vidéo en preload="metadata".
- Respect de prefers-reduced-motion.

Claude-Session: https://claude.ai/code/session_01J2SY2d6QEBNLiUG77tZiiw
Cette révision appartient à :
Claude a révisé 2026-10-12 12:14:55 +00:00
1 Parent 3e99152738
révision 1222f3f926
22 fichiers modifiés
+2096 -71

Aucun fichier ne correspond à votre recherche

+24 -5
Voir le fichier
@@ -37,16 +37,35 @@ jobrunner web/
├── .gitignore # Protection des clés privées, logs et dépendances ├── .gitignore # Protection des clés privées, logs et dépendances
├── README.md # Présentation du dépôt ├── README.md # Présentation du dépôt
├── DOCUMENTATION.md # Présente documentation technique complète ├── DOCUMENTATION.md # Présente documentation technique complète
└── index.html # Application Web frontend complète (6600+ lignes) ├── index.html # Application Web frontend complète (HTML, CSS inline, JS vanilla)
├── package.json # Outil de build CSS (devDependency : Tailwind 3.4.19)
├── tailwind.config.js # Palette et ombres du site (source du CSS généré)
└── assets/
├── css/
│ ├── app.css # CSS Tailwind compilé (généré, à versionner)
│ ├── tailwind.src.css # Entrée du build Tailwind + règle reduced-motion
│ └── fonts.css # @font-face Plus Jakarta Sans (auto-hébergée)
├── fonts/ # Fichiers .woff2 Plus Jakarta Sans (latin + latin-ext)
└── icons/
├── phosphor.css # Icônes Phosphor (sous-ensemble utilisé)
└── Phosphor-*.woff2 # Polices d'icônes (Regular, Bold, Fill)
``` ```
### Technologies du Frontend : ### Technologies du Frontend :
* **HTML5 / JavaScript Vanilla :** Application Single Page dynamique sans framework lourd pour un chargement instantané. * **HTML5 / JavaScript Vanilla :** Application Single Page dynamique sans framework, sans bibliothèque JS externe.
* **Tailwind CSS (CDN) :** Palette de couleurs sur-mesure (`#F4F2EC` écru/beige, `#7A8E76` sauge, `#1F221E` sombre). * **Tailwind CSS 3.4.19 (build statique) :** le CSS est compilé dans `assets/css/app.css` ; aucun script Tailwind n'est chargé dans le navigateur. Palette sur-mesure (`#F4F2EC` écru/beige, `#7A8E76` sauge, `#1F221E` sombre).
* **Phosphor Icons :** Bibliothèque d'icônes vectorielles moderne. * **Phosphor Icons 2.1.2 (MIT) :** sous-ensemble de la police d'icônes, auto-hébergé dans `assets/icons/`.
* **Typographies :** Polices *Chillax* (titres modernes) et *Plus Jakarta Sans* (corps de texte). * **Typographies :** *Plus Jakarta Sans* (corps de texte, auto-hébergée, licence OFL) et *Chillax* (titres, à ajouter dans `assets/fonts/`).
* **Aucun appel externe pour le code ou les polices :** plus de CDN Tailwind, unpkg, Google Fonts ni Fontshare. Seules les images et vidéos de démonstration restent hébergées ailleurs (Unsplash, Mixkit, placehold.co).
* **Responsive Hybride :** Conçu en priorité pour mobile (format app native avec dock de navigation bas) et adapté pour grand écran desktop. * **Responsive Hybride :** Conçu en priorité pour mobile (format app native avec dock de navigation bas) et adapté pour grand écran desktop.
### Régénérer le CSS (uniquement après ajout de classes Tailwind) :
```bash
npm install
npm run build:css
```
Le CSS est versionné : il n'est pas nécessaire d'installer Node pour déployer le site.
--- ---
## 3. Règles de Travail sur le Dépôt Git Privé ## 3. Règles de Travail sur le Dépôt Git Privé
+1
Voir le fichier
@@ -0,0 +1 @@
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Chillax,Plus Jakarta Sans,system-ui,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!impLigne tronquée
+81
Voir le fichier
@@ -0,0 +1,81 @@
/* Plus Jakarta Sans — SIL OFL 1.1, auto-hébergé (paquet @fontsource/plus-jakarta-sans 5.3.0). */
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Plus Jakarta Sans';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+15
Voir le fichier
@@ -0,0 +1,15 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Accessibilité : réduit les animations pour les utilisateurs qui le demandent */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
Fichier binaire non affiché.
+889
Voir le fichier
@@ -0,0 +1,889 @@
/* Phosphor Icons 2.1.2 (MIT) — sous-ensemble auto-hébergé, généré depuis le paquet npm. */
.ph {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "Phosphor" !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Enable Ligatures ================ */
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
font-feature-settings: "liga";
-webkit-font-variant-ligatures: discretionary-ligatures;
font-variant-ligatures: discretionary-ligatures;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@font-face {
font-family: "Phosphor";
src: url("Phosphor-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: block;
}
.ph.ph-arrow-down-left:before {
content: "\e040";
}
.ph.ph-arrow-left:before {
content: "\e058";
}
.ph.ph-arrow-right:before {
content: "\e06c";
}
.ph.ph-arrow-square-out:before {
content: "\e5de";
}
.ph.ph-arrow-up-right:before {
content: "\e092";
}
.ph.ph-arrows-out-line-horizontal:before {
content: "\e534";
}
.ph.ph-bank:before {
content: "\e0b4";
}
.ph.ph-book-open:before {
content: "\e0e6";
}
.ph.ph-broom:before {
content: "\ec54";
}
.ph.ph-camera:before {
content: "\e10e";
}
.ph.ph-caret-down:before {
content: "\e136";
}
.ph.ph-caret-left:before {
content: "\e138";
}
.ph.ph-caret-right:before {
content: "\e13a";
}
.ph.ph-chat-centered-dots:before {
content: "\e164";
}
.ph.ph-chat-circle:before {
content: "\e168";
}
.ph.ph-chat-circle-dots:before {
content: "\e16c";
}
.ph.ph-chat-circle-text:before {
content: "\e16e";
}
.ph.ph-chat-teardrop-text:before {
content: "\e178";
}
.ph.ph-check:before {
content: "\e182";
}
.ph.ph-check-circle:before {
content: "\e184";
}
.ph.ph-circle:before {
content: "\e18a";
}
.ph.ph-clock:before {
content: "\e19a";
}
.ph.ph-clock-counter-clockwise:before {
content: "\e1a0";
}
.ph.ph-cookie:before {
content: "\e6ca";
}
.ph.ph-credit-card:before {
content: "\e1d2";
}
.ph.ph-crown:before {
content: "\e614";
}
.ph.ph-currency-eur:before {
content: "\e554";
}
.ph.ph-device-mobile:before {
content: "\e1e0";
}
.ph.ph-diamond:before {
content: "\e1ec";
}
.ph.ph-discord-logo:before {
content: "\e61a";
}
.ph.ph-dots-three:before {
content: "\e1fe";
}
.ph.ph-download-simple:before {
content: "\e20c";
}
.ph.ph-drop:before {
content: "\e210";
}
.ph.ph-eye:before {
content: "\e220";
}
.ph.ph-eye-slash:before {
content: "\e224";
}
.ph.ph-file-pdf:before {
content: "\e702";
}
.ph.ph-file-text:before {
content: "\e23a";
}
.ph.ph-fire:before {
content: "\e242";
}
.ph.ph-flower-tulip:before {
content: "\eacc";
}
.ph.ph-hammer:before {
content: "\e80e";
}
.ph.ph-handshake:before {
content: "\e582";
}
.ph.ph-heart:before {
content: "\e2a8";
}
.ph.ph-heart-break:before {
content: "\ebe8";
}
.ph.ph-house:before {
content: "\e2c2";
}
.ph.ph-identification-card:before {
content: "\e2c8";
}
.ph.ph-image:before {
content: "\e2ca";
}
.ph.ph-info:before {
content: "\e2ce";
}
.ph.ph-instagram-logo:before {
content: "\e2d0";
}
.ph.ph-laptop:before {
content: "\e586";
}
.ph.ph-leaf:before {
content: "\e2da";
}
.ph.ph-lightning:before {
content: "\e2de";
}
.ph.ph-link:before {
content: "\e2e2";
}
.ph.ph-lock-key:before {
content: "\e2fe";
}
.ph.ph-magnifying-glass:before {
content: "\e30c";
}
.ph.ph-map-pin:before {
content: "\e316";
}
.ph.ph-megaphone:before {
content: "\e324";
}
.ph.ph-note-pencil:before {
content: "\e34c";
}
.ph.ph-paper-plane-right:before {
content: "\e396";
}
.ph.ph-paper-plane-tilt:before {
content: "\e398";
}
.ph.ph-paperclip:before {
content: "\e39a";
}
.ph.ph-pencil-simple:before {
content: "\e3b4";
}
.ph.ph-play:before {
content: "\e3d0";
}
.ph.ph-play-circle:before {
content: "\e3d2";
}
.ph.ph-plus:before {
content: "\e3d4";
}
.ph.ph-plus-circle:before {
content: "\e3d6";
}
.ph.ph-receipt:before {
content: "\e3ec";
}
.ph.ph-rocket-launch:before {
content: "\e3fe";
}
.ph.ph-scales:before {
content: "\e750";
}
.ph.ph-seal-check:before {
content: "\e606";
}
.ph.ph-share-network:before {
content: "\e408";
}
.ph.ph-shield-check:before {
content: "\e40c";
}
.ph.ph-shield-warning:before {
content: "\e412";
}
.ph.ph-sliders-horizontal:before {
content: "\e434";
}
.ph.ph-soccer-ball:before {
content: "\e716";
}
.ph.ph-sparkle:before {
content: "\e6a2";
}
.ph.ph-star:before {
content: "\e46a";
}
.ph.ph-tag:before {
content: "\e478";
}
.ph.ph-trash:before {
content: "\e4a6";
}
.ph.ph-truck:before {
content: "\e4b4";
}
.ph.ph-user:before {
content: "\e4c2";
}
.ph.ph-user-check:before {
content: "\eafa";
}
.ph.ph-user-circle:before {
content: "\e4c4";
}
.ph.ph-video-camera:before {
content: "\e4da";
}
.ph.ph-warning:before {
content: "\e4e0";
}
.ph.ph-warning-octagon:before {
content: "\e4e4";
}
.ph.ph-whatsapp-logo:before {
content: "\e5d0";
}
.ph.ph-x:before {
content: "\e4f6";
}
.ph.ph-x-circle:before {
content: "\e4f8";
}
.ph-bold {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "Phosphor-Bold" !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Enable Ligatures ================ */
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
font-feature-settings: "liga";
-webkit-font-variant-ligatures: discretionary-ligatures;
font-variant-ligatures: discretionary-ligatures;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@font-face {
font-family: "Phosphor-Bold";
src: url("Phosphor-Bold.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: block;
}
.ph-bold.ph-arrow-down-left:before {
content: "\e040";
}
.ph-bold.ph-arrow-left:before {
content: "\e058";
}
.ph-bold.ph-arrow-right:before {
content: "\e06c";
}
.ph-bold.ph-arrow-square-out:before {
content: "\e5de";
}
.ph-bold.ph-arrow-up-right:before {
content: "\e092";
}
.ph-bold.ph-arrows-out-line-horizontal:before {
content: "\e534";
}
.ph-bold.ph-bank:before {
content: "\e0b4";
}
.ph-bold.ph-book-open:before {
content: "\e0e6";
}
.ph-bold.ph-broom:before {
content: "\ec54";
}
.ph-bold.ph-camera:before {
content: "\e10e";
}
.ph-bold.ph-caret-down:before {
content: "\e136";
}
.ph-bold.ph-caret-left:before {
content: "\e138";
}
.ph-bold.ph-caret-right:before {
content: "\e13a";
}
.ph-bold.ph-chat-centered-dots:before {
content: "\e164";
}
.ph-bold.ph-chat-circle:before {
content: "\e168";
}
.ph-bold.ph-chat-circle-dots:before {
content: "\e16c";
}
.ph-bold.ph-chat-circle-text:before {
content: "\e16e";
}
.ph-bold.ph-chat-teardrop-text:before {
content: "\e178";
}
.ph-bold.ph-check:before {
content: "\e182";
}
.ph-bold.ph-check-circle:before {
content: "\e184";
}
.ph-bold.ph-circle:before {
content: "\e18a";
}
.ph-bold.ph-clock:before {
content: "\e19a";
}
.ph-bold.ph-clock-counter-clockwise:before {
content: "\e1a0";
}
.ph-bold.ph-cookie:before {
content: "\e6ca";
}
.ph-bold.ph-credit-card:before {
content: "\e1d2";
}
.ph-bold.ph-crown:before {
content: "\e614";
}
.ph-bold.ph-currency-eur:before {
content: "\e554";
}
.ph-bold.ph-device-mobile:before {
content: "\e1e0";
}
.ph-bold.ph-diamond:before {
content: "\e1ec";
}
.ph-bold.ph-discord-logo:before {
content: "\e61a";
}
.ph-bold.ph-dots-three:before {
content: "\e1fe";
}
.ph-bold.ph-download-simple:before {
content: "\e20c";
}
.ph-bold.ph-drop:before {
content: "\e210";
}
.ph-bold.ph-eye:before {
content: "\e220";
}
.ph-bold.ph-eye-slash:before {
content: "\e224";
}
.ph-bold.ph-file-pdf:before {
content: "\e702";
}
.ph-bold.ph-file-text:before {
content: "\e23a";
}
.ph-bold.ph-fire:before {
content: "\e242";
}
.ph-bold.ph-flower-tulip:before {
content: "\eacc";
}
.ph-bold.ph-hammer:before {
content: "\e80e";
}
.ph-bold.ph-handshake:before {
content: "\e582";
}
.ph-bold.ph-heart:before {
content: "\e2a8";
}
.ph-bold.ph-heart-break:before {
content: "\ebe8";
}
.ph-bold.ph-house:before {
content: "\e2c2";
}
.ph-bold.ph-identification-card:before {
content: "\e2c8";
}
.ph-bold.ph-image:before {
content: "\e2ca";
}
.ph-bold.ph-info:before {
content: "\e2ce";
}
.ph-bold.ph-instagram-logo:before {
content: "\e2d0";
}
.ph-bold.ph-laptop:before {
content: "\e586";
}
.ph-bold.ph-leaf:before {
content: "\e2da";
}
.ph-bold.ph-lightning:before {
content: "\e2de";
}
.ph-bold.ph-link:before {
content: "\e2e2";
}
.ph-bold.ph-lock-key:before {
content: "\e2fe";
}
.ph-bold.ph-magnifying-glass:before {
content: "\e30c";
}
.ph-bold.ph-map-pin:before {
content: "\e316";
}
.ph-bold.ph-megaphone:before {
content: "\e324";
}
.ph-bold.ph-note-pencil:before {
content: "\e34c";
}
.ph-bold.ph-paper-plane-right:before {
content: "\e396";
}
.ph-bold.ph-paper-plane-tilt:before {
content: "\e398";
}
.ph-bold.ph-paperclip:before {
content: "\e39a";
}
.ph-bold.ph-pencil-simple:before {
content: "\e3b4";
}
.ph-bold.ph-play:before {
content: "\e3d0";
}
.ph-bold.ph-play-circle:before {
content: "\e3d2";
}
.ph-bold.ph-plus:before {
content: "\e3d4";
}
.ph-bold.ph-plus-circle:before {
content: "\e3d6";
}
.ph-bold.ph-receipt:before {
content: "\e3ec";
}
.ph-bold.ph-rocket-launch:before {
content: "\e3fe";
}
.ph-bold.ph-scales:before {
content: "\e750";
}
.ph-bold.ph-seal-check:before {
content: "\e606";
}
.ph-bold.ph-share-network:before {
content: "\e408";
}
.ph-bold.ph-shield-check:before {
content: "\e40c";
}
.ph-bold.ph-shield-warning:before {
content: "\e412";
}
.ph-bold.ph-sliders-horizontal:before {
content: "\e434";
}
.ph-bold.ph-soccer-ball:before {
content: "\e716";
}
.ph-bold.ph-sparkle:before {
content: "\e6a2";
}
.ph-bold.ph-star:before {
content: "\e46a";
}
.ph-bold.ph-tag:before {
content: "\e478";
}
.ph-bold.ph-trash:before {
content: "\e4a6";
}
.ph-bold.ph-truck:before {
content: "\e4b4";
}
.ph-bold.ph-user:before {
content: "\e4c2";
}
.ph-bold.ph-user-check:before {
content: "\eafa";
}
.ph-bold.ph-user-circle:before {
content: "\e4c4";
}
.ph-bold.ph-video-camera:before {
content: "\e4da";
}
.ph-bold.ph-warning:before {
content: "\e4e0";
}
.ph-bold.ph-warning-octagon:before {
content: "\e4e4";
}
.ph-bold.ph-whatsapp-logo:before {
content: "\e5d0";
}
.ph-bold.ph-x:before {
content: "\e4f6";
}
.ph-bold.ph-x-circle:before {
content: "\e4f8";
}
.ph-fill {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "Phosphor-Fill" !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Enable Ligatures ================ */
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
font-feature-settings: "liga";
-webkit-font-variant-ligatures: discretionary-ligatures;
font-variant-ligatures: discretionary-ligatures;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@font-face {
font-family: "Phosphor-Fill";
src: url("Phosphor-Fill.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: block;
}
.ph-fill.ph-arrow-down-left:before {
content: "\e040";
}
.ph-fill.ph-arrow-left:before {
content: "\e058";
}
.ph-fill.ph-arrow-right:before {
content: "\e06c";
}
.ph-fill.ph-arrow-square-out:before {
content: "\e5de";
}
.ph-fill.ph-arrow-up-right:before {
content: "\e092";
}
.ph-fill.ph-arrows-out-line-horizontal:before {
content: "\e534";
}
.ph-fill.ph-bank:before {
content: "\e0b4";
}
.ph-fill.ph-book-open:before {
content: "\e0e6";
}
.ph-fill.ph-broom:before {
content: "\ec54";
}
.ph-fill.ph-camera:before {
content: "\e10e";
}
.ph-fill.ph-caret-down:before {
content: "\e136";
}
.ph-fill.ph-caret-left:before {
content: "\e138";
}
.ph-fill.ph-caret-right:before {
content: "\e13a";
}
.ph-fill.ph-chat-centered-dots:before {
content: "\e164";
}
.ph-fill.ph-chat-circle:before {
content: "\e168";
}
.ph-fill.ph-chat-circle-dots:before {
content: "\e16c";
}
.ph-fill.ph-chat-circle-text:before {
content: "\e16e";
}
.ph-fill.ph-chat-teardrop-text:before {
content: "\e178";
}
.ph-fill.ph-check:before {
content: "\e182";
}
.ph-fill.ph-check-circle:before {
content: "\e184";
}
.ph-fill.ph-circle:before {
content: "\e18a";
}
.ph-fill.ph-clock:before {
content: "\e19a";
}
.ph-fill.ph-clock-counter-clockwise:before {
content: "\e1a0";
}
.ph-fill.ph-cookie:before {
content: "\e6ca";
}
.ph-fill.ph-credit-card:before {
content: "\e1d2";
}
.ph-fill.ph-crown:before {
content: "\e614";
}
.ph-fill.ph-currency-eur:before {
content: "\e554";
}
.ph-fill.ph-device-mobile:before {
content: "\e1e0";
}
.ph-fill.ph-diamond:before {
content: "\e1ec";
}
.ph-fill.ph-discord-logo:before {
content: "\e61a";
}
.ph-fill.ph-dots-three:before {
content: "\e1fe";
}
.ph-fill.ph-download-simple:before {
content: "\e20c";
}
.ph-fill.ph-drop:before {
content: "\e210";
}
.ph-fill.ph-eye:before {
content: "\e220";
}
.ph-fill.ph-eye-slash:before {
content: "\e224";
}
.ph-fill.ph-file-pdf:before {
content: "\e702";
}
.ph-fill.ph-file-text:before {
content: "\e23a";
}
.ph-fill.ph-fire:before {
content: "\e242";
}
.ph-fill.ph-flower-tulip:before {
content: "\eacc";
}
.ph-fill.ph-hammer:before {
content: "\e80e";
}
.ph-fill.ph-handshake:before {
content: "\e582";
}
.ph-fill.ph-heart:before {
content: "\e2a8";
}
.ph-fill.ph-heart-break:before {
content: "\ebe8";
}
.ph-fill.ph-house:before {
content: "\e2c2";
}
.ph-fill.ph-identification-card:before {
content: "\e2c8";
}
.ph-fill.ph-image:before {
content: "\e2ca";
}
.ph-fill.ph-info:before {
content: "\e2ce";
}
.ph-fill.ph-instagram-logo:before {
content: "\e2d0";
}
.ph-fill.ph-laptop:before {
content: "\e586";
}
.ph-fill.ph-leaf:before {
content: "\e2da";
}
.ph-fill.ph-lightning:before {
content: "\e2de";
}
.ph-fill.ph-link:before {
content: "\e2e2";
}
.ph-fill.ph-lock-key:before {
content: "\e2fe";
}
.ph-fill.ph-magnifying-glass:before {
content: "\e30c";
}
.ph-fill.ph-map-pin:before {
content: "\e316";
}
.ph-fill.ph-megaphone:before {
content: "\e324";
}
.ph-fill.ph-note-pencil:before {
content: "\e34c";
}
.ph-fill.ph-paper-plane-right:before {
content: "\e396";
}
.ph-fill.ph-paper-plane-tilt:before {
content: "\e398";
}
.ph-fill.ph-paperclip:before {
content: "\e39a";
}
.ph-fill.ph-pencil-simple:before {
content: "\e3b4";
}
.ph-fill.ph-play:before {
content: "\e3d0";
}
.ph-fill.ph-play-circle:before {
content: "\e3d2";
}
.ph-fill.ph-plus:before {
content: "\e3d4";
}
.ph-fill.ph-plus-circle:before {
content: "\e3d6";
}
.ph-fill.ph-receipt:before {
content: "\e3ec";
}
.ph-fill.ph-rocket-launch:before {
content: "\e3fe";
}
.ph-fill.ph-scales:before {
content: "\e750";
}
.ph-fill.ph-seal-check:before {
content: "\e606";
}
.ph-fill.ph-share-network:before {
content: "\e408";
}
.ph-fill.ph-shield-check:before {
content: "\e40c";
}
.ph-fill.ph-shield-warning:before {
content: "\e412";
}
.ph-fill.ph-sliders-horizontal:before {
content: "\e434";
}
.ph-fill.ph-soccer-ball:before {
content: "\e716";
}
.ph-fill.ph-sparkle:before {
content: "\e6a2";
}
.ph-fill.ph-star:before {
content: "\e46a";
}
.ph-fill.ph-tag:before {
content: "\e478";
}
.ph-fill.ph-trash:before {
content: "\e4a6";
}
.ph-fill.ph-truck:before {
content: "\e4b4";
}
.ph-fill.ph-user:before {
content: "\e4c2";
}
.ph-fill.ph-user-check:before {
content: "\eafa";
}
.ph-fill.ph-user-circle:before {
content: "\e4c4";
}
.ph-fill.ph-video-camera:before {
content: "\e4da";
}
.ph-fill.ph-warning:before {
content: "\e4e0";
}
.ph-fill.ph-warning-octagon:before {
content: "\e4e4";
}
.ph-fill.ph-whatsapp-logo:before {
content: "\e5d0";
}
.ph-fill.ph-x:before {
content: "\e4f6";
}
.ph-fill.ph-x-circle:before {
content: "\e4f8";
}
+33 -66
Voir le fichier
@@ -6,46 +6,11 @@
<title>Jobrunner - Services & Prestations Sécurisées</title> <title>Jobrunner - Services & Prestations Sécurisées</title>
<link rel="icon" type="image/jpeg" href="./logo.jpg?v=4"> <link rel="icon" type="image/jpeg" href="./logo.jpg?v=4">
<!-- Chillax Font & Plus Jakarta Sans --> <!-- Polices auto-hébergées (aucun appel externe) -->
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preload" href="assets/fonts/plus-jakarta-sans-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="stylesheet" href="assets/css/fonts.css">
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<link href="https://api.fontshare.com/v2/css?f[]=chillax@400,500,600,700&display=swap" rel="stylesheet">
<!-- Phosphor Icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<script> <script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Chillax', 'Plus Jakarta Sans', 'system-ui', 'sans-serif'],
body: ['Plus Jakarta Sans', 'sans-serif'],
},
colors: {
'job-bg': '#F4F2EC',
'job-sage': '#7A8E76',
'job-sage-dark': '#586B54',
'job-sage-light': '#E7ECE5',
'job-dark': '#1F221E',
'job-gray': '#E5E4DC',
'job-gold': '#D4AF37',
},
boxShadow: {
'soft': '0 8px 30px rgba(0,0,0,0.04)',
'card': '0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02)',
'elevated': '0 20px 35px -10px rgba(31, 34, 30, 0.12)',
'nav': '0 -10px 30px rgba(0,0,0,0.05)',
'floating': '0 15px 35px rgba(122, 142, 118, 0.35)',
}
}
}
}
// ====== FALLBACK LOGO ROBUSTE ====== // ====== FALLBACK LOGO ROBUSTE ======
function handleLogoError(img, theme = 'sage') { function handleLogoError(img, theme = 'sage') {
if (!img || img.dataset.fallbackApplied) return; if (!img || img.dataset.fallbackApplied) return;
@@ -193,6 +158,8 @@
scroll-snap-stop: always; scroll-snap-stop: always;
} }
</style> </style>
<link rel="stylesheet" href="assets/icons/phosphor.css">
<link rel="stylesheet" href="assets/css/app.css">
</head> </head>
<body class="selection:bg-job-sage selection:text-white"> <body class="selection:bg-job-sage selection:text-white">
@@ -200,7 +167,7 @@
<div id="dev-lock-screen" class="fixed inset-0 z-[9999] bg-[#f4f5f7] flex flex-col items-center justify-center p-4 text-gray-800 transition-opacity duration-300 font-sans"> <div id="dev-lock-screen" class="fixed inset-0 z-[9999] bg-[#f4f5f7] flex flex-col items-center justify-center p-4 text-gray-800 transition-opacity duration-300 font-sans">
<div class="w-full max-w-xs bg-white p-6 border border-gray-300 rounded-2xl shadow-sm text-center"> <div class="w-full max-w-xs bg-white p-6 border border-gray-300 rounded-2xl shadow-sm text-center">
<div class="flex items-center justify-center mb-3"> <div class="flex items-center justify-center mb-3">
<img src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-12 h-12 rounded-2xl object-contain object-center shadow-sm" onerror="handleLogoError(this, 'sage')"> <img loading="lazy" decoding="async" src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-12 h-12 rounded-2xl object-contain object-center shadow-sm" onerror="handleLogoError(this, 'sage')">
</div> </div>
<h1 class="text-sm font-semibold text-gray-900 mb-1">Authentification</h1> <h1 class="text-sm font-semibold text-gray-900 mb-1">Authentification</h1>
<p class="text-xs text-gray-500 mb-4">Veuillez entrer le mot de passe pour continuer.</p> <p class="text-xs text-gray-500 mb-4">Veuillez entrer le mot de passe pour continuer.</p>
@@ -328,7 +295,7 @@
<div class="max-w-7xl mx-auto w-full flex items-center justify-between gap-3 lg:gap-5"> <div class="max-w-7xl mx-auto w-full flex items-center justify-between gap-3 lg:gap-5">
<!-- 1. Logo Jobrunner avec 'J' --> <!-- 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"> <button onclick="navigate('home')" class="flex items-center gap-2.5 group transition-transform active:scale-95 shrink-0" aria-label="Jobrunner Accueil">
<img src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-10 h-10 rounded-2xl object-contain object-center shadow-md group-hover:scale-105 transition-transform select-none shrink-0" onerror="handleLogoError(this, 'sage')"> <img loading="lazy" decoding="async" src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-10 h-10 rounded-2xl object-contain object-center shadow-md group-hover:scale-105 transition-transform select-none shrink-0" onerror="handleLogoError(this, 'sage')">
<span class="font-chillax text-2xl font-black tracking-tight text-job-dark shrink-0">Job<span class="text-job-sage">runner</span></span> <span class="font-chillax text-2xl font-black tracking-tight text-job-dark shrink-0">Job<span class="text-job-sage">runner</span></span>
</button> </button>
@@ -590,7 +557,7 @@
<span class="text-xs font-bold text-job-dark">Ajouter une photo représentative</span> <span class="text-xs font-bold text-job-dark">Ajouter une photo représentative</span>
<span class="text-[10px] text-gray-400">JPG, PNG haute résolution</span> <span class="text-[10px] text-gray-400">JPG, PNG haute résolution</span>
</div> </div>
<img id="upload-preview" src="" alt="Aperçu" class="hidden absolute inset-0 w-full h-full object-cover"> <img loading="lazy" decoding="async" id="upload-preview" src="" alt="Aperçu" class="hidden absolute inset-0 w-full h-full object-cover">
<div id="upload-badge" class="hidden absolute bottom-2 right-2 bg-job-dark/80 text-white text-[10px] px-2.5 py-0.5 rounded-full backdrop-blur-sm"> <div id="upload-badge" class="hidden absolute bottom-2 right-2 bg-job-dark/80 text-white text-[10px] px-2.5 py-0.5 rounded-full backdrop-blur-sm">
Modifier photo Modifier photo
</div> </div>
@@ -693,7 +660,7 @@
<!-- Top bar du tchat cliquable pour voir le profil --> <!-- Top bar du tchat cliquable pour voir le profil -->
<div class="p-3.5 px-5 bg-white border-b border-job-gray/80 flex items-center justify-between shrink-0"> <div class="p-3.5 px-5 bg-white border-b border-job-gray/80 flex items-center justify-between shrink-0">
<div class="flex items-center gap-3 cursor-pointer group" onclick="openProfileFromActiveChat()" title="Cliquer pour voir le profil"> <div class="flex items-center gap-3 cursor-pointer group" onclick="openProfileFromActiveChat()" title="Cliquer pour voir le profil">
<img id="desktop-chat-avatar" src="" class="w-10 h-10 rounded-full object-cover border border-job-gray group-hover:scale-105 transition-transform" alt="Avatar"> <img loading="lazy" decoding="async" id="desktop-chat-avatar" src="" class="w-10 h-10 rounded-full object-cover border border-job-gray group-hover:scale-105 transition-transform" alt="Avatar">
<div> <div>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<h3 id="desktop-chat-name" class="font-bold text-sm text-job-dark group-hover:text-job-sage transition-colors">Nom</h3> <h3 id="desktop-chat-name" class="font-bold text-sm text-job-dark group-hover:text-job-sage transition-colors">Nom</h3>
@@ -776,7 +743,7 @@
<!-- Chat Header --> <!-- Chat Header -->
<div class="bg-white p-4 border-b border-job-gray/80 flex items-center justify-between shrink-0"> <div class="bg-white p-4 border-b border-job-gray/80 flex items-center justify-between shrink-0">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<img id="chat-header-avatar" src="" class="w-10 h-10 rounded-full object-cover border border-job-gray" alt="Avatar"> <img loading="lazy" decoding="async" id="chat-header-avatar" src="" class="w-10 h-10 rounded-full object-cover border border-job-gray" alt="Avatar">
<div> <div>
<div class="flex items-center gap-1.5"> <div class="flex items-center gap-1.5">
<h3 id="chat-header-name" class="font-bold text-sm text-job-dark">Nom</h3> <h3 id="chat-header-name" class="font-bold text-sm text-job-dark">Nom</h3>
@@ -823,7 +790,7 @@
</button> </button>
<div class="relative mb-3"> <div class="relative mb-3">
<img id="profile-avatar" src="" class="w-20 h-20 rounded-full object-cover border-4 border-white shadow-md bg-job-bg"> <img loading="lazy" decoding="async" id="profile-avatar" src="" class="w-20 h-20 rounded-full object-cover border-4 border-white shadow-md bg-job-bg">
<span id="profile-avatar-badge" class="absolute bottom-0 right-0 w-6 h-6 bg-emerald-500 text-white rounded-full flex items-center justify-center border-2 border-white text-xs" title="Compte vérifié"> <span id="profile-avatar-badge" class="absolute bottom-0 right-0 w-6 h-6 bg-emerald-500 text-white rounded-full flex items-center justify-center border-2 border-white text-xs" title="Compte vérifié">
<i class="ph-fill ph-seal-check"></i> <i class="ph-fill ph-seal-check"></i>
</span> </span>
@@ -996,7 +963,7 @@
<div class="max-w-6xl mx-auto md:px-6 md:pb-12"> <div class="max-w-6xl mx-auto md:px-6 md:pb-12">
<div class="relative h-72 md:h-96 bg-job-dark md:rounded-3xl overflow-hidden shadow-card"> <div class="relative h-72 md:h-96 bg-job-dark md:rounded-3xl overflow-hidden shadow-card">
<img id="detail-job-img" src="" alt="Prestation" class="w-full h-full object-cover brightness-95" onerror="this.src='https://placehold.co/600x400/D9E4DD/2B2B2B?text=Service'"> <img loading="lazy" decoding="async" id="detail-job-img" src="" alt="Prestation" class="w-full h-full object-cover brightness-95" onerror="this.src='https://placehold.co/600x400/D9E4DD/2B2B2B?text=Service'">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-black/20 pointer-events-none"></div> <div class="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-black/20 pointer-events-none"></div>
<button onclick="handleBackFromDetail()" class="md:hidden absolute top-8 left-5 w-10 h-10 bg-white/90 backdrop-blur-md rounded-2xl flex items-center justify-center shadow-lg text-job-dark active:scale-95 transition-transform z-10"> <button onclick="handleBackFromDetail()" class="md:hidden absolute top-8 left-5 w-10 h-10 bg-white/90 backdrop-blur-md rounded-2xl flex items-center justify-center shadow-lg text-job-dark active:scale-95 transition-transform z-10">
@@ -1022,7 +989,7 @@
<div onclick="openPublicProfile(currentDetailRunnerId)" class="flex items-center gap-3.5 pb-5 border-b border-job-gray/80 mb-5 cursor-pointer hover:bg-job-bg/50 p-2 -mx-2 rounded-2xl transition-colors group"> <div onclick="openPublicProfile(currentDetailRunnerId)" class="flex items-center gap-3.5 pb-5 border-b border-job-gray/80 mb-5 cursor-pointer hover:bg-job-bg/50 p-2 -mx-2 rounded-2xl transition-colors group">
<div class="relative shrink-0"> <div class="relative shrink-0">
<img id="detail-avatar" src="" class="w-14 h-14 rounded-2xl object-cover bg-job-bg border-2 border-job-gray shadow-sm group-hover:scale-105 transition-transform" alt="Avatar"> <img loading="lazy" decoding="async" id="detail-avatar" src="" class="w-14 h-14 rounded-2xl object-cover bg-job-bg border-2 border-job-gray shadow-sm group-hover:scale-105 transition-transform" alt="Avatar">
<div id="detail-badge-container"></div> <div id="detail-badge-container"></div>
</div> </div>
<div class="flex-grow"> <div class="flex-grow">
@@ -1111,7 +1078,7 @@
</span> </span>
</div> </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;"> <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 src="./logo.jpg?v=4" class="w-full h-full object-cover object-center pointer-events-none select-none" alt="Jobrunner" onerror="handleLogoError(this, 'beige')"> <img loading="lazy" decoding="async" src="./logo.jpg?v=4" class="w-full h-full object-cover object-center pointer-events-none select-none" alt="Jobrunner" onerror="handleLogoError(this, 'beige')">
</div> </div>
</div> </div>
@@ -1143,7 +1110,7 @@
<div class="px-6 pt-0 pb-36 rounded-t-[2.5rem] bg-white -mt-10 relative z-10 shadow-2xl flex flex-col items-center"> <div class="px-6 pt-0 pb-36 rounded-t-[2.5rem] bg-white -mt-10 relative z-10 shadow-2xl flex flex-col items-center">
<div class="relative -mt-12 mb-3"> <div class="relative -mt-12 mb-3">
<img id="public-profile-avatar" src="" class="w-24 h-24 rounded-full object-cover border-4 border-white shadow-md bg-job-bg"> <img loading="lazy" decoding="async" id="public-profile-avatar" src="" class="w-24 h-24 rounded-full object-cover border-4 border-white shadow-md bg-job-bg">
<span class="absolute bottom-0 right-0 w-7 h-7 bg-emerald-500 text-white rounded-full flex items-center justify-center border-2 border-white text-xs shadow-sm" title="Vérifié"> <span class="absolute bottom-0 right-0 w-7 h-7 bg-emerald-500 text-white rounded-full flex items-center justify-center border-2 border-white text-xs shadow-sm" title="Vérifié">
<i class="ph-fill ph-seal-check"></i> <i class="ph-fill ph-seal-check"></i>
</span> </span>
@@ -1252,7 +1219,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="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 justify-between mb-4">
<div class="flex items-center gap-2.5"> <div class="flex items-center gap-2.5">
<img src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-9 h-9 rounded-xl object-contain object-center shadow-sm shrink-0" onerror="handleLogoError(this, 'beige')"> <img loading="lazy" decoding="async" src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-9 h-9 rounded-xl object-contain object-center shadow-sm shrink-0" onerror="handleLogoError(this, 'beige')">
<h2 class="text-2xl font-bold font-chillax text-job-dark">Connexion</h2> <h2 class="text-2xl font-bold font-chillax text-job-dark">Connexion</h2>
</div> </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"> <button onclick="closeAuthModal()" class="w-8 h-8 rounded-full bg-white flex items-center justify-center text-gray-500 hover:text-job-dark">
@@ -1275,7 +1242,7 @@
<span class="text-[10px] uppercase font-bold text-gray-400 block mb-2">Profil enregistré</span> <span class="text-[10px] uppercase font-bold text-gray-400 block mb-2">Profil enregistré</span>
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<img id="auth-saved-avatar" src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=100&auto=format&fit=crop&q=80" class="w-11 h-11 rounded-full object-cover border border-job-gray" alt="Avatar"> <img loading="lazy" decoding="async" id="auth-saved-avatar" src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=100&auto=format&fit=crop&q=80" class="w-11 h-11 rounded-full object-cover border border-job-gray" alt="Avatar">
<div> <div>
<span id="auth-saved-name" class="text-sm font-bold text-job-dark block">Christophe Vigneron</span> <span id="auth-saved-name" class="text-sm font-bold text-job-dark block">Christophe Vigneron</span>
<span id="auth-saved-email" class="text-xs text-gray-500">christophe.vigneron@email.com</span> <span id="auth-saved-email" class="text-xs text-gray-500">christophe.vigneron@email.com</span>
@@ -1582,7 +1549,7 @@
<form onsubmit="handleSaveProfile(event)" class="space-y-3"> <form onsubmit="handleSaveProfile(event)" class="space-y-3">
<div class="flex flex-col items-center mb-3"> <div class="flex flex-col items-center mb-3">
<div class="relative w-20 h-20 mb-1.5 cursor-pointer group" onclick="simulateProfileAvatarUpload()"> <div class="relative w-20 h-20 mb-1.5 cursor-pointer group" onclick="simulateProfileAvatarUpload()">
<img id="edit-avatar-preview" src="" class="w-full h-full rounded-full object-cover border border-job-gray shadow-sm group-hover:opacity-70 transition-opacity"> <img loading="lazy" decoding="async" id="edit-avatar-preview" src="" class="w-full h-full rounded-full object-cover border border-job-gray shadow-sm group-hover:opacity-70 transition-opacity">
<div class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity"> <div class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity">
<div class="w-8 h-8 rounded-full bg-black/50 flex items-center justify-center text-white backdrop-blur-sm shadow-md"> <div class="w-8 h-8 rounded-full bg-black/50 flex items-center justify-center text-white backdrop-blur-sm shadow-md">
<i class="ph-bold ph-camera"></i> <i class="ph-bold ph-camera"></i>
@@ -1742,7 +1709,7 @@
<!-- Aperçu du Short --> <!-- Aperçu du Short -->
<div class="flex items-center gap-3 p-3 bg-job-bg/70 rounded-2xl border border-job-gray/60 mb-5"> <div class="flex items-center gap-3 p-3 bg-job-bg/70 rounded-2xl border border-job-gray/60 mb-5">
<img id="share-preview-img" src="" class="w-12 h-16 object-cover rounded-xl border border-job-gray shrink-0" alt="Short preview"> <img loading="lazy" decoding="async" id="share-preview-img" src="" class="w-12 h-16 object-cover rounded-xl border border-job-gray shrink-0" alt="Short preview">
<div class="overflow-hidden"> <div class="overflow-hidden">
<h4 id="share-preview-title" class="font-bold text-xs text-job-dark truncate">Titre de la prestation</h4> <h4 id="share-preview-title" class="font-bold text-xs text-job-dark truncate">Titre de la prestation</h4>
<p id="share-preview-author" class="text-[10px] text-gray-500 truncate">Par le prestataire</p> <p id="share-preview-author" class="text-[10px] text-gray-500 truncate">Par le prestataire</p>
@@ -2635,14 +2602,14 @@
if (container) { if (container) {
container.innerHTML = ` container.innerHTML = `
<button onclick="navigate('profile')" class="flex items-center justify-center bg-white rounded-full p-0.5 shadow-card border border-job-gray/80 active:scale-95 transition-all" title="Mon Profil"> <button onclick="navigate('profile')" class="flex items-center justify-center bg-white rounded-full p-0.5 shadow-card border border-job-gray/80 active:scale-95 transition-all" title="Mon Profil">
<img src="${currentUser.avatar}" class="w-10 h-10 rounded-full object-cover shadow-sm shrink-0" alt="Profil"> <img loading="lazy" decoding="async" src="${currentUser.avatar}" class="w-10 h-10 rounded-full object-cover shadow-sm shrink-0" alt="Profil">
</button> </button>
`; `;
} }
if (desktopContainer) { if (desktopContainer) {
desktopContainer.innerHTML = ` desktopContainer.innerHTML = `
<button onclick="navigate('profile')" class="nav-btn flex items-center gap-2 bg-white hover:bg-job-bg px-2.5 py-1.5 rounded-full border border-job-gray/80 shadow-xs transition-all active:scale-95 shrink-0" data-target="profile" title="Profil"> <button onclick="navigate('profile')" class="nav-btn flex items-center gap-2 bg-white hover:bg-job-bg px-2.5 py-1.5 rounded-full border border-job-gray/80 shadow-xs transition-all active:scale-95 shrink-0" data-target="profile" title="Profil">
<img src="${currentUser.avatar}" class="w-6 h-6 rounded-full object-cover shadow-xs shrink-0" alt="Profil"> <img loading="lazy" decoding="async" src="${currentUser.avatar}" class="w-6 h-6 rounded-full object-cover shadow-xs shrink-0" alt="Profil">
<span class="text-xs font-bold text-job-dark">Profil</span> <span class="text-xs font-bold text-job-dark">Profil</span>
</button> </button>
`; `;
@@ -2742,7 +2709,7 @@
<div class="bg-white rounded-3xl p-3 shadow-card flex gap-3.5 cursor-pointer hover:shadow-elevated transition-all border border-job-gray/70 relative overflow-hidden active:scale-[0.99] ${finalRingClass}" onclick="openProfile(${runner.id})"> <div class="bg-white rounded-3xl p-3 shadow-card flex gap-3.5 cursor-pointer hover:shadow-elevated transition-all border border-job-gray/70 relative overflow-hidden active:scale-[0.99] ${finalRingClass}" onclick="openProfile(${runner.id})">
<div class="relative w-28 h-28 shrink-0 rounded-2xl overflow-hidden bg-job-bg"> <div class="relative w-28 h-28 shrink-0 rounded-2xl overflow-hidden bg-job-bg">
<img src="${runner.jobImage}" alt="${runner.title}" class="w-full h-full object-cover transition-transform duration-500 hover:scale-105" onerror="this.src='https://placehold.co/200x200/E7ECE5/7A8E76?text=Job'"> <img loading="lazy" decoding="async" src="${runner.jobImage}" alt="${runner.title}" class="w-full h-full object-cover transition-transform duration-500 hover:scale-105" onerror="this.src='https://placehold.co/200x200/E7ECE5/7A8E76?text=Job'">
</div> </div>
<div class="flex-grow flex flex-col justify-between py-0.5 overflow-hidden"> <div class="flex-grow flex flex-col justify-between py-0.5 overflow-hidden">
@@ -2762,7 +2729,7 @@
<div> <div>
<div class="flex items-center gap-2 mb-1.5"> <div class="flex items-center gap-2 mb-1.5">
<div class="relative"> <div class="relative">
<img src="${runner.avatar}" class="w-5 h-5 rounded-full object-cover border border-job-gray" alt="${runner.name}"> <img loading="lazy" decoding="async" src="${runner.avatar}" class="w-5 h-5 rounded-full object-cover border border-job-gray" alt="${runner.name}">
${badgeHtml} ${badgeHtml}
</div> </div>
<span class="text-[11px] text-gray-500 font-medium truncate">${runner.name}</span> <span class="text-[11px] text-gray-500 font-medium truncate">${runner.name}</span>
@@ -2821,7 +2788,7 @@
}; };
item.innerHTML = ` item.innerHTML = `
<div class="relative w-[116px] h-44 rounded-[1.25rem] overflow-hidden group-hover:scale-[1.02] transition-transform shadow-card bg-job-dark pointer-events-none select-none"> <div class="relative w-[116px] h-44 rounded-[1.25rem] overflow-hidden group-hover:scale-[1.02] transition-transform shadow-card bg-job-dark pointer-events-none select-none">
<img src="${runner.jobImage}" class="absolute inset-0 w-full h-full object-cover brightness-[0.70]" alt="${runner.title}"> <img loading="lazy" decoding="async" src="${runner.jobImage}" class="absolute inset-0 w-full h-full object-cover brightness-[0.70]" alt="${runner.title}">
<div class="absolute inset-0 bg-gradient-to-t from-black/80 via-black/10 to-transparent"></div> <div class="absolute inset-0 bg-gradient-to-t from-black/80 via-black/10 to-transparent"></div>
<div class="absolute top-2.5 left-2.5 bg-black/50 backdrop-blur-md text-white text-[9px] font-bold px-2 py-1 rounded-lg flex items-center gap-1 border border-white/10"> <div class="absolute top-2.5 left-2.5 bg-black/50 backdrop-blur-md text-white text-[9px] font-bold px-2 py-1 rounded-lg flex items-center gap-1 border border-white/10">
<i class="ph-fill ph-play text-rose-500 text-xs"></i> Short <i class="ph-fill ph-play text-rose-500 text-xs"></i> Short
@@ -2884,7 +2851,7 @@
} }
reel.innerHTML = ` reel.innerHTML = `
<video class="absolute inset-0 w-full h-full object-cover opacity-85 pointer-events-none" loop muted playsinline autoplay src="${runner.shortVideo}" poster="${runner.jobImage}"></video> <video class="absolute inset-0 w-full h-full object-cover opacity-85 pointer-events-none" loop muted playsinline autoplay preload="metadata" src="${runner.shortVideo}" poster="${runner.jobImage}"></video>
<!-- Gradient positionné plus bas pour mieux voir la vidéo --> <!-- Gradient positionné plus bas pour mieux voir la vidéo -->
<div class="absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent pointer-events-none"></div> <div class="absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent pointer-events-none"></div>
@@ -2893,7 +2860,7 @@
<div class="absolute bottom-20 md:bottom-5 left-4 right-16 z-10 text-white"> <div class="absolute bottom-20 md:bottom-5 left-4 right-16 z-10 text-white">
<div class="flex items-center gap-2 mb-2 bg-white/10 backdrop-blur-md w-max px-3 py-1 rounded-full border border-white/20"> <div class="flex items-center gap-2 mb-2 bg-white/10 backdrop-blur-md w-max px-3 py-1 rounded-full border border-white/20">
<img src="${runner.avatar}" class="w-5 h-5 rounded-full object-cover"> <img loading="lazy" decoding="async" src="${runner.avatar}" class="w-5 h-5 rounded-full object-cover">
<span class="font-bold text-xs">${runner.name}</span> <span class="font-bold text-xs">${runner.name}</span>
${badgeHtml} ${badgeHtml}
</div> </div>
@@ -3429,7 +3396,7 @@
triggerCustomModal(`Vidéo "${vid.label}" sélectionnée pour le Short`, "check"); triggerCustomModal(`Vidéo "${vid.label}" sélectionnée pour le Short`, "check");
}; };
btn.innerHTML = ` btn.innerHTML = `
<img src="${vid.poster}" class="w-full h-full object-cover"> <img loading="lazy" decoding="async" src="${vid.poster}" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-black/40 flex items-center justify-center text-white"> <div class="absolute inset-0 bg-black/40 flex items-center justify-center text-white">
<i class="ph-fill ph-play-circle text-xl"></i> <i class="ph-fill ph-play-circle text-xl"></i>
</div> </div>
@@ -4104,7 +4071,7 @@
card.innerHTML = ` card.innerHTML = `
<div class="relative shrink-0"> <div class="relative shrink-0">
<img src="${conv.avatar}" class="w-11 h-11 rounded-full object-cover border border-job-gray" alt="${conv.name}"> <img loading="lazy" decoding="async" src="${conv.avatar}" class="w-11 h-11 rounded-full object-cover border border-job-gray" alt="${conv.name}">
<span class="absolute bottom-0 right-0 w-3 h-3 bg-emerald-500 border-2 border-white rounded-full"></span> <span class="absolute bottom-0 right-0 w-3 h-3 bg-emerald-500 border-2 border-white rounded-full"></span>
</div> </div>
<div class="flex-grow min-w-0 pr-1"> <div class="flex-grow min-w-0 pr-1">
@@ -4572,7 +4539,7 @@
item.innerHTML = ` item.innerHTML = `
<div class="relative shrink-0"> <div class="relative shrink-0">
<img src="${conv.avatar}" class="w-11 h-11 rounded-full object-cover border border-job-gray shadow-xs" alt="${conv.name}"> <img loading="lazy" decoding="async" src="${conv.avatar}" class="w-11 h-11 rounded-full object-cover border border-job-gray shadow-xs" alt="${conv.name}">
<span class="absolute bottom-0 right-0 w-3 h-3 bg-emerald-500 border-2 border-white rounded-full"></span> <span class="absolute bottom-0 right-0 w-3 h-3 bg-emerald-500 border-2 border-white rounded-full"></span>
</div> </div>
<div class="flex-grow min-w-0 pr-1"> <div class="flex-grow min-w-0 pr-1">
@@ -4646,7 +4613,7 @@
</div> </div>
<div class="rounded-2xl overflow-hidden border border-job-gray shadow-xs mb-3.5 group cursor-pointer bg-white shrink-0" onclick="openProfile(${runner.id})"> <div class="rounded-2xl overflow-hidden border border-job-gray shadow-xs mb-3.5 group cursor-pointer bg-white shrink-0" onclick="openProfile(${runner.id})">
<div class="relative aspect-video w-full overflow-hidden bg-job-bg"> <div class="relative aspect-video w-full overflow-hidden bg-job-bg">
<img src="${runner.jobImage}" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" alt="${runner.title}"> <img loading="lazy" decoding="async" src="${runner.jobImage}" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" alt="${runner.title}">
<span class="absolute top-2.5 left-2.5 bg-white/95 backdrop-blur-md text-job-dark text-[10px] font-bold px-2 py-0.5 rounded-full flex items-center gap-1 shadow-xs"> <span class="absolute top-2.5 left-2.5 bg-white/95 backdrop-blur-md text-job-dark text-[10px] font-bold px-2 py-0.5 rounded-full flex items-center gap-1 shadow-xs">
<i class="ph-fill ph-tag text-job-sage"></i> ${runner.categoryName} <i class="ph-fill ph-tag text-job-sage"></i> ${runner.categoryName}
</span> </span>
@@ -4715,7 +4682,7 @@
if (att.type === 'photo') { if (att.type === 'photo') {
return ` return `
<div class="${bgClass} rounded-2xl ${isMe ? 'rounded-tr-sm' : 'rounded-tl-sm'} p-2 max-w-[78%] shadow-xs"> <div class="${bgClass} rounded-2xl ${isMe ? 'rounded-tr-sm' : 'rounded-tl-sm'} p-2 max-w-[78%] shadow-xs">
<img src="${att.url}" class="rounded-xl w-full max-h-48 object-cover mb-1.5 shadow-xs" alt="Photo jointe"> <img loading="lazy" decoding="async" src="${att.url}" class="rounded-xl w-full max-h-48 object-cover mb-1.5 shadow-xs" alt="Photo jointe">
<p class="text-[11px] font-semibold px-1 ${isMe ? 'text-white/90' : 'text-gray-600'}">${att.caption || 'Photo jointe'}</p> <p class="text-[11px] font-semibold px-1 ${isMe ? 'text-white/90' : 'text-gray-600'}">${att.caption || 'Photo jointe'}</p>
</div>`; </div>`;
} else if (att.type === 'link') { } else if (att.type === 'link') {
@@ -5852,7 +5819,7 @@
<div class="bg-white rounded-3xl p-4 shadow-card border border-job-gray/80 flex flex-col gap-2.5"> <div class="bg-white rounded-3xl p-4 shadow-card border border-job-gray/80 flex flex-col gap-2.5">
<div class="flex justify-between items-start"> <div class="flex justify-between items-start">
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<img src="${tx.partyAvatar}" class="w-10 h-10 rounded-full object-cover border border-job-gray"> <img loading="lazy" decoding="async" src="${tx.partyAvatar}" class="w-10 h-10 rounded-full object-cover border border-job-gray">
<div> <div>
<h3 class="font-bold text-xs text-job-dark leading-tight">${tx.title}</h3> <h3 class="font-bold text-xs text-job-dark leading-tight">${tx.title}</h3>
<span class="text-[10px] text-gray-500">${isPaid ? 'Prestataire :' : 'Client :'} <strong>${tx.partyName}</strong> • ${tx.date}</span> <span class="text-[10px] text-gray-500">${isPaid ? 'Prestataire :' : 'Client :'} <strong>${tx.partyName}</strong> • ${tx.date}</span>
@@ -6460,7 +6427,7 @@
<!-- 1. Colonne : Présentation & Mission --> <!-- 1. Colonne : Présentation & Mission -->
<div class="space-y-2.5"> <div class="space-y-2.5">
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<img src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-8 h-8 rounded-lg object-contain object-center shadow-sm select-none shrink-0" onerror="handleLogoError(this, 'sage')"> <img loading="lazy" decoding="async" src="./logo.jpg?v=4" alt="Logo Jobrunner" class="w-8 h-8 rounded-lg object-contain object-center shadow-sm select-none shrink-0" onerror="handleLogoError(this, 'sage')">
<span class="font-chillax text-xl font-black tracking-tight text-white">Job<span class="text-job-sage">runner</span></span> <span class="font-chillax text-xl font-black tracking-tight text-white">Job<span class="text-job-sage">runner</span></span>
</div> </div>
<p class="text-[11px] text-gray-400 leading-relaxed"> <p class="text-[11px] text-gray-400 leading-relaxed">
+1013
Voir le fichier
Diff désactivé car ce fichier est trop long. Voir la Diff
+11
Voir le fichier
@@ -0,0 +1,11 @@
{
"name": "jobrunner",
"private": true,
"description": "Jobrunner — site statique. Le CSS Tailwind est généré en amont (build), jamais à l'exécution.",
"scripts": {
"build:css": "tailwindcss -c tailwind.config.js -i assets/css/tailwind.src.css -o assets/css/app.css --minify"
},
"devDependencies": {
"tailwindcss": "3.4.19"
}
}
+29
Voir le fichier
@@ -0,0 +1,29 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html'],
theme: {
extend: {
fontFamily: {
sans: ['Chillax', 'Plus Jakarta Sans', 'system-ui', 'sans-serif'],
body: ['Plus Jakarta Sans', 'sans-serif'],
},
colors: {
'job-bg': '#F4F2EC',
'job-sage': '#7A8E76',
'job-sage-dark': '#586B54',
'job-sage-light': '#E7ECE5',
'job-dark': '#1F221E',
'job-gray': '#E5E4DC',
'job-gold': '#D4AF37',
},
boxShadow: {
'soft': '0 8px 30px rgba(0,0,0,0.04)',
'card': '0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02)',
'elevated': '0 20px 35px -10px rgba(31, 34, 30, 0.12)',
'nav': '0 -10px 30px rgba(0,0,0,0.05)',
'floating': '0 15px 35px rgba(122, 142, 118, 0.35)',
},
},
},
plugins: [],
};