{"id":120006,"date":"2024-05-28T07:19:36","date_gmt":"2024-05-28T05:19:36","guid":{"rendered":"https:\/\/www.destinosalnes.com\/?page_id=120006"},"modified":"2024-05-28T07:20:37","modified_gmt":"2024-05-28T05:20:37","slug":"disponibilidad-de-plazas-en-los-parking","status":"publish","type":"page","link":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/","title":{"rendered":"Disponibilidad de plazas en los Parking"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"120006\" class=\"elementor elementor-120006\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fbf159e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fbf159e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-12cac2e\" data-id=\"12cac2e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5d3447d elementor-widget elementor-widget-html\" data-id=\"5d3447d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Disponibilidad de plazas en los Parking<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n            background-color: #012e40;\n            display: flex;\n            flex-direction: column;\n            align-items: center;\n            justify-content: center;\n            height: 100vh;\n            margin: 0;\n        }\n        .container {\n            width: 300px;\n            display: flex;\n            flex-direction: column;\n            align-items: center;\n            background-color: transparent; \/* Fondo trasparente *\/\n            border-radius: 8px;\n            padding: 10px;\n            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n        }\n        h1 {\n            margin-bottom: 10px;\n            font-size: 1.2em;\n            color: white;\n        }\n        .parking {\n            background-color: #4CAF50; \/* Verde *\/\n            color: white;\n            padding: 10px;\n            margin: 5px;\n            width: 100%;\n            text-align: center;\n            border-radius: 8px;\n            font-size: 0.8em;\n            transition: background-color 0.3s;\n            display: flex;\n            justify-content: space-between;\n            align-items: center;\n        }\n        .parking.orange {\n            background-color: orange;\n        }\n        .parking.red {\n            background-color: red;\n        }\n        .arrow {\n            width: 20px;\n            height: 20px;\n            fill: white;\n        }\n        .arrow-left {\n            transform: rotate(135deg);\n        }\n        .arrow-up {\n            transform: rotate(-45deg);\n        }\n        .arrow-down {\n            transform: rotate(90deg);\n        }\n        .arrow-right {\n            transform: rotate(45deg);\n        }\n        \n    <\/style>\n<\/head>\n<body>\n    <div class=\"container\">\n        <h1>Parking<\/h1>\n        <div class=\"parking\" id=\"praza-do-corgo\">\n            <span>Praza do Corgo: <span class=\"slots\">-<\/span><\/span>\n            <svg class=\"arrow arrow-up\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\">\n                <path d=\"M12 2L5 9h5v13h4V9h5z\"\/>\n            <\/svg>\n        <\/div>\n        <div class=\"parking\" id=\"o-grove\">\n            <span>O Grove: <span class=\"slots\">-<\/span><\/span>\n            <svg class=\"arrow arrow-left\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\">\n                <path d=\"M12 2L5 9h5v13h4V9h5z\"\/>\n            <\/svg>\n        <\/div>\n        <div class=\"parking\" id=\"a-lanzada\">\n            <span>A Lanzada: <span class=\"slots\">-<\/span><\/span>\n            <svg class=\"arrow arrow-right\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\">\n                <path d=\"M12 2L5 9h5v13h4V9h5z\"\/>\n            <\/svg>\n        <\/div>\n    <\/div>\n \n    <script>\n        function getRandomChange() {\n            return Math.floor(Math.random() * 3) - 2; \/\/ Genera movimiento de plazas random\n        }\n \n        function updateParkingStatus() {\n            const parkings = [\n                { id: 'praza-do-corgo', slots: 9 },\n                { id: 'o-grove', slots: 12 },\n                { id: 'a-lanzada', slots: 5 }\n            ];\n \n            parkings.forEach(parking => {\n                const element = document.getElementById(parking.id);\n                const slots = element.querySelector('.slots');\n                parking.slots = Math.max(0, parking.slots + getRandomChange());\n \n                if (parking.slots === 0) {\n                    slots.textContent = 'COMPLETO';\n                    element.className = 'parking red';\n                } else if (parking.slots <= 5) {\n                    slots.textContent = parking.slots + ' plazas';\n                    element.className = 'parking orange';\n                } else {\n                    slots.textContent = parking.slots + ' plazas';\n                    element.className = 'parking';\n                }\n            });\n        }\n \n        setInterval(updateParkingStatus, 5000); \/\/ Actualizar el contenido cada 5 segundos\n        updateParkingStatus(); \/\/ Actualizaci\u00f3n inicial\n    <\/script>\n<\/body>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Disponibilidad de plazas en los Parking Parking Praza do Corgo: &#8211; O Grove: &#8211; A Lanzada: &#8211;<\/p>\n","protected":false},"author":42,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-120006","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Disponibilidad de plazas en los Parking - Saln\u00e9s<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/\",\"url\":\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/\",\"name\":\"Disponibilidad de plazas en los Parking - Saln\u00e9s\",\"isPartOf\":{\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#website\"},\"datePublished\":\"2024-05-28T05:19:36+00:00\",\"dateModified\":\"2024-05-28T05:20:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Saln\u00e9s\",\"item\":\"https:\/\/www.destinosalnes.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disponibilidad de plazas en los Parking\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#website\",\"url\":\"https:\/\/www.destinosalnes.com\/es\/\",\"name\":\"Saln\u00e9s\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.destinosalnes.com\/es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#organization\",\"name\":\"Saln\u00e9s\",\"url\":\"https:\/\/www.destinosalnes.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Saln\u00e9s\"},\"image\":{\"@id\":\"https:\/\/www.destinosalnes.com\/es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/es-es.facebook.com\/mancomunidade.salnes\",\"https:\/\/x.com\/infosalnes\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disponibilidad de plazas en los Parking - Saln\u00e9s","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/","url":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/","name":"Disponibilidad de plazas en los Parking - Saln\u00e9s","isPartOf":{"@id":"https:\/\/www.destinosalnes.com\/es\/#website"},"datePublished":"2024-05-28T05:19:36+00:00","dateModified":"2024-05-28T05:20:37+00:00","breadcrumb":{"@id":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.destinosalnes.com\/es\/disponibilidad-de-plazas-en-los-parking\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Saln\u00e9s","item":"https:\/\/www.destinosalnes.com\/es\/"},{"@type":"ListItem","position":2,"name":"Disponibilidad de plazas en los Parking"}]},{"@type":"WebSite","@id":"https:\/\/www.destinosalnes.com\/es\/#website","url":"https:\/\/www.destinosalnes.com\/es\/","name":"Saln\u00e9s","description":"","publisher":{"@id":"https:\/\/www.destinosalnes.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.destinosalnes.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.destinosalnes.com\/es\/#organization","name":"Saln\u00e9s","url":"https:\/\/www.destinosalnes.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.destinosalnes.com\/es\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"Saln\u00e9s"},"image":{"@id":"https:\/\/www.destinosalnes.com\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/es-es.facebook.com\/mancomunidade.salnes","https:\/\/x.com\/infosalnes"]}]}},"_links":{"self":[{"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/pages\/120006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/comments?post=120006"}],"version-history":[{"count":5,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/pages\/120006\/revisions"}],"predecessor-version":[{"id":120011,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/pages\/120006\/revisions\/120011"}],"wp:attachment":[{"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/media?parent=120006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/categories?post=120006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.destinosalnes.com\/es\/wp-json\/wp\/v2\/tags?post=120006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}