Display vendors beneath omnibar on mobile book page views #7009
Labels
Good First Issue
Easy issue. Good for newcomers. [managed]
hacktoberfest
Issues appropriate for Hacktoberfest participants
Lead: @jimchamp
Issues overseen by Jim (Front-end Lead, BookNotes) [managed]
Needs: Help
Issues, typically substantial ones, that need a dedicated developer to take them on. [managed]
Priority: 3
Issues that we can consider at our leisure. [managed]
Theme: Book Page
Issues related to the redesign of the books page
Type: Feature Request
Issue describes a feature or enhancement we'd like to implement. [managed]
On the mobile book page, the vendor section should appear directly beneath the omnibar.
In order to achieve this, the existing vendor section should be duplicated and added to the template after the omnibar section. The newly created vendor section should not be displayed while the site has a two-column layout (desktop view). Similarly, the original vendor section should not appear in mobile views.
The vendor section has its own template, here: https://github.com/internetarchive/openlibrary/blob/master/openlibrary/macros/AffiliateLinks.html
It's probably best to pass an optional string to the template containing any additional classes that will be needed to display the correct vendor section. You can add the new classes the the
ul
element in AffiliateLinks.html.CSS for the vendor link section can be found here: https://github.com/internetarchive/openlibrary/blob/master/static/css/components/read-panel.less
The text was updated successfully, but these errors were encountered: