<?php
	Assets::add( 'lightslider' );
	Assets::add( 'home.min.js' );
?>
<?php $__env->startSection( 'head' ); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection( 'foot' ); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection( 'content' ); ?>
	<?php if( Auth::guest() && $text = Setting::get( 'alert-html' ) ): ?>
		<div class="cc">
			<div id="home-alert">
				<?php echo $text; ?>

			</div>
		</div>
	<?php endif; ?>

	<?php if( Auth::guest() && $text = Setting::get( 'signup-link-text' ) ): ?>
		<div class="cc">
			<div id="home-signup">
				<a href="<?php echo route( 'signup' ); ?>"><?php echo e($text); ?></a>
			</div>
		</div>
	<?php endif; ?>

	<?php if( count( $slides ) ): ?>
		<div class="cc">
			<ul id="slider" class="cS-hidden">
				<?php foreach( $slides as $slide ): ?>
					<li>
						<?php if( $slide->url ): ?>
							<a href="<?php echo e($slide->url); ?>">
								<img src="<?php echo $slide->image_url; ?>" alt="<?php echo e($slide->title); ?>">
							</a>
						<?php else: ?>
							<img src="<?php echo $slide->image_url; ?>" alt="<?php echo e($slide->title); ?>">
						<?php endif; ?>
					</li>
				<?php endforeach; ?>
			</ul>
		</div>
	<?php endif; ?>

	<div id="home-contact">
		<div class="cc">
			<div class="contact-info">
				<h2 class="home-title">راهنما</h2>
				<p><?php echo e(Setting::get( 'address' )); ?></p>
				<p><?php echo e(Setting::get( 'email' )); ?></p>
				<p><?php echo e(Setting::get( 'phone' )); ?></p>
			</div>
		</div>
	</div>
<?php $__env->stopSection(); ?>