<?php
  $header_class = 'c-header';
  // Class
  $class_specified = '';
  if(isset($classes) && $classes != '') {
    $class_specified = '[ ';
    foreach($classes as $class) {
      $class_specified .= $header_class.'--'.$class.' ';
    }
    $class_specified .= ']';
  }
  // Data
  if(isset($data['is_navigation_hidden'])) { $is_navigation_hidden = $data['is_navigation_hidden']; }
  if(isset($data['is_media_hidden'])) { $is_media_hidden = $data['is_media_hidden']; }
  if(isset($data['image'])) { $image = $data['image']; }
  if(isset($data['description'])) { $description = $data['description']; }
  if(isset($data['navigation'])) { $navigation = $data['navigation']; } else {
    $navigation = [
			trans('folio::base.writing') => ['/'.Config::get('folio.path-prefix'), Config::get('folio.path-prefix')],
			trans('folio::base.about-me') => ['/about', 'about']
		];
  }
?>

<header class="[ c-header c-header--js ] {{ $class_specified }}">
	<div class="[ o-wrap o-wrap--full ]">

		<nav class="[ navigation ] [ u-mar-t-0x ]">
			<ul>
				<li><a href="/{{ Config::get('folio.path-prefix') }}" class="navigation-link js--navigation-link-folio">home</a></li>
			</ul>
		</nav>

	</div>
</header>
