{"id":3121,"date":"2024-05-28T16:29:26","date_gmt":"2024-05-28T15:29:26","guid":{"rendered":"https:\/\/ecotec-polska.pl\/our-projects\/"},"modified":"2025-08-05T08:17:08","modified_gmt":"2025-08-05T07:17:08","slug":"our-projects","status":"publish","type":"page","link":"https:\/\/ecotec-polska.pl\/en\/our-projects\/","title":{"rendered":"Our Projects"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3121","page","type-page","status-publish","hentry"],"acf":[],"acfml_non_translatable_locations":null,"_wp_attached_file":null,"_wp_attachment_metadata":null,"wpml_media_processed":null,"_wp_attachment_image_alt":null,"_bricks_image_origin_url":null,"_wp_attachment_backup_sizes":null,"_pda_protection":null,"rank_math_exclude_sitemap":null,"_bricks_template_settings":null,"_bricks_page_header_2":null,"forminator_form_meta":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_wp_page_template":"","rank_math_robots":null,"_oembed_8328f3de3985f2fb1fbe6c63e0020480":null,"_oembed_time_8328f3de3985f2fb1fbe6c63e0020480":null,"_oembed_b0d3fe48ed9d7ce82c308cb19a36d1f6":null,"_oembed_time_b0d3fe48ed9d7ce82c308cb19a36d1f6":null,"_oembed_2a400887ee653654c774bb9619ce46a3":null,"_oembed_time_2a400887ee653654c774bb9619ce46a3":null,"_pingme":null,"_encloseme":null,"rank_math_og_content_image":null,"rank_math_description":null,"pozycja":null,"_pozycja":null,"miejsce_pracy":null,"_miejsce_pracy":null,"forma_zatrudnienia":null,"_forma_zatrudnienia":null,"wynagrodzenie":null,"_wynagrodzenie":null,"zakres_obowiazkow":null,"_zakres_obowiazkow":null,"wymagania":null,"_wymagania":null,"mile_widziane":null,"_mile_widziane":null,"oferujemy":null,"_oferujemy":null,"galeria":null,"_galeria":null,"_wp_trash_meta_status":null,"_wp_trash_meta_time":null,"_wp_desired_post_slug":null,"_edit_lock":"1754378282:4","_edit_last":null,"_wpml_word_count":"2","_top_nav_excluded":"","_cms_nav_minihome":"","_last_translation_edit_mode":"native-editor","rank_math_internal_links_processed":"1","_wpml_media_duplicate":null,"_wpml_media_featured":null,"_bricks_template_type":"content","_bricks_page_footer_2":null,"_bricks_editor_mode":"bricks","_wpml_location_migration_done":null,"_bricks_page_content_2":[{"id":"fmzffj","name":"section","parent":0,"children":["miwqce"],"settings":{"_width":"100%","_padding":{"left":"50","right":"50","top":"150","bottom":"50"},"_padding:mobile_portrait":{"top":"100","bottom":"20"}}},{"id":"urpxlk","name":"container","parent":"essqun","children":["xpgqha","sijamm","heznjp"],"settings":{"_padding":{"bottom":"50","top":"50"},"_width":"100%","_widthMax":"1320px","_padding:mobile_portrait":{"left":"5","right":"5"}}},{"id":"xpgqha","name":"code","parent":"urpxlk","children":[],"settings":{"executeCode":true,"signature":"ee06da82d4818e9de7d90664dbd15ae2","user_id":3,"time":1719555561,"code":"    <script>\nwindow.onload = function() {\n\tconsole.log('window ready');\n    const selectElements = document.querySelectorAll('select[data-filter=\"dropdown\"]');\n    \n    const updateBackgroundColor = (selectElement) => {\n        if (selectElement.value !== \"\") {\n            selectElement.style.backgroundColor = '#125ad3';\n        } else {\n            selectElement.style.backgroundColor = '#cccccc';\n        }\n    };\n\n\n    selectElements.forEach(function(selectElement) {\n        const selectedValue = selectElement.value;\n        updateBackgroundColor(selectElement);\n\n\n        selectElement.addEventListener('change', function() {\n            updateBackgroundColor(this);\n        });\n    });\n\n\n    const resetButton = document.querySelector('input[name=\"categories_filter_reset_btn\"]');\n    resetButton.addEventListener('click', function() {\n        selectElements.forEach(function(selectElement) {\n            selectElement.value = \"\"; \n            selectElement.style.backgroundColor = '#cccccc'; \n        });\n    });\n};\n\n\n\n    <\/script>\n\n"},"label":"Reset btn JS"},{"id":"sijamm","name":"shortcode","parent":"urpxlk","children":[],"settings":{"shortcode":"[put_wpgm id=4]"}},{"id":"heznjp","name":"code","parent":"urpxlk","children":[],"settings":{"executeCode":true,"noRoot":true,"parseDynamicData":true,"supressPhpErrors":true,"javascriptCode":"function addSpaceAfterComma(text) {\n    return text.split(\",\").join(\", \");\n}\n\nfunction processElements(elements) {\n    elements.forEach(element => {\n        if (element.textContent.includes(\",\")) {\n            element.textContent = addSpaceAfterComma(element.textContent);\n        }\n    });\n}\n\nfunction processEntireDOM() {\n    \/\/ Select all <p> and <span> elements across the entire document\n    const elements = document.querySelectorAll(\"p, span\");\n    processElements(elements);\n}\n\n\/\/ Process existing elements when the page loads\nwindow.addEventListener(\"load\", processEntireDOM);\n\n\/\/ Observe DOM changes and dynamically process new elements\nconst observer = new MutationObserver(mutations => {\n    mutations.forEach(mutation => {\n        mutation.addedNodes.forEach(node => {\n            if (node.nodeType === Node.ELEMENT_NODE) {\n                if (node.matches(\"p, span\")) {\n                    node.textContent = addSpaceAfterComma(node.textContent);\n                } else {\n                    const nestedElements = node.querySelectorAll(\"p, span\");\n                    processElements(nestedElements);\n                }\n            }\n        });\n    });\n});\n\n\/\/ Start observing changes to the DOM\nobserver.observe(document.body, { childList: true, subtree: true });"},"label":"spacja js"},{"id":"miwqce","name":"heading","parent":"fmzffj","children":[],"settings":{"text":"ECOTEC Group projects","tag":"h1","_typography":{"font-weight":"500","font-size":"28"},"_typography:mobile_portrait":{"font-weight":"400","font-size":"24"}}},{"id":"essqun","name":"section","parent":0,"children":["urpxlk"],"settings":{"_background":{"color":{"hex":"#003b49","id":"amcjzk","name":"Kolor #24"}},"_width:mobile_portrait":"100%","_cssCustom:mobile_portrait":"\n","_cssCustom":".fc-infowindow-default, .wpgmp_iw_content{\n\twidth:70vh;\n}"}},{"id":"hbgdhj","name":"section","parent":0,"children":["ukujoj","eewbir"],"settings":{"_padding":{"bottom":"80px"},"_width":"100%","_background":{"color":{"hex":"#ffffff","id":"elvrig","name":"Kolor #2"}},"_padding:mobile_portrait":{"left":"10","right":"10","top":"40px","bottom":"40px"},"_padding:mobile_landscape":{"left":"20","right":"20"},"_padding:tablet_portrait":{"left":"20px","right":"20px"}},"label":"Fotowoltaika, Geotechnika, Ogrodzenia"},{"id":"vvvpte","name":"code","parent":0,"children":[],"settings":{"code":"<script>\nwindow.addEventListener('load', function() {\n    \/\/ Get the select element\n    var select = document.querySelector('select[name=\"place_field_year\"]');\n\n    \/\/ Check if the select element exists\n    if (select) {\n        \/\/ Get the options as an array\n        var optionsArray = Array.from(select.options);\n\n        \/\/ Remove all options from the select element except the first one\n        while (select.options.length > 1) {\n            select.remove(1);\n        }\n\n        \/\/ Reverse the options array\n        optionsArray.reverse();\n\n        \/\/ Add the reversed options back to the select element\n        optionsArray.forEach(function(option) {\n            select.add(option);\n        });\n    } else {\n        console.error('Select element not found');\n    }\n});\n\n\n<\/script>","executeCode":true,"signature":"a88d23f459f96c59af7968cfd55dcce6","user_id":4,"time":1750252927},"label":"Rok JS","themeStyles":[]},{"id":"ukujoj","name":"container","parent":"hbgdhj","children":[],"settings":{"_width":"100%","_background":{"color":{"hex":"#003b49","id":"amcjzk","name":"Kolor #24"}},"_height":"300px"}},{"id":"eewbir","name":"container","parent":"hbgdhj","children":["ncxmgo","dkxlwy","wzejhe"],"settings":{"_direction":"row","_padding":{"left":"10px","right":"10px"},"_width":"100%","_display":"flex","_widthMax":"1320px","_direction:mobile_landscape":"column","_columnGap":"20px","_direction:mobile_portrait":"row","_background":{"color":{"hex":"#000000","rgb":"rgba(0, 0, 0, 0)","hsl":"hsla(0, 0%, 0%, 0)"}},"_margin":{"top":"-170"}}},{"id":"dkxlwy","name":"block","parent":"eewbir","children":["wvojaq"],"settings":{"_direction":"column","_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"_width:mobile_landscape":"100%","_heightMin":"326px","_heightMin:tablet_portrait":"230px","_background":{"videoUrl":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/06\/Wykopy.mp4"},"_margin":{"top":"10","bottom":"10"},"_heightMin:mobile_portrait":"300"},"label":"Geotechnika"},{"id":"wvojaq","name":"container","parent":"dkxlwy","children":["asnpsu","xgjbfi"],"settings":{"_padding":{"left":"20","right":"20","top":"28"},"_direction":"row","_width":"100%","_display":"flex","_justifyContent":"space-between","_alignItems":"center","_padding:mobile_portrait":{"left":"10","right":"10"}}},{"id":"asnpsu","name":"button","parent":"wvojaq","children":[],"settings":{"_padding":{"top":"14","bottom":"14","left":"18","right":"18"},"_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"link":{"type":"internal","postId":"240"},"text":"Geotechnics","_typography":{"font-size":"16px","line-height":"24px"}}},{"id":"xgjbfi","name":"button","parent":"wvojaq","children":[],"settings":{"_padding":{"right":"15","left":"15","top":"18","bottom":"18"},"_border":{"radius":{"top":"10000","right":"10000","bottom":"10000","left":"10000"}},"icon":{"library":"svg","svg":{"id":61,"filename":"Vector.svg","url":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/05\/Vector.svg"}},"link":{"type":"internal","postId":"240"}}},{"id":"ncxmgo","name":"block","parent":"eewbir","children":["pnxgax"],"settings":{"_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"_direction":"column","_width:mobile_landscape":"100%","_heightMin":"326px","_heightMin:tablet_portrait":"230px","_background":{"videoUrl":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/06\/Wykopy2.mp4"},"_margin":{"top":"10","bottom":"10"},"_heightMin:mobile_portrait":"300"},"label":"Fotowoltaika"},{"id":"pnxgax","name":"container","parent":"ncxmgo","children":["bnpbfw","wdudgf"],"settings":{"_direction":"row","_padding":{"top":"28","left":"20","right":"20"},"_width":"100%","_display":"flex","_justifyContent":"space-between","_alignItems":"center","_padding:mobile_portrait":{"left":"10","right":"10"}}},{"id":"bnpbfw","name":"button","parent":"pnxgax","children":[],"settings":{"_padding":{"top":"14","left":"18","right":"18","bottom":"14"},"_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"text":"Photovoltaics","_typography":{"font-size":"16px","line-height":"24px"},"link":{"type":"internal","postId":"206"}}},{"id":"wdudgf","name":"button","parent":"pnxgax","children":[],"settings":{"_padding":{"top":"18","bottom":"18","left":"15","right":"15"},"_border":{"radius":{"top":"10000","right":"10000","bottom":"10000","left":"10000"}},"link":{"type":"internal","postId":"206"},"icon":{"library":"svg","svg":{"id":61,"filename":"Vector.svg","url":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/05\/Vector.svg"}}}},{"id":"wzejhe","name":"block","parent":"eewbir","children":["yafqfc"],"settings":{"_direction":"column","_width:mobile_landscape":"100%","_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"_heightMin":"326px","_heightMin:tablet_portrait":"230px","_background":{"videoUrl":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/06\/ogrodzenia_final_6.mp4"},"_margin":{"top":"10","bottom":"10"},"_heightMin:mobile_portrait":"300"},"label":"Ogrodzenia"},{"id":"yafqfc","name":"container","parent":"wzejhe","children":["vswmst","bnithx"],"settings":{"_padding":{"left":"20","right":"20","top":"28"},"_direction":"row","_width":"100%","_display":"flex","_justifyContent":"space-between","_alignItems":"center","_padding:mobile_portrait":{"left":"10","right":"10"}}},{"id":"vswmst","name":"button","parent":"yafqfc","children":[],"settings":{"_padding":{"top":"14","bottom":"14","left":"18","right":"18"},"_border":{"radius":{"top":"6","right":"6","bottom":"6","left":"6"}},"link":{"type":"internal","postId":"266"},"text":"Fences","_typography":{"font-size":"16px","line-height":"24px"}}},{"id":"bnithx","name":"button","parent":"yafqfc","children":[],"settings":{"_border":{"radius":{"top":"10000","right":"10000","bottom":"10000","left":"10000"}},"_padding":{"top":"18","bottom":"18","left":"15","right":"15"},"icon":{"library":"svg","svg":{"id":61,"filename":"Vector.svg","url":"https:\/\/ecotec-polska.pl\/wp-content\/uploads\/2024\/05\/Vector.svg"}},"link":{"type":"internal","postId":"266"}}}],"_wp_old_slug":null,"rank_math_seo_score":"4","rank_math_contentai_score":null,"_wpgmp_location_address":null,"_wpgmp_location_city":null,"_wpgmp_location_state":null,"_wpgmp_location_country":null,"_wpgmp_metabox_latitude":null,"_wpgmp_metabox_longitude":null,"_wpgmp_metabox_location_redirect":null,"_wpgmp_metabox_custom_link":null,"_wpgmp_map_id":null,"_wpgmp_metabox_marker_id":null,"_wpgmp_metabox_taxomomies_terms":null,"_wpgmp_extensions_fields":null,"_wp_old_date":null,"rank_math_title":null,"_thumbnail_id":null,"rank_math_primary_category":null,"_wpml_post_translation_editor_native":null,"adres":null,"kraj":null,"klient":null,"szerokosc_geograficzna":null,"dlugosc_geograficzna":null,"zakres_prac":null,"rok":null,"typ":null,"moc":null,"status_projektu":null,"_adres":null,"_kraj":null,"_klient":null,"_szerokosc_geograficzna":null,"_dlugosc_geograficzna":null,"_zakres_prac":null,"_rok":null,"_typ":null,"_moc":null,"_status_projektu":null,"_links":{"self":[{"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/pages\/3121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/comments?post=3121"}],"version-history":[{"count":8,"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/pages\/3121\/revisions"}],"predecessor-version":[{"id":13268,"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/pages\/3121\/revisions\/13268"}],"wp:attachment":[{"href":"https:\/\/ecotec-polska.pl\/en\/wp-json\/wp\/v2\/media?parent=3121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}