<% if notice.present? %>

<%= notice %>

<% end %> <% content_for :title, "Alphabet Learning - Resources" %>

Featured Resources

<% featured_resources = @pdfresources.where("feature_slot < 4").order(:feature_slot) %>
<% featured_resources.each do |pdfresource| %>
<%= render pdfresource %>
<% end %>
<% if Current.session.user.is_admin %> <%= link_to "Add new resource", new_pdfresource_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %> <% end %>