<?php
use yii\helpers\Html;

$this->title = $name;
$this->params['breadcrumbs'][] = $this->title;
$exception = Yii::$app->errorHandler->exception; 
?>
<div role="main" class="main">
    <div class="container">
		<div class="row py-4">
			<div class="col-lg-6">
				<div class="overflow-hidden mb-4 pb-3">
				  <img src="<?=Yii::$app->urlManagerFrontend->baseUrl.'/images/adventure.gif'?>" width="100%" style="margin-top:-50px;">
				</div>
			</div>
			<div class="col-lg-5">
					  
	<h1><?=$exception->statusCode?> Page</h1>
	   <h4><?=$exception->statusCode?></span><?= nl2br(Html::encode($message)) ?></h4>
		 <p>We’re sorry but we can’t seem to find the page you requested. This might be because you have typed the web address incorrectly.</p>
				
				<p>
				<?=Html::a('Go to Home Page<span><i class="fas fa-chevron-right"></i></span>',['/site/index'], ['class' => 'btn btn-outline btn-rounded btn-quaternary  btn-with-arrow mb-2']) ?>
				</p>
			</div>
		</div>
	</div>
  </div>