{"id":1663,"date":"2020-03-26T11:21:28","date_gmt":"2020-03-26T10:21:28","guid":{"rendered":"https:\/\/www.heroicaslavica.sk\/news-2\/"},"modified":"2025-09-28T15:48:30","modified_gmt":"2025-09-28T13:48:30","slug":"news-2","status":"publish","type":"page","link":"https:\/\/www.heroicaslavica.sk\/en\/","title":{"rendered":"News"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1663\" class=\"elementor elementor-1663 elementor-1528\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8178bf7 e-flex e-con-boxed e-con e-parent\" data-id=\"8178bf7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3da9cdd elementor-headline--style-highlight elementor-widget elementor-widget-animated-headline\" data-id=\"3da9cdd\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;marker&quot;:&quot;double_underline&quot;,&quot;highlighted_text&quot;:&quot;Heroica Slavica&quot;,&quot;headline_style&quot;:&quot;highlight&quot;,&quot;loop&quot;:&quot;yes&quot;,&quot;highlight_animation_duration&quot;:1200,&quot;highlight_iteration_delay&quot;:8000}\" data-widget_type=\"animated-headline.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h3 class=\"elementor-headline\">\n\t\t\t\t\t<span class=\"elementor-headline-plain-text elementor-headline-text-wrapper\">News from <\/span>\n\t\t\t\t<span class=\"elementor-headline-dynamic-wrapper elementor-headline-text-wrapper\">\n\t\t\t\t\t<span class=\"elementor-headline-dynamic-text elementor-headline-text-active\">Heroica Slavica<\/span>\n\t\t\t\t<\/span>\n\t\t\t\t<\/h3>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-74aea47 elementor-hidden-desktop elementor-hidden-tablet elementor-hidden-mobile elementor-widget elementor-widget-html\" data-id=\"74aea47\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\r\n  #snow-canvas {\r\n    position: fixed;\r\n    top: 0;\r\n    left: 0;\r\n    width: 100vw;\r\n    height: 100vh;\r\n    pointer-events: none;\r\n    z-index: 9999;\r\n  }\r\n<\/style><br><br><canvas id=\"snow-canvas\"><\/canvas><br><br><script>\r\n  document.addEventListener(\"DOMContentLoaded\", function () {\r\n    const canvas = document.getElementById(\"snow-canvas\");\r\n    const ctx = canvas.getContext(\"2d\");\r\n\r\n    \/\/ Set canvas to cover the entire page\r\n    function setCanvasSize() {\r\n      canvas.width = window.innerWidth;\r\n      canvas.height = window.innerHeight;\r\n    }\r\n    setCanvasSize();\r\n    window.addEventListener(\"resize\", setCanvasSize);\r\n\r\n    const snowflakes = [];\r\n    const snowflakeShapes = [\"\u2744\", \"\u2736\", \"\u273b\", \"\u273c\", \"\u273a\"]; \/\/ Snowflake symbols\r\n\r\n    function createSnowflakes() {\r\n      const total = 140; \/\/ Adjust the number of snowflakes\r\n      for (let i = 0; i < total; i++) {\r\n        snowflakes.push({\r\n          x: Math.random() * canvas.width,\r\n          y: Math.random() * canvas.height,\r\n          size: Math.random() * 24 + 8, \/\/ Snowflake size\r\n          speed: Math.random() * 1 + 0.5, \/\/ Snowflake speed\r\n          shape: snowflakeShapes[Math.floor(Math.random() * snowflakeShapes.length)],\r\n          opacity: Math.random() * 0.8 + 0.2,\r\n        });\r\n      }\r\n    }\r\n\r\n    function drawSnowflakes() {\r\n      ctx.clearRect(0, 0, canvas.width, canvas.height);\r\n      snowflakes.forEach((flake) => {\r\n        ctx.globalAlpha = flake.opacity;\r\n        ctx.font = `${flake.size}px Arial`;\r\n        ctx.fillStyle = \"white\";\r\n        ctx.fillText(flake.shape, flake.x, flake.y);\r\n      });\r\n      updateSnowflakes();\r\n    }\r\n\r\n    function updateSnowflakes() {\r\n      snowflakes.forEach((flake) => {\r\n        flake.y += flake.speed;\r\n        if (flake.y > canvas.height) {\r\n          flake.y = 0;\r\n          flake.x = Math.random() * canvas.width;\r\n        }\r\n      });\r\n    }\r\n\r\n    function animateSnowflakes() {\r\n      drawSnowflakes();\r\n      requestAnimationFrame(animateSnowflakes);\r\n    }\r\n\r\n    createSnowflakes();\r\n    animateSnowflakes();\r\n  });\r\n<\/script><br><br>\t\t\t\t<\/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-f85cb6e e-flex e-con-boxed e-con e-parent\" data-id=\"f85cb6e\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>News from Heroica Slavica<\/p>\n","protected":false},"author":1,"featured_media":1365,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"iawp_total_views":346,"footnotes":""},"class_list":["post-1663","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/pages\/1663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/comments?post=1663"}],"version-history":[{"count":0,"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/pages\/1663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/media\/1365"}],"wp:attachment":[{"href":"https:\/\/www.heroicaslavica.sk\/en\/wp-json\/wp\/v2\/media?parent=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}