<?php

/**
* WPBakery Page Builder Stockie Team Member shortcode view
*/

?>
<div class="stockie-team-member-sc team-member<?php echo $css_class; ?>"
	id="<?php echo esc_attr( $team_member_uniqid ); ?>"
	<?php if ( $appearance_effect != 'none' ) { echo ' data-aos="' . esc_attr( $appearance_effect ) . '"'; } ?>
	<?php if ( $appearance_duration ) { echo ' data-aos-duration="' . esc_attr( $appearance_duration ) . '"'; } ?>>
	
	<div class="team-member_image image-wrap ">
		<?php if ( $photo ) : ?>
			<img src="<?php echo esc_url( $photo ); ?>" alt="<?php echo esc_attr( $name ); ?>">
		<?php endif; ?>
		<div class="wrap team-member_wrap">
			
			<?php if ( $block_type_layout == 'inner' ) : ?>
				<p class="team-member_description"><?php echo $description; ?></p>
			<?php endif; ?>

			<div class="socialbar small">

				<?php if ( $artstation_link ) : ?>
					<a href="<?php echo $artstation_link; ?>" target="_blank" rel="nofollow" class="artstation">
						<i class="icon fa-brands fa-artstation"></i>
					</a>
				<?php endif; ?>

				<?php if ( $behance_link ) : ?>
					<a href="<?php echo $behance_link; ?>" target="_blank" rel="nofollow" class="behance">
						<i class="icon fa-brands fa-behance"></i>
					</a>
				<?php endif; ?>

				<?php if ( $deviantart_link ) : ?>
					<a href="<?php echo $deviantart_link; ?>" target="_blank" rel="nofollow" class="deviantart">
						<i class="icon fa-brands fa-deviantart"></i>
					</a>
				<?php endif; ?>

				<?php if ( $digg_link ) : ?>
					<a href="<?php echo $digg_link; ?>" target="_blank" rel="nofollow" class="digg">
						<i class="icon fa-brands fa-digg"></i>
					</a>
				<?php endif; ?>

				<?php if ( $discord_link ) : ?>
					<a href="<?php echo $discord_link; ?>" target="_blank" rel="nofollow" class="discord">
						<i class="icon fa-brands fa-discord"></i>
					</a>
				<?php endif; ?>

				<?php if ( $dribbble_link ) : ?>
					<a href="<?php echo $dribbble_link; ?>" target="_blank" rel="nofollow" class="dribbble">
						<i class="icon fa-brands fa-dribbble"></i>
					</a>
				<?php endif; ?>

				<?php if ( $facebook_link ) : ?>
					<a href="<?php echo $facebook_link; ?>" target="_blank" rel="nofollow" class="facebook">
						<i class="icon fa-brands fa-facebook-f"></i>
					</a>
				<?php endif; ?>

				<?php if ( $flickr_link ) : ?>
					<a href="<?php echo $flickr_link; ?>" target="_blank" rel="nofollow" class="flickr">
						<i class="icon fa-brands fa-flickr"></i>
					</a>
				<?php endif; ?>

				<?php if ( $github_link ) : ?>
					<a href="<?php echo $github_link; ?>" target="_blank" rel="nofollow" class="github">
						<i class="icon fa-brands fa-github"></i>
					</a>
				<?php endif; ?>

				<?php if ( $houzz_link ) : ?>
					<a href="<?php echo $houzz_link; ?>" target="_blank" rel="nofollow" class="houzz">
						<i class="icon fa-brands fa-houzz"></i>
					</a>
				<?php endif; ?>

				<?php if ( $instagram_link ) : ?>
					<a href="<?php echo $instagram_link; ?>" target="_blank" rel="nofollow" class="instagram">
						<i class="icon fa-brands fa-instagram"></i>
					</a>
				<?php endif; ?>

				<?php if ( $kaggle_link ) : ?>
					<a href="<?php echo $kaggle_link; ?>" target="_blank" rel="nofollow" class="kaggle">
						<i class="icon fa-brands fa-kaggle"></i>
					</a>
				<?php endif; ?>

				<?php if ( $linkedin_link ) : ?>
					<a href="<?php echo $linkedin_link; ?>" target="_blank" rel="nofollow" class="linkedin">
						<i class="icon fa-brands fa-linkedin"></i>
					</a>
				<?php endif; ?>

				<?php if ( $medium_link ) : ?>
					<a href="<?php echo $medium_link; ?>" target="_blank" rel="nofollow" class="linkedin">
						<i class="icon fa-brands fa-medium-m"></i>
					</a>
				<?php endif; ?>

				<?php if ( $mixer_link ) : ?>
					<a href="<?php echo $mixer_link; ?>" target="_blank" rel="nofollow" class="mixer">
						<i class="icon fa-brands fa-mixer"></i>
					</a>
				<?php endif; ?>

				<?php if ( $pinterest_link ) : ?>
					<a href="<?php echo $pinterest_link; ?>" target="_blank" rel="nofollow" class="pinterest">
						<i class="icon fa-brands fa-pinterest"></i>
					</a>
				<?php endif; ?>

				<?php if ( $producthunt_link ) : ?>
					<a href="<?php echo $producthunt_link; ?>" target="_blank" rel="nofollow" class="producthunt">
						<i class="icon fa-brands fa-product-hunt"></i>
					</a>
				<?php endif; ?>

				<?php if ( $quora_link ) : ?>
					<a href="<?php echo $quora_link; ?>" target="_blank" rel="nofollow" class="quora">
						<i class="icon fa-brands fa-quora"></i>
					</a>
				<?php endif; ?>

				<?php if ( $reddit_link ) : ?>
					<a href="<?php echo $reddit_link; ?>" target="_blank" rel="nofollow" class="reddit">
						<i class="icon fa-brands fa-reddit"></i>
					</a>
				<?php endif; ?>

				<?php if ( $snapchat_link ) : ?>
					<a href="<?php echo $snapchat_link; ?>" target="_blank" rel="nofollow" class="snapchat">
						<i class="icon fa-brands fa-snapchat"></i>
					</a>
				<?php endif; ?>

				<?php if ( $soundcloud_link ) : ?>
					<a href="<?php echo $soundcloud_link; ?>" target="_blank" rel="nofollow" class="soundcloud">
						<i class="icon fa-brands fa-soundcloud"></i>
					</a>
				<?php endif; ?>

				<?php if ( $spotify_link ) : ?>
					<a href="<?php echo $spotify_link; ?>" target="_blank" rel="nofollow" class="spotify">
						<i class="icon fa-brands fa-spotify"></i>
					</a>
				<?php endif; ?>

				<?php if ( $teamspeak_link ) : ?>
					<a href="<?php echo $teamspeak_link; ?>" target="_blank" rel="nofollow" class="teamspeak">
						<i class="icon fa-brands fa-teamspeak"></i>
					</a>
				<?php endif; ?>

				<?php if ( $telegram_link ) : ?>
					<a href="<?php echo $telegram_link; ?>" target="_blank" rel="nofollow" class="telegram">
						<i class="icon fa-brands fa-telegram"></i>
					</a>
				<?php endif; ?>

				<?php if ( $threads_link ) : ?>
					<a href="<?php echo $threads_link; ?>" target="_blank" rel="nofollow" class="threads">
						<i class="icon fa-brands fa-threads"></i>
					</a>
				<?php endif; ?>

				<?php if ( $tiktok_link ) : ?>
					<a href="<?php echo $tiktok_link; ?>" target="_blank" rel="nofollow" class="tiktok">
						<i class="icon fa-brands fa-tiktok"></i>
					</a>
				<?php endif; ?>

				<?php if ( $tumblr_link ) : ?>
					<a href="<?php echo $tumblr_link; ?>" target="_blank" rel="nofollow" class="tumblr">
						<i class="icon fa-brands fa-tumblr"></i>
					</a>
				<?php endif; ?>

				<?php if ( $twitch_link ) : ?>
					<a href="<?php echo $twitch_link; ?>" target="_blank" rel="nofollow" class="twitch">
						<i class="icon fa-brands fa-twitch"></i>
					</a>
				<?php endif; ?>

				<?php if ( $twitter_link ) : ?>
					<a href="<?php echo $twitter_link; ?>" target="_blank" rel="nofollow" class="twitter">
						<i class="icon fa-brands fa-x-twitter"></i>
					</a>
				<?php endif; ?>

				<?php if ( $vimeo_link ) : ?>
					<a href="<?php echo $vimeo_link; ?>" target="_blank" rel="nofollow" class="vimeo">
						<i class="icon fa-brands fa-vimeo"></i>
					</a>
				<?php endif; ?>

				<?php if ( $vine_link ) : ?>
					<a href="<?php echo $vine_link; ?>" target="_blank" rel="nofollow" class="vine">
						<i class="icon fa-brands fa-vine"></i>
					</a>
				<?php endif; ?>

				<?php if ( $whatsapp_link ) : ?>
					<a href="<?php echo $whatsapp_link; ?>" target="_blank" rel="nofollow" class="whatsapp">
						<i class="icon fa-brands fa-whatsapp"></i>
					</a>
				<?php endif; ?>

				<?php if ( $xing_link ) : ?>
					<a href="<?php echo $xing_link; ?>" target="_blank" rel="nofollow" class="xing">
						<i class="icon fa-brands fa-xing"></i>
					</a>
				<?php endif; ?>

				<?php if ( $youtube_link ) : ?>
					<a href="<?php echo $youtube_link; ?>" target="_blank" rel="nofollow" class="youtube">
						<i class="icon fa-brands fa-youtube"></i>
					</a>
				<?php endif; ?>

				<?php if ( $fivehundred_link ) : ?>
					<a href="<?php echo $fivehundred_link; ?>" target="_blank" rel="nofollow" class="500px">
						<i class="icon fa-brands fa-500px"></i>
					</a>
				<?php endif; ?>

			</div>
		</div>
	</div>

	<p class="team-member_subtitle"><?php echo $position; ?></p>
	<h3 class="team-member_title"><?php echo $name; ?></h3>
	<?php if ( $block_type_layout != 'inner' ) : ?>
		<p class="team-member_description description"><?php echo $description; ?></p>
	<?php endif; ?>

</div>