Merge pull request #35 from bl0cknumber/patch-1

Fix target blank for profile live
This commit is contained in:
Chris McCord 2022-02-03 10:38:23 -05:00 committed by GitHub
commit 08f9734f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ defmodule LiveBeatsWeb.ProfileLive do
<div class="block">
<%= @profile.tagline %> <%= if @owns_profile? do %>(you)<% end %>
</div>
<.link href={@profile.external_homepage_url} _target="blank" class="block text-sm text-gray-600">
<.link href={@profile.external_homepage_url} target="_blank" class="block text-sm text-gray-600">
<.icon name={:code}/> <span class=""><%= url_text(@profile.external_homepage_url) %></span>
</.link>
</div>