Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
341 changes: 274 additions & 67 deletions assets/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"postcss-import": "^14.0.0",
"postcss-loader": "^4.1.0",
"sass-loader": "^8.0.2",
"tailwindcss": "^2.0.2",
"tailwindcss": "^1.9.6",
"terser-webpack-plugin": "^2.3.2",
"webpack": "4.41.5",
"webpack-cli": "^3.3.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/shlinkedin_web/live/notifications_live/index.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
src="<%= n.profile.photo_url %>" alt="">
<div class="ml-3">
<p class="text-sm text-gray-900 inline-block">
<%= if n.type == "admin_message" do%>
<%= if n.type == "admin_message" do %>
<span class="font-bold"><%= n.action %></span>
<span><%= n.body %></span>
<% else %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

AI Assistance</button>

<%= if @tags != [] do%>
<%= if @tags != [] do %>
<div class="mt-4 w-64 flex-wrap">
<h5 class="font-semibold text-xs text-gray-500 ">Tags</h5>
<%= for tag <- @tags |> Enum.uniq() do %>
Expand Down
2 changes: 1 addition & 1 deletion lib/shlinkedin_web/live/post_live/form_component.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</div>
<% end %>

<%= if @tags != [] do%>
<%= if @tags != [] do %>
<div class="mt-4 w-64 flex-wrap">
<h5 class="font-semibold text-xs text-gray-500 ">Tags</h5>
<%= for tag <- @tags |> Enum.uniq() do %>
Expand Down
2 changes: 1 addition & 1 deletion lib/shlinkedin_web/live/post_live/like_component.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<% end %>
</div>

<%= for like <- @grouped_likes[user] do%>
<%= for like <- @grouped_likes[user] do %>
<%= if @like_map[like.like_type] != nil do %>

<span
Expand Down
8 changes: 4 additions & 4 deletions lib/shlinkedin_web/live/profile_live/show.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>

<%# Title %>
<%= if @profile.id == @show_profile.id and is_nil(@profile.persona_title) do%>
<%= if @profile.id == @show_profile.id and is_nil(@profile.persona_title) do %>
<%= live_patch to: Routes.profile_edit_path(@socket, :edit) do %>
<button type="button"
class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-yellow-700 bg-yellow-100 hover:bg-yellow-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Expand All @@ -101,7 +101,7 @@
</div>
<% end %>

<%= if @profile.id == @show_profile.id and @show_profile.life_score == "B+" do%>
<%= if @profile.id == @show_profile.id and @show_profile.life_score == "B+" do %>
<%= live_patch to: Routes.profile_edit_path(@socket, :edit) do %>
<button type="button"
class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-green-700 bg-green-100 hover:bg-green-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Expand Down Expand Up @@ -145,7 +145,7 @@
<%# summary %>
<div
class="px-5 mt-1 mb-6 ml-3 max-w-lg text-xs sm:text-sm text-center sm:text-left">
<%= if @profile.id == @show_profile.id and is_nil(@profile.summary) do%>
<%= if @profile.id == @show_profile.id and is_nil(@profile.summary) do %>
<%= live_patch to: Routes.profile_edit_path(@socket, :edit) do %>
<button type="button"
class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
Expand Down Expand Up @@ -537,7 +537,7 @@
class="my-2 inline-flex items-center px-2.5 py-1.5 border border-transparent text-md font-medium rounded text-blue-700 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<%= if @num_show_testimonials > length(@testimonials), do: "Show fewer", else: "Show more"%>

<%= if @num_show_testimonials > length(@testimonials) do%>
<%= if @num_show_testimonials > length(@testimonials) do %>
<svg class="ml-2 w-6 h-6" fill="currentColor"
viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
Expand Down
68 changes: 34 additions & 34 deletions mix.lock

Large diffs are not rendered by default.