Skip to content

Commit

Permalink
branches
Browse files Browse the repository at this point in the history
  • Loading branch information
ger619 committed Jul 19, 2023
1 parent bf3ea67 commit 53dc150
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/home/_landing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@


<% @news.limit(1).each do |news| %>
<div class="flex flex-col items-start h-16 bg-[#FAE115] border border-[#FAE115] shadow md:flex-row ">
<h1 class="text-white font-bold uppercase text-xl md:text-2xl lg:text-3xl pl-4 pt-4 truncate xl:w-full lg:w-full md:w-[500px]">
<div class="flex flex-col items-start h-16 bg-[#FAE115] border border-[#FAE115] shadow md:flex-row 2xl:min-w-[1024px] xl:min-w-[860px] lg:w-[650px] md:w-[500px] ">
<h1 class="text-white font-bold uppercase text-xl md:text-2xl lg:text-3xl pl-4 pt-4 2xl:min-w-[1024px] xl:min-w-[860px] lg:w-[650px] md:w-[500px]">
<%= news.header_news %>
</h1>
</div>



<div class=" flex flex-col items-start border-t-4 border border-[#FAE115] mt-3 shadow md:flex-row ">
<div class=" flex flex-col items-start border-t-4 border border-[#FAE115] mt-3 shadow md:flex-row 2xl:min-w-[1024px] xl:min-w-[860px] lg:w-[650px] md:w-[500px] ">

<%= 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]" ) %>
<div class="flex flex-col justify-start leading-normal p-5">
Expand Down Expand Up @@ -64,8 +64,6 @@
<% end %>
</div>

<% end %>
<% end %>
</div>

<div class="bg-white md:flex-col md:flex-row border-t-indigo-500 ">
Expand Down

0 comments on commit 53dc150

Please sign in to comment.