diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2025-03-27 18:24:46 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2025-03-27 18:24:46 -0600 |
commit | 4fcfb52f60f20cb091dcb4dbdf4a365fdea14651 (patch) | |
tree | 11cc0c9d1df7fd31ff12930cfb963f3f9fed1c56 /_includes/header.html | |
parent | 9eefba4a229a404eb1088db477a05e84b61e28b9 (diff) |
initial commit
Diffstat (limited to '_includes/header.html')
-rw-r--r-- | _includes/header.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..0404093 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,41 @@ +<nav class="navbar mb-5 px-5 py-3" role="navigation" aria-label="main navigation"> + <div class="navbar-brand is-align-items-center"> + <figure class="image is-64x64"> + {% if page.url != '/' %} + <a href="../" target="_self"><img src="{{ '/assets/placeholder-icon.png' | relative_url }}" + alt="App Icon" style="border-radius: 12px;" id="headerIcon"></a> + {% else %} + <img src="{{ '/assets/placeholder-icon.png' | relative_url }}" + alt="App Icon" style="border-radius: 12px;" id="headerIcon"> + {% endif %} + </figure> + <p class="title is-4 ml-4 is-hidden-mobile" id="headerName"> + Your App Name + </p> + <div class="ml-auto is-hidden-desktop"> + {% for page in site.pages %} + {% if page.include_in_header == true %} + <a href="{{ page.url | relative_url }}" target="_self" class="button"> + {{ page.title }} + </a> + {% endif %} + {% endfor %} + </div> + </div> + + <div class="navbar-menu"> + <div class="navbar-end"> + <div class="navbar-item"> + <div class="buttons"> + {% for page in site.pages %} + {% if page.include_in_header == true %} + <a href="{{ page.url | relative_url }}" target="_self" class="button"> + {{ page.title }} + </a> + {% endif %} + {% endfor %} + </div> + </div> + </div> + </div> +</nav> |