From 8e090007fd83d874426d532420d0c12cba3f0069 Mon Sep 17 00:00:00 2001 From: Miguel Michelson Martinez Date: Tue, 23 Apr 2024 23:45:23 -0400 Subject: [PATCH] articles styles --- app/views/users/articles.html.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/users/articles.html.erb b/app/views/users/articles.html.erb index 83226b1..df7d3a3 100644 --- a/app/views/users/articles.html.erb +++ b/app/views/users/articles.html.erb @@ -1,49 +1,49 @@ -
+
-

+

<%= @user.first_name.humanize %> <%= @user.last_name.humanize %>'s Blog

-

+

<%= link_to user_path(@user.username), class: "flex items-center text-sm font-semibold leading-6 text-brand-600" do %> <%= heroicon("chevron-left", variant: :mini)%> back to <%= @user.username %> music <% end %>

-
+
<% @articles.each do |article| %>
-
-

+

<%= link_to article_path(article) do %> <%= article.title %> <% end %>

-

+

<%= article.excerpt %>

<%= image_tag article.user.avatar_url(:small), class: "h-10 w-10 rounded-full bg-gray-50" %>