first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
* Scroll Navigation template
*/
$settings = $this->get_settings();
$data_settings = $this->generate_setting_json();
$position = $settings['position'];
$hint_show_type = isset( $settings['hint_show_type'] ) ? $settings['hint_show_type'] : 'show-active-hint';
$classes_list[] = 'jet-scroll-navigation';
$classes_list[] = 'jet-scroll-navigation--position-' . $position;
$classes_list[] = 'jet-scroll-navigation--' . $hint_show_type;
$classes = implode( ' ', $classes_list );
?><div class="<?php echo $classes; ?>" <?php echo $data_settings; ?>><?php
$this->__get_global_looped_template( 'scroll-navigation', 'item_list' );
?></div>

View File

@@ -0,0 +1,5 @@
<?php
/**
* Scroll Navigation wrap end template
*/
?></div>

View File

@@ -0,0 +1,36 @@
<?php
/**
* Scroll Navigation item template
*/
$settings = $this->get_settings();
$hint_classes_array = array( 'jet-scroll-navigation__item-hint' );
if ( filter_var( $settings['desktop_hint_hide'], FILTER_VALIDATE_BOOLEAN ) ) {
$hint_classes_array[] = 'elementor-hidden-desktop';
}
if ( filter_var( $settings['tablet_hint_hide'], FILTER_VALIDATE_BOOLEAN ) ) {
$hint_classes_array[] = 'elementor-hidden-tablet';
}
if ( filter_var( $settings['mobile_hint_hide'], FILTER_VALIDATE_BOOLEAN ) ) {
$hint_classes_array[] = 'elementor-hidden-phone';
}
$hint_classes = implode( ' ', $hint_classes_array );
$section_id_attr = $this->__loop_item( array( 'item_section_id' ), 'data-anchor="%s"' );
$section_invert = $this->__loop_item( array( 'item_section_invert' ), 'data-invert="%s"' );
?><div class="jet-scroll-navigation__item" <?php echo $section_id_attr; ?> <?php echo $section_invert; ?>>
<div class="jet-scroll-navigation__dot"><?php
echo $this->__icon( 'item_dot_icon', '<span class="jet-elements-icon">%s</span>' ); ?>
</div>
<div class="<?php echo $hint_classes; ?>"><?php
echo $this->__icon( 'item_icon', '<span class="jet-scroll-navigation__icon jet-elements-icon">%s</span>' );
echo $this->__loop_item( array( 'item_label' ), '<span class="jet-scroll-navigation__label">%s</span>' );?>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<?php
/**
* Scroll Navigation start template
*/
?><div class="jet-scroll-navigation__inner">