TEST FIX
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2026-02-13 15:58:04 +01:00
parent 5d8b245b94
commit 4aa7e87c5a

View File

@ -80,7 +80,7 @@ function carhop_create_posttype()
'has_archive' => true,
'rewrite' => array('slug' => 'analyses-etudes'),
'show_in_rest' => true,
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(string: '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.513 2.69841H17.4805C17.2208 2.69841 16.9935 2.92064 16.9935 3.1746V14.9524C16.9935 15.4603 16.5714 15.873 16.0519 15.873H10.4026V15.0794C10.4026 14.8254 10.1753 14.6032 9.91558 14.6032H7.31818C7.18831 14.6032 7.05844 14.6667 6.96104 14.7302C6.86364 14.7937 6.83117 14.9524 6.83117 15.0794V15.873H4.91558C4.46104 15.873 4.07143 15.619 3.94156 15.1746C3.94156 14.9841 3.94156 14.7619 4.1039 14.6032C4.3961 14.3175 4.78571 14.1587 5.20779 14.1587H14.8506C15.7273 14.1587 16.4091 13.4603 16.4091 12.6349V2.06349C16.4091 0.920635 15.4675 0 14.2987 0H5.11039C3.94156 0 3 0.920635 3 2.06349V15.3651C3.22727 16.2222 4.00649 16.8571 4.94805 16.8254H6.86364V19.5238C6.86364 19.7143 6.99351 19.873 7.15584 19.9683C7.35065 20.0317 7.54545 19.9683 7.67532 19.873L8.64935 18.9841L9.62338 19.873C9.72078 19.9683 9.85065 20 9.94805 20H10.1429C10.3377 19.9365 10.4351 19.746 10.4351 19.5556V16.8571H16.0844C17.1558 16.8571 18 16.0317 18 14.9841V3.1746C18 2.92064 17.7727 2.69841 17.513 2.69841ZM10.1104 10.5079C10.1104 10.7619 9.88312 10.9841 9.62338 10.9841C9.36364 10.9841 9.13636 10.7619 9.13636 10.5079V5.77778C9.13636 5.52381 9.36364 5.30159 9.62338 5.30159C9.88312 5.30159 10.1104 5.52381 10.1104 5.77778V10.5079ZM9.59091 3.1746H9.62338C9.91558 3.1746 10.1429 3.36508 10.2403 3.61905C10.3377 3.87302 10.2403 4.15873 10.0779 4.34921C9.91558 4.53968 9.59091 4.60317 9.33117 4.47619C9.07143 4.38095 8.90909 4.12698 8.90909 3.84127C8.90909 3.55556 9.23377 3.1746 9.59091 3.1746Z" fill="#9BA2A9"/></svg>'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode('<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.513 2.69841H17.4805C17.2208 2.69841 16.9935 2.92064 16.9935 3.1746V14.9524C16.9935 15.4603 16.5714 15.873 16.0519 15.873H10.4026V15.0794C10.4026 14.8254 10.1753 14.6032 9.91558 14.6032H7.31818C7.18831 14.6032 7.05844 14.6667 6.96104 14.7302C6.86364 14.7937 6.83117 14.9524 6.83117 15.0794V15.873H4.91558C4.46104 15.873 4.07143 15.619 3.94156 15.1746C3.94156 14.9841 3.94156 14.7619 4.1039 14.6032C4.3961 14.3175 4.78571 14.1587 5.20779 14.1587H14.8506C15.7273 14.1587 16.4091 13.4603 16.4091 12.6349V2.06349C16.4091 0.920635 15.4675 0 14.2987 0H5.11039C3.94156 0 3 0.920635 3 2.06349V15.3651C3.22727 16.2222 4.00649 16.8571 4.94805 16.8254H6.86364V19.5238C6.86364 19.7143 6.99351 19.873 7.15584 19.9683C7.35065 20.0317 7.54545 19.9683 7.67532 19.873L8.64935 18.9841L9.62338 19.873C9.72078 19.9683 9.85065 20 9.94805 20H10.1429C10.3377 19.9365 10.4351 19.746 10.4351 19.5556V16.8571H16.0844C17.1558 16.8571 18 16.0317 18 14.9841V3.1746C18 2.92064 17.7727 2.69841 17.513 2.69841ZM10.1104 10.5079C10.1104 10.7619 9.88312 10.9841 9.62338 10.9841C9.36364 10.9841 9.13636 10.7619 9.13636 10.5079V5.77778C9.13636 5.52381 9.36364 5.30159 9.62338 5.30159C9.88312 5.30159 10.1104 5.52381 10.1104 5.77778V10.5079ZM9.59091 3.1746H9.62338C9.91558 3.1746 10.1429 3.36508 10.2403 3.61905C10.3377 3.87302 10.2403 4.15873 10.0779 4.34921C9.91558 4.53968 9.59091 4.60317 9.33117 4.47619C9.07143 4.38095 8.90909 4.12698 8.90909 3.84127C8.90909 3.55556 9.23377 3.1746 9.59091 3.1746Z" fill="#9BA2A9"/></svg>'),
'menu_position' => 4,
'supports' => array('title', 'custom-fields'),
'taxonomies' => array('type'),
@ -143,7 +143,7 @@ function carhop_create_posttype()
'public' => true,
'has_archive' => true,
'rewrite' => array('slug' => 'expositions'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(string: '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.25 3.92857H16.05L11.25 0.785714V0.714286C11.25 0.321429 10.9125 0 10.5 0C10.0875 0 9.75 0.321429 9.75 0.714286V0.785714L4.95 3.92857H3.75C3.3375 3.92857 3 4.25 3 4.64286V19.2857C3 19.6786 3.3375 20 3.75 20H17.25C17.6625 20 18 19.6786 18 19.2857V4.64286C18 4.25 17.6625 3.92857 17.25 3.92857ZM10.2 1.35714C10.3125 1.39286 10.3875 1.42857 10.5 1.42857C10.6125 1.42857 10.725 1.42857 10.8 1.35714L14.7 3.92857H6.3L10.2 1.35714ZM16.5 15.3571C14.1375 11.75 12.9375 11.1786 11.55 12.9286C11.4 13.1071 11.175 13.3571 10.875 13.6429C10.9875 13.9643 11.1 14.2857 11.25 14.6071C12 16.8929 12.9 17.3929 13.65 17.8214L13.8375 17.9286L14.925 18.5357H13.4625C12.6 18.0357 11.4375 17.5714 10.5375 14.8214C10.35 14.2857 10.2 13.8214 10.0125 13.4286C8.6625 10.2857 7.2 10.3571 6.225 11.1429C5.625 11.6429 5.0625 12.3929 4.5 13.2857V5.35714H16.5V15.3571ZM13.875 8.92857C14.5125 8.92857 15 8.46429 15 7.85714C15 7.25 14.5125 6.78571 13.875 6.78571C13.2375 6.78571 12.75 7.25 12.75 7.85714C12.75 8.46429 13.2375 8.92857 13.875 8.92857Z" fill="#9BA2A9"/></svg>'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode('<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.25 3.92857H16.05L11.25 0.785714V0.714286C11.25 0.321429 10.9125 0 10.5 0C10.0875 0 9.75 0.321429 9.75 0.714286V0.785714L4.95 3.92857H3.75C3.3375 3.92857 3 4.25 3 4.64286V19.2857C3 19.6786 3.3375 20 3.75 20H17.25C17.6625 20 18 19.6786 18 19.2857V4.64286C18 4.25 17.6625 3.92857 17.25 3.92857ZM10.2 1.35714C10.3125 1.39286 10.3875 1.42857 10.5 1.42857C10.6125 1.42857 10.725 1.42857 10.8 1.35714L14.7 3.92857H6.3L10.2 1.35714ZM16.5 15.3571C14.1375 11.75 12.9375 11.1786 11.55 12.9286C11.4 13.1071 11.175 13.3571 10.875 13.6429C10.9875 13.9643 11.1 14.2857 11.25 14.6071C12 16.8929 12.9 17.3929 13.65 17.8214L13.8375 17.9286L14.925 18.5357H13.4625C12.6 18.0357 11.4375 17.5714 10.5375 14.8214C10.35 14.2857 10.2 13.8214 10.0125 13.4286C8.6625 10.2857 7.2 10.3571 6.225 11.1429C5.625 11.6429 5.0625 12.3929 4.5 13.2857V5.35714H16.5V15.3571ZM13.875 8.92857C14.5125 8.92857 15 8.46429 15 7.85714C15 7.25 14.5125 6.78571 13.875 6.78571C13.2375 6.78571 12.75 7.25 12.75 7.85714C12.75 8.46429 13.2375 8.92857 13.875 8.92857Z" fill="#9BA2A9"/></svg>'),
'show_in_rest' => true,
'supports' => array('title', 'custom-fields', 'editor'),
'menu_position' => 4,
@ -161,7 +161,7 @@ function carhop_create_posttype()
'public' => true,
'has_archive' => true,
'rewrite' => array('slug' => 'outils-pedagogiques'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(string: '<svg width="20" height="20" viewBox="0 0 20 20" fill="#9BA2A9" xmlns="http://www.w3.org/2000/svg"><path d="M19.7648 5.22804L14.0012 11.0178L17.2518 14.9264V14.9352H17.2606L18.7667 16.7631C19.1642 17.2422 19.1377 17.921 18.7137 18.276L16.9117 19.78C16.7218 19.9441 16.4701 20.0151 16.2007 19.9973C15.9048 19.9707 15.6221 19.8154 15.4189 19.5714L13.9217 17.7613C13.9129 17.7524 13.9041 17.7524 13.8952 17.7436C13.8864 17.7347 13.8864 17.7258 13.8864 17.717L10.8964 14.1322L5.7511 19.3052C5.4287 19.6291 4.91196 19.6291 4.58955 19.3052L1.24181 15.9468C0.919398 15.6229 0.919398 15.1038 1.24181 14.78L6.79783 9.18989L2.84501 4.42059C2.80085 4.36735 2.77435 4.30524 2.75668 4.24756L2.74785 4.23869L1.95729 0.529729C1.92195 0.37445 1.98379 0.20586 2.10303 0.103819C2.18253 0.0417075 2.27528 0.00621582 2.38128 0.00621582C2.48727 0.00621582 2.49611 0.0150884 2.54469 0.0417077L6.01168 1.48803H6.02051C6.08235 1.51465 6.13534 1.55901 6.18393 1.60781L9.89383 6.07543L15.2511 0.702755C15.4057 0.538602 15.6221 0.458744 15.8297 0.458744C16.0373 0.458744 16.2448 0.538602 16.4082 0.702755L19.7516 4.06123C20.074 4.3851 20.074 4.90417 19.7516 5.22804H19.7648ZM16.0902 19.0213C16.1432 19.0834 16.2183 19.1367 16.3597 19.1189L18.1616 17.6149C18.1969 17.5883 18.2058 17.4508 18.0998 17.3265L16.8676 15.827L14.8404 17.5262L16.0902 19.0257V19.0213ZM2.98634 1.16416L3.4545 3.34251L5.03121 2.02041L2.98634 1.16859V1.16416ZM15.865 1.31056L14.0277 3.15617L14.7476 3.8882C14.9199 4.06123 14.9199 4.33186 14.7476 4.50488C14.5842 4.67791 14.306 4.67791 14.1426 4.50488L13.4138 3.77285L12.8088 4.37179L13.5375 5.11269C13.7097 5.27684 13.7097 5.55635 13.5375 5.7205C13.3741 5.89353 13.0958 5.89353 12.9324 5.7205L12.1949 4.98847L11.5986 5.5874L12.3273 6.32831C12.4996 6.49246 12.4996 6.77196 12.3273 6.93612C12.1639 7.10914 11.8857 7.10914 11.7134 6.93612L10.9847 6.20409L10.3796 6.80302L11.1172 7.54393C11.2806 7.70808 11.2806 7.98758 11.1172 8.16061C10.945 8.32476 10.6756 8.32476 10.5033 8.16061L9.76575 7.4197L9.16068 8.01864L9.90708 8.75954C10.0705 8.93257 10.0705 9.2032 9.90708 9.37622C9.73483 9.54038 9.45659 9.54038 9.29318 9.37622L8.55561 8.63532L7.96821 9.21207C7.99471 9.24756 8.01238 9.27418 8.02121 9.30968L8.68811 9.9796C8.86036 10.1526 8.86036 10.4321 8.68811 10.5963C8.5247 10.7693 8.24645 10.7693 8.08304 10.5963L7.33665 9.8465L6.73158 10.4543L7.47798 11.2041C7.65022 11.3682 7.65022 11.6477 7.47798 11.8119C7.31456 11.9849 7.03632 11.9849 6.87291 11.8119L6.12651 11.0621L5.52144 11.6699L6.26784 12.4197C6.44009 12.5839 6.44009 12.8634 6.26784 13.0275C6.09559 13.2005 5.82619 13.2005 5.65394 13.0275L4.90754 12.2777L4.30248 12.8855L5.05771 13.6353C5.22112 13.7995 5.22112 14.079 5.05771 14.252C4.88546 14.4162 4.61605 14.4162 4.44381 14.252L3.69741 13.4933L3.09234 14.0923L3.84757 14.8509C4.01098 15.024 4.01098 15.2946 3.84757 15.4676C3.67533 15.6318 3.39708 15.6318 3.23367 15.4676L2.47844 14.709L1.88221 15.299L5.1372 18.6886L13.0914 10.6983L19.1509 4.68235L15.865 1.315V1.31056ZM17.0266 3.45342C17.3136 3.75067 17.3136 4.22095 17.0266 4.50488C16.7395 4.78882 16.2625 4.80213 15.971 4.50488C15.6795 4.20764 15.6839 3.74623 15.971 3.45342C16.2669 3.15617 16.7351 3.15617 17.0266 3.45342Z" fill="#9BA2A9"/></svg>'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode('<svg width="20" height="20" viewBox="0 0 20 20" fill="#9BA2A9" xmlns="http://www.w3.org/2000/svg"><path d="M19.7648 5.22804L14.0012 11.0178L17.2518 14.9264V14.9352H17.2606L18.7667 16.7631C19.1642 17.2422 19.1377 17.921 18.7137 18.276L16.9117 19.78C16.7218 19.9441 16.4701 20.0151 16.2007 19.9973C15.9048 19.9707 15.6221 19.8154 15.4189 19.5714L13.9217 17.7613C13.9129 17.7524 13.9041 17.7524 13.8952 17.7436C13.8864 17.7347 13.8864 17.7258 13.8864 17.717L10.8964 14.1322L5.7511 19.3052C5.4287 19.6291 4.91196 19.6291 4.58955 19.3052L1.24181 15.9468C0.919398 15.6229 0.919398 15.1038 1.24181 14.78L6.79783 9.18989L2.84501 4.42059C2.80085 4.36735 2.77435 4.30524 2.75668 4.24756L2.74785 4.23869L1.95729 0.529729C1.92195 0.37445 1.98379 0.20586 2.10303 0.103819C2.18253 0.0417075 2.27528 0.00621582 2.38128 0.00621582C2.48727 0.00621582 2.49611 0.0150884 2.54469 0.0417077L6.01168 1.48803H6.02051C6.08235 1.51465 6.13534 1.55901 6.18393 1.60781L9.89383 6.07543L15.2511 0.702755C15.4057 0.538602 15.6221 0.458744 15.8297 0.458744C16.0373 0.458744 16.2448 0.538602 16.4082 0.702755L19.7516 4.06123C20.074 4.3851 20.074 4.90417 19.7516 5.22804H19.7648ZM16.0902 19.0213C16.1432 19.0834 16.2183 19.1367 16.3597 19.1189L18.1616 17.6149C18.1969 17.5883 18.2058 17.4508 18.0998 17.3265L16.8676 15.827L14.8404 17.5262L16.0902 19.0257V19.0213ZM2.98634 1.16416L3.4545 3.34251L5.03121 2.02041L2.98634 1.16859V1.16416ZM15.865 1.31056L14.0277 3.15617L14.7476 3.8882C14.9199 4.06123 14.9199 4.33186 14.7476 4.50488C14.5842 4.67791 14.306 4.67791 14.1426 4.50488L13.4138 3.77285L12.8088 4.37179L13.5375 5.11269C13.7097 5.27684 13.7097 5.55635 13.5375 5.7205C13.3741 5.89353 13.0958 5.89353 12.9324 5.7205L12.1949 4.98847L11.5986 5.5874L12.3273 6.32831C12.4996 6.49246 12.4996 6.77196 12.3273 6.93612C12.1639 7.10914 11.8857 7.10914 11.7134 6.93612L10.9847 6.20409L10.3796 6.80302L11.1172 7.54393C11.2806 7.70808 11.2806 7.98758 11.1172 8.16061C10.945 8.32476 10.6756 8.32476 10.5033 8.16061L9.76575 7.4197L9.16068 8.01864L9.90708 8.75954C10.0705 8.93257 10.0705 9.2032 9.90708 9.37622C9.73483 9.54038 9.45659 9.54038 9.29318 9.37622L8.55561 8.63532L7.96821 9.21207C7.99471 9.24756 8.01238 9.27418 8.02121 9.30968L8.68811 9.9796C8.86036 10.1526 8.86036 10.4321 8.68811 10.5963C8.5247 10.7693 8.24645 10.7693 8.08304 10.5963L7.33665 9.8465L6.73158 10.4543L7.47798 11.2041C7.65022 11.3682 7.65022 11.6477 7.47798 11.8119C7.31456 11.9849 7.03632 11.9849 6.87291 11.8119L6.12651 11.0621L5.52144 11.6699L6.26784 12.4197C6.44009 12.5839 6.44009 12.8634 6.26784 13.0275C6.09559 13.2005 5.82619 13.2005 5.65394 13.0275L4.90754 12.2777L4.30248 12.8855L5.05771 13.6353C5.22112 13.7995 5.22112 14.079 5.05771 14.252C4.88546 14.4162 4.61605 14.4162 4.44381 14.252L3.69741 13.4933L3.09234 14.0923L3.84757 14.8509C4.01098 15.024 4.01098 15.2946 3.84757 15.4676C3.67533 15.6318 3.39708 15.6318 3.23367 15.4676L2.47844 14.709L1.88221 15.299L5.1372 18.6886L13.0914 10.6983L19.1509 4.68235L15.865 1.315V1.31056ZM17.0266 3.45342C17.3136 3.75067 17.3136 4.22095 17.0266 4.50488C16.7395 4.78882 16.2625 4.80213 15.971 4.50488C15.6795 4.20764 15.6839 3.74623 15.971 3.45342C16.2669 3.15617 16.7351 3.15617 17.0266 3.45342Z" fill="#9BA2A9"/></svg>'),
'show_in_rest' => true,
'supports' => array('title', 'custom-fields', 'editor'),
'menu_position' => 4,