Sha256: 5c73be86626702fb542f9f969c18f7ea9d0fe831273dd1644904eda890b23b59
Contents?: true
Size: 921 Bytes
Versions: 2
Compression:
Stored size: 921 Bytes
Contents
<%= render Spina::MainNavigation::SubNavComponent.new(:blog) do |nav| %> <% nav.icon do %> <%= heroicon('pencil', style: :solid, class: 'w-8 h-8 text-white md:mr-3') %> <div class="text-white font-semibold hidden md:block transform -translate-x-2 ease-in-out duration-300 absolute md:relative opacity-0 transition-all" data-navigation-target="label"> <%=t 'spina.blog.title' %> </div> <% end %> <% nav.links do %> <%= render Spina::MainNavigation::LinkComponent.new(t('spina.blog.posts.title'), spina.admin_conferences_blog_posts_path, active: request.path.start_with?("/#{Spina.config.backend_path}/conferences/blog/posts")) %> <%= render Spina::MainNavigation::LinkComponent.new(t('spina.blog.categories.title'), spina.admin_conferences_blog_categories_path, active: request.path.start_with?("/#{Spina.config.backend_path}/conferences/blog/categories")) %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems