From 9d4123cee1867ee7199b06bdc92d40611f547ecc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 14:54:07 -0500 Subject: Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/. --- .../assets/js/minified/customizer-preview.min.js | 1 + .../assets/js/unminified/customizer-preview.js | 15 ++++++ ...-astra-footer-social-icons-component-loader.php | 62 ++++++++++++++++++++++ .../class-astra-footer-social-icons-component.php | 45 ++++++++++++++++ .../footer/social-icon/dynamic-css/dynamic.css.php | 32 +++++++++++ 5 files changed, 155 insertions(+) create mode 100644 inc/builder/type/footer/social-icon/assets/js/minified/customizer-preview.min.js create mode 100644 inc/builder/type/footer/social-icon/assets/js/unminified/customizer-preview.js create mode 100644 inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component-loader.php create mode 100644 inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component.php create mode 100644 inc/builder/type/footer/social-icon/dynamic-css/dynamic.css.php (limited to 'inc/builder/type/footer/social-icon') diff --git a/inc/builder/type/footer/social-icon/assets/js/minified/customizer-preview.min.js b/inc/builder/type/footer/social-icon/assets/js/minified/customizer-preview.min.js new file mode 100644 index 0000000..8ca4a0a --- /dev/null +++ b/inc/builder/type/footer/social-icon/assets/js/minified/customizer-preview.min.js @@ -0,0 +1 @@ +jQuery,astra_builder_social_css("footer",astraBuilderFooterSocial.component_limit); \ No newline at end of file diff --git a/inc/builder/type/footer/social-icon/assets/js/unminified/customizer-preview.js b/inc/builder/type/footer/social-icon/assets/js/unminified/customizer-preview.js new file mode 100644 index 0000000..5658cac --- /dev/null +++ b/inc/builder/type/footer/social-icon/assets/js/unminified/customizer-preview.js @@ -0,0 +1,15 @@ +/** + * This file adds some LIVE to the Customizer live preview. To leverage + * this, set your custom settings to 'postMessage' and then add your handling + * here. Your javascript should grab settings from customizer controls, and + * then make any necessary changes to the page using jQuery. + * + * @package Astra + * @since 3.0.0 + */ + +( function( $ ) { + + astra_builder_social_css( 'footer', astraBuilderFooterSocial.component_limit ); + +} )( jQuery ); diff --git a/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component-loader.php b/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component-loader.php new file mode 100644 index 0000000..408692c --- /dev/null +++ b/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component-loader.php @@ -0,0 +1,62 @@ + astra_get_tablet_breakpoint(), + 'mobile_break_point' => astra_get_mobile_breakpoint(), + 'component_limit' => defined( 'ASTRA_EXT_VER' ) ? Astra_Builder_Helper::$component_limit : Astra_Builder_Helper::$num_of_footer_social_icons, + ) + ); + } +} + +/** +* Kicking this off by creating the object of the class. +*/ +new Astra_Footer_Social_Icons_Component_Loader(); diff --git a/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component.php b/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component.php new file mode 100644 index 0000000..4890d26 --- /dev/null +++ b/inc/builder/type/footer/social-icon/class-astra-footer-social-icons-component.php @@ -0,0 +1,45 @@ +