theme-blog-ewen/layouts/partials/nav.html
2023-12-15 17:26:57 +01:00

68 lines
3 KiB
HTML

<!-- Top navbar -->
<nav class="navbar pb-0 pt-0 pr-0 border-bottom navbar-light bg-light fixed-top navbar-expand-md">
<div id="brand" class="navbar-brand pd-0 pt-0">
<a href="{{ "/" | absLangURL }}" class="text-dark router-link-exact-active router-link-active" target="_self" aria-current="page">
{{ .Site.Title }}
</a>
</div>
<button type="button" aria-label="Toggle navigation"
class="navbar-toggler ml-auto collapsed" aria-expanded="false" aria-controls="nav-collapse"
style="overflow-anchor: none;">
<span class="navbar-toggler-icon"></span>
</button>
<div id="nav-collapse" class="navbar-collapse collapse" style="display: none;">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a href="/fr/"
class="nav-link router-link-exact-active router-link-active active" target="_self"
aria-current="page"> Accueil </a></li>
<li id="cv" class="nav-item"><a href="/fr/cv" class="nav-link"
target="_self"> CV </a></li>
<li id="portfolio" class="nav-item"><a href="#" target="_self"
tabindex="-1" aria-disabled="true" class="nav-link disabled"> Portfolio </a></li>
<li id="blog" class="nav-item"><a href="#" target="_self"
tabindex="-1" aria-disabled="true" class="nav-link disabled"> Blog </a></li>
</ul>
<ul class="navbar-nav ml-auto">
<div class="dropdown b-dropdown btn-group" value="fr" id="__BVID__23">
<button aria-haspopup="true" aria-expanded="false" type="button"
class="btn dropdown-toggle btn-light" id="toggle_menu">fr</button>
<ul role="menu" tabindex="-1" class="dropdown-menu dropdown-menu-right"
aria-labelledby="toggle_menu">
<li role="presentation"><a role="menuitem" href="#" target="_self"
class="dropdown-item active"> fr </a></li>
<li role="presentation"><a role="menuitem" href="#" target="_self" class="dropdown-item"> br
</a></li>
<li role="presentation"><a role="menuitem" href="#" target="_self" class="dropdown-item"> en
</a></li>
</ul>
</div>
</ul>
</div>
</nav>
<div class="nav-top nav-right">
<nav class="nav-item level is-mobile">
{{- range $.Site.Home.AllTranslations }}
<a class="level-item" href="{{ .Permalink }}">{{ .Language.Lang }}</a>
{{- end }}
</nav>
</div>
</nav>
<!-- toujours présent -->
<header id="header">
<div class="inner"><img src="" alt="" class="avatar image">
<h1 id="name">Ewen Corre</h1>
<h1>Introduction</h1>
</div>
{{ partial "footer" . }}
</header>
</aside>