From 53dc150fb36feb26fcbeb03a75c0af23175a190c Mon Sep 17 00:00:00 2001 From: ger619 Date: Thu, 20 Jul 2023 02:01:37 +0300 Subject: [PATCH] branches --- app/views/home/_landing.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/home/_landing.html.erb b/app/views/home/_landing.html.erb index 000c6bd5a..e706bd0ec 100644 --- a/app/views/home/_landing.html.erb +++ b/app/views/home/_landing.html.erb @@ -3,15 +3,15 @@ <% @news.limit(1).each do |news| %> -
-

+
+

<%= news.header_news %>

-
+
<%= image_tag(news.image, class: "object-cover 2xl:w-[800px] xl:w-[600px] xl:h-[400px] lg:w-[400px] lg:h-[250px] md:h-[400px] md:w-[600px] sm:w-[200px]" ) %>
@@ -64,8 +64,6 @@ <% end %>
- <% end %> - <% end %>