diff --git a/app/models/page_collections/page_collection.rb b/app/models/page_collections/page_collection.rb index 0237819b..e2090973 100644 --- a/app/models/page_collections/page_collection.rb +++ b/app/models/page_collections/page_collection.rb @@ -71,7 +71,7 @@ class PageCollection < ApplicationRecord serialize :page_types, Array def self.color - 'brown' + 'brown bg-brown-800' end def self.text_color diff --git a/app/views/layouts/tailwind.html.erb b/app/views/layouts/tailwind.html.erb index c7a6a090..8d27a685 100644 --- a/app/views/layouts/tailwind.html.erb +++ b/app/views/layouts/tailwind.html.erb @@ -42,7 +42,7 @@ -
<%= @user.bio %>
+ <%= link_to '#', class: "#{User.text_color} text-right block text-xs hover:text-green-400 transition" do %> + Read more + <% end %>
- <%= page_type_klass.icon %> <%= page_type.to_s.humanize %> @@ -103,7 +113,7 @@
+ + <%= PageCollection.icon %> + <%= page_type.to_s.humanize %> +
+