This commit is contained in:
12
app/views/books/_new.html.erb
Normal file
12
app/views/books/_new.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<figure class="library__book position-relative">
|
||||
<div class="library__book--empty center">
|
||||
<%= image_tag "empty-cover.png", alt: "Book cover", class: "book__cover" %>
|
||||
<span class="btn btn--positive center">
|
||||
<%= image_tag "add.svg", aria: { hidden: true }, size: 24 %>
|
||||
<span class="for-screen-reader"></span>
|
||||
</span>
|
||||
</div>
|
||||
<%= link_to new_book_path, class: "bookmark__link" do %>
|
||||
<span class="for-screen-reader">Create a new book</span>
|
||||
<% end %>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user