?AlkantarClanX12
| Current Path : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/footer/ |
| Current File : /home/rankinh/numerik/wp-content/themes/blackdsn/template-parts/footer/footer-svg.php |
<?php
/**
* @var $shortcode \DesignGrid\DsnDocElementor
*/
$shortcode = blackdsn_get_option_array( $args, 'shortcode' );
if ( ! $shortcode || ! $shortcode->getVal( 'motion_effect_footer' ) || ! $shortcode->getVal( 'motion_effect_svg' ) )
return;
$widget = $shortcode->getWidgetBase();
$widget->add_render_attribute( 'svg', 'class', [
'dsn-separator dsn-separator-up',
$shortcode->getVal( 'dsn_footer_bg_ver_svg', '' ),
$shortcode->getVal( 'dsn_footer_bg_svg', 'dsn-icon-theme-color' )
] );
?>
<svg <?php $widget->print_render_attribute_string( 'svg' ); ?>
width="100%" height="100%" viewBox="0 0 100 10" preserveAspectRatio="none">
<path class="path-anim separator__path" data-dsn-to="M 0 0 C 40 0 55 0 100 0 L 0 0 Z"
vector-effect="non-scaling-stroke" d="M 0 0 C 40 16 75 10 100 0 L 0 0 Z"></path>
</svg>