+
+
+
+
-
-
-
+ ?>
+
{
+ const pinTop = $pin.offset().top;
+ const pinH = $pin.outerHeight();
+ const endBottom = $end.offset().top + $end.outerHeight();
+ return "+=" + Math.max(0, endBottom - pinTop - pinH);
+ },
+ scrub: 0.5,
+ anticipatePin: 1,
+ invalidateOnRefresh: true,
+ pinSpacing: true,
+ pinReparent: true
+ });
+ }
+
+ $(window).on('load', initSticky);
+
+ $(window).on('resize orientationchange', () => ScrollTrigger.refresh());
+ }
+});
+
+jQuery(function ($) {
+ if (!$('body').hasClass('page-id-47')) return;
+
+ const $body = $('body');
+
+ $body.on('click', '.tile .tile--wrapper .tile--btn', function (e) {
+ e.preventDefault();
+ $body.addClass('no-scroll');
+
+ const $tile = $(this).closest('.tile');
+ const $sidebar = $tile.find('.tile-sidebar');
+
+ $('.tile').not($tile).removeClass('active')
+ .find('.tile-sidebar').fadeOut(200);
+
+ $sidebar.fadeToggle(200);
+ $tile.toggleClass('active');
+ });
+
+ $body.on('click', '.tile .tile-sidebar .tile--btn, .tile .tile-sidebar-bg', function (e) {
+ e.preventDefault();
+ $body.removeClass('no-scroll');
+ $(this).closest('.tile-sidebar').fadeOut(200)
+ .closest('.tile').removeClass('active');
+ });
+});
diff --git a/wp-content/themes/brpp-prawo-podatki/page-47.php b/wp-content/themes/brpp-prawo-podatki/page-47.php
new file mode 100644
index 0000000..45a187c
--- /dev/null
+++ b/wp-content/themes/brpp-prawo-podatki/page-47.php
@@ -0,0 +1,89 @@
+
+