2018-01-28 23:33:50 +01:00
|
|
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark text-uppercase">
|
2018-01-27 20:34:26 +01:00
|
|
|
<div class="container">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="navbar-brand" href="<?php echo $site->url(); ?>">
|
|
|
|
<span class="text-white"><?php echo $site->title(); ?></span>
|
2018-01-27 20:34:26 +01:00
|
|
|
</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
|
|
<ul class="navbar-nav ml-auto">
|
2018-01-31 20:19:53 +01:00
|
|
|
|
|
|
|
<!-- Static pages -->
|
2018-01-27 20:34:26 +01:00
|
|
|
<?php foreach ($staticContent as $staticPage): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $staticPage->permalink(); ?>"><?php echo $staticPage->title(); ?></a>
|
2018-01-27 20:34:26 +01:00
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
2018-01-31 20:19:53 +01:00
|
|
|
|
|
|
|
<!-- Social Networks -->
|
|
|
|
<?php if ($site->github()): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $site->github(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/github.svg' ?>" alt="github icon" />
|
2018-01-31 20:19:53 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
<?php if ($site->twitter()): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $site->twitter(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/twitter.svg' ?>" alt="twitter icon" />
|
2018-01-31 20:19:53 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
<?php if ($site->facebook()): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $site->facebook(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/facebook.svg' ?>" alt="facebook icon" />
|
2018-01-31 20:19:53 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
<?php if ($site->googleplus()): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $site->googleplus(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/googleplus.svg' ?>" alt="googleplus icon" />
|
2018-01-31 20:19:53 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
2018-08-15 12:25:07 +02:00
|
|
|
|
|
|
|
<?php if ($site->instagram()): ?>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="<?php echo $site->instagram(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/instagram.svg' ?>" alt="instgram icon" />
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
2018-01-31 20:19:53 +01:00
|
|
|
<?php if ($site->codepen()): ?>
|
|
|
|
<li class="nav-item">
|
2018-03-05 23:46:52 +01:00
|
|
|
<a class="nav-link" href="<?php echo $site->codepen(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/codepen.svg' ?>" alt="codepen icon" />
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
<?php if ($site->linkedin()): ?>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="<?php echo $site->linkedin(); ?>" target="_blank">
|
|
|
|
<img class="nav-svg-icon" src="<?php echo DOMAIN_THEME.'img/linkedin.svg' ?>" alt="linkedin icon" />
|
2018-01-31 20:19:53 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
2018-01-27 20:34:26 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-24 22:39:39 +01:00
|
|
|
</nav>
|