2022-09-20 00:36:01 +00:00
|
|
|
<%= render "public/api/v1/portals/hero", portal: @portal %>
|
2022-09-20 03:31:38 +00:00
|
|
|
<div class="max-w-5xl w-full flex-grow mx-auto py-8 px-4">
|
|
|
|
<div class="grid grid-cols-1 lg:grid-cols-2 gap-x-32 gap-y-0 lg:gap-y-12">
|
|
|
|
<% @portal.categories.where(locale: params[:locale]).each do |category| %>
|
2022-09-20 00:36:01 +00:00
|
|
|
<%= render "public/api/v1/portals/category-block", category: category, portal: @portal %>
|
2022-09-12 18:06:24 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|