2 Commits

  1. 9
      CHANGELOG.md
  2. 12
      lib/mirage_web/templates/layout/_sidebar.html.eex
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.66.0](https://git.inhji.de/inhji/mirage/compare/v0.65.0...v0.66.0) (2021-03-09)
### Features:
* add home link
## [v0.65.0](https://git.inhji.de/inhji/mirage/compare/v0.64.0...v0.65.0) (2021-03-09)

12
lib/mirage_web/templates/layout/_sidebar.html.eex

@ -1,8 +1,14 @@
<aside id="sidebar">
<ul>
<li>
<a>&nbsp;</a>
</li>
<%= active_link(@conn, to: "/", wrap_tag: :li) do %>
<span class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="icon" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M2 13.5V7h1v6.5a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5V7h1v6.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5zm11-11V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/>
<path fill-rule="evenodd" d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"/>
</svg>
<span class="label">Home</span>
</span>
<% end %>
<%= active_link(@conn, to: Routes.live_path(@conn, MirageWeb.InboxLive), wrap_tag: :li) do %>
<span class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="icon" viewBox="0 0 16 16">

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.65.0"
@version "0.66.0"
def project do
[

Loading…
Cancel
Save