<?php
/*
 * Template name: Страница Скачать на пк
 */
?>

<?php get_header(); ?>

<section class="downloadpc-v2ray">
<div class="container">
	<h1 class="title-h1-v2ray"><?php the_field( 'zagolovok_pc' ); ?></h1>
	<p class="get-for-pc-txt"><?php the_field( 'tekst_pod_zagolovkom_pc' ); ?></p>
	<a href="#" class="nav-trigger get-telegram-btn scroll-fade-in">Установить</a>
	<div class="down-pc-b">
		<h3>Выберите платформу:</h3>
		<div class="down-windows-macos">
			<div class="pc-img">WIN</div>
			<div class="pc-txt">
				<h4>Windows</h4>
				<p>Windows 10/11 • 64-bit</p>
                <p>Версия 3.2.1 • 45 МБ	</p>				
			</div>
			<div class="pc-button">
				<a href="#" class="nav-trigger pc-but">Скачать для Windows</a>
			</div>
		</div>
		
		<div class="down-windows-macos">
			<div class="pc-img">MAC</div>
			<div class="pc-txt">
				<h4>macOS</h4>
				<p>macOS 10.15+ • Universal</p>
                <p>Версия 3.2.1 • 52 МБ	</p>				
			</div>
			<div class="pc-button">
				<a href="#" class="nav-trigger pc-but">Скачать для Mac</a>
			</div>
		</div>
	</div>	
	</div>
</section>

<section class="why-pc">
<div class="container">
	<h2 class="h2-v2ray-vpn"><?php the_field( 'zagolovok_pc_why' ); ?></h2>
	<div class="why-pc-block">
		<?php if ( have_rows( 'kartochki_pc' ) ) : ?>
	<?php while ( have_rows( 'kartochki_pc' ) ) : the_row(); ?>
		<div class="v2ray-pc-advantage">
			<div class="why-pc-ic"><?php the_sub_field( 'tekst_v_ikonke_pc' ); ?></div>
			<h3><?php the_sub_field( 'zagolovok_kartochki_pc' ); ?></h3>
			<p><?php the_sub_field( 'tekst_v_kartochke_pc' ); ?></p>
		</div>
		<?php endwhile; ?>
<?php else : ?>
	<?php // No rows found ?>
<?php endif; ?>
	</div>
	</div>
</section>

<?php get_footer(); ?>