{"id":14,"date":"2024-12-09T14:52:47","date_gmt":"2024-12-09T13:52:47","guid":{"rendered":"https:\/\/indie.rent\/catalogue\/panier\/"},"modified":"2026-05-06T10:53:15","modified_gmt":"2026-05-06T08:53:15","slug":"panier","status":"publish","type":"page","link":"https:\/\/indie.rent\/catalogue\/panier\/","title":{"rendered":"Panier"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"14\" class=\"elementor elementor-14\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6e1e529f e-flex e-con-boxed e-con e-parent\" data-id=\"6e1e529f\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-67784d8d elementor-widget elementor-widget-text-editor\" data-id=\"67784d8d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\"><p><\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-20ccbeb e-flex e-con-boxed e-con e-parent\" data-id=\"20ccbeb\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4b1ac90 elementor-widget elementor-widget-html\" data-id=\"4b1ac90\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<section class=\"indie-latest-posts\">\n  <div class=\"indie-posts-grid\" id=\"indie-latest-posts\"><\/div>\n<\/section>\n\n<style>\n  .indie-latest-posts {\n    width: 100%;\n  }\n\n  .indie-posts-grid {\n    display: flex;\n    justify-content: center;\n    gap: 22px;\n    align-items: flex-start;\n    flex-wrap: wrap;\n  }\n\n  .indie-post-card {\n    width: 210px;\n    text-align: center;\n  }\n\n  .indie-post-card a {\n    text-decoration: none;\n    color: inherit;\n    display: block;\n  }\n\n  .indie-post-inner {\n    width: 100%;\n    margin: 0 auto;\n  }\n\n  .indie-post-image {\n    width: 100%;\n    aspect-ratio: 16 \/ 9;\n    overflow: hidden;\n    border-radius: 10px;\n    margin: 0 0 24px 0;\n  }\n\n  .indie-post-image img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    display: block;\n  }\n\n  .indie-post-title {\n    font-size: 18px;\n    line-height: 1.15;\n    font-weight: 700;\n    color: #5f6368;\n    margin: 0;\n    overflow-wrap: break-word;\n    word-break: normal;\n  }\n\n  @media (max-width: 1024px) {\n    .indie-post-card {\n      width: 200px;\n    }\n\n    .indie-posts-grid {\n      gap: 20px;\n    }\n\n    .indie-post-title {\n      font-size: 17px;\n    }\n  }\n\n  @media (max-width: 767px) {\n    .indie-posts-grid {\n      gap: 30px;\n    }\n\n    .indie-post-card {\n      width: 75%;\n      max-width: 280px;\n    }\n  }\n<\/style>\n\n<script>\n  fetch('https:\/\/indie.rent\/wp-json\/wp\/v2\/posts?per_page=4&_embed')\n    .then(response => response.json())\n    .then(posts => {\n      const container = document.getElementById('indie-latest-posts');\n\n      posts.forEach(post => {\n        const image =\n          post._embedded &&\n          post._embedded['wp:featuredmedia'] &&\n          post._embedded['wp:featuredmedia'][0]\n            ? post._embedded['wp:featuredmedia'][0].source_url\n            : '';\n\n        const title = post.title.rendered;\n        const link = post.link;\n\n        container.innerHTML += `\n          <article class=\"indie-post-card\">\n            <a href=\"${link}\" target=\"_blank\" rel=\"noopener\">\n              <div class=\"indie-post-inner\">\n                <div class=\"indie-post-image\">\n                  ${image ? `<img decoding=\"async\" src=\"${image}\" alt=\"${title}\">` : ''}\n                <\/div>\n                <h3 class=\"indie-post-title\">${title}<\/h3>\n              <\/div>\n            <\/a>\n          <\/article>\n        `;\n      });\n    });\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-14","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/pages\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":3,"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/pages\/14\/revisions"}],"predecessor-version":[{"id":7377,"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/pages\/14\/revisions\/7377"}],"wp:attachment":[{"href":"https:\/\/indie.rent\/catalogue\/wp-json\/wp\/v2\/media?parent=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}