2018-02-01 00:34:16 +01:00
|
|
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark text-uppercase">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand" href="<?php echo $site->url() ?>">
|
|
|
|
<span class="text-white"><?php echo $site->title() ?></span>
|
|
|
|
</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">
|
|
|
|
|
|
|
|
<!-- Static pages -->
|
|
|
|
<?php foreach ($staticContent as $staticPage): ?>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="<?php echo $staticPage->permalink() ?>"><?php echo $staticPage->title() ?></a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
|
|
|
|
<!-- 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-02-01 00:34:16 +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-02-01 00:34:16 +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-02-01 00:34:16 +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-02-01 00:34:16 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
2018-08-15 12:26:20 +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-09-23 13:38:14 +02:00
|
|
|
|
2018-02-01 00:34:16 +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-02-01 00:34:16 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-15 12:26:20 +02:00
|
|
|
</nav>
|