3 Commits

  1. 11
      CHANGELOG.md
  2. 6
      lib/mirage_web/live/link_live/show.html.leex
  3. 2
      lib/mirage_web/live/note_live/show.html.leex
  4. 2
      lib/mirage_web/templates/layout/root.html.leex
  5. 2
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.52.1](https://git.inhji.de/inhji/mirage/compare/v0.52.0...v0.52.1) (2021-02-21)
### Bug Fixes:
* use simple favicon path
* link to link instead to actual link url
## [v0.52.0](https://git.inhji.de/inhji/mirage/compare/v0.51.1...v0.52.0) (2021-02-21)

6
lib/mirage_web/live/link_live/show.html.leex

@ -11,9 +11,9 @@
return_to: Routes.link_show_path(@socket, :show, @link) %>
<% end %>
<p>
<%= link @link.url, to: @link.url, target: "_blank" %>
</p>
<div class="bg-content width-full">
<p><%= link @link.url, to: @link.url, target: "_blank" %></p>
</div>
<%= if @current_user do %>
<div class="buttons">

2
lib/mirage_web/live/note_live/show.html.leex

@ -53,7 +53,7 @@
<%= for link <- @note.links do %>
<div class="link-wrapper">
<%= link to: link.url, class: "link" do %>
<%= link to: Routes.link_show_path(@socket, :show, link), class: "link" do %>
<span class="flex"><%= link.title || link.url %></span>
<span class="flex"><%= link.domain %></span>
<% end %>

2
lib/mirage_web/templates/layout/root.html.leex

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= csrf_meta_tag() %>
<%= live_title_tag assigns[:page_title] || "Inhji.de", suffix: " · Mirage" %>
<link rel="icon" href='<%= Routes.static_path(@conn, "/favicon.ico") %>'>
<link rel="icon" href='favicon.ico'>
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<script defer phx-track-static type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</head>

2
mix.exs

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

Loading…
Cancel
Save