diff --git a/app/views/content/gallery.html.erb b/app/views/content/gallery.html.erb index 5c24121a..0ba041c8 100644 --- a/app/views/content/gallery.html.erb +++ b/app/views/content/gallery.html.erb @@ -1,213 +1,321 @@ <%# render partial: 'content/tailwind_components/content_image_header', locals: { content: @serialized_content } %> -
- -
- -
- <% if @serialized_content.class_name == Universe.name %> - <%= render partial: 'content/tailwind_components/universe_context_sidenav', locals: { content: @serialized_content } %> - <% else %> - <%= render partial: 'content/tailwind_components/content_context_sidenav', locals: { content: @serialized_content } %> +
+ + +
+ +
+ +
+ <% if @serialized_content.class_name == Universe.name %> + <%= render partial: 'content/tailwind_components/universe_context_sidenav', locals: { content: @serialized_content } %> + <% else %> + <%= render partial: 'content/tailwind_components/content_context_sidenav', locals: { content: @serialized_content } %> <% end %> - -
- <% @other_images.each do |image| %> -
-
- <%= link_to image.src.url do %> - <%= image_tag image.src.url, class: 'block object-cover object-center w-full h-full rounded-lg hover:opacity-90' %> - <% end %> -
-
- <% end %> - <% @basil_images.each do |commission| %> -
-
- <%= link_to commission.image do %> - <%= image_tag commission.image, class: 'block object-cover object-center w-full h-full rounded-lg hover:opacity-90' %> - <% end %> -
-
- <% end %> -
- -
-
- - -