-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1118 from openstax/print-copy-page
Populate page with data from CMS
- Loading branch information
Showing
6 changed files
with
60 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,15 @@ <h1>{model.headline}</h1> | |
<div class="images"> | ||
<img class="desktop-bg" src="/images/bookstore-suppliers/hero-bookstore-print-desktop.png"> | ||
<div class="clipped"> | ||
<img class="phone-bg" src="/images/bookstore-suppliers/Hero-isometric-book-bg-mobile.png"> | ||
<img class="phone-bg" srcset=" | ||
/images/bookstore-suppliers/Hero-isometric-book-bg-mobile.png 1x, | ||
/images/bookstore-suppliers/[email protected] 2x | ||
"> | ||
</div> | ||
<img class="phone-fg" src="/images/bookstore-suppliers/Hero-books-mobile.png"> | ||
<img class="phone-fg" srcset=" | ||
/images/bookstore-suppliers/Hero-books-mobile.png 1x, | ||
/images/bookstore-suppliers/[email protected] 2x | ||
" alt=""> | ||
</div> | ||
</div> | ||
<div class="main-content"> | ||
|
@@ -27,7 +33,10 @@ <h2>{supplier.name}</h2> | |
<a class="btn primary" href="{supplier.buttonUrl}">{supplier.buttonText}</a> | ||
</div> | ||
<div class="right-stuff"> | ||
<img src="http://via.placeholder.com/300x400"> | ||
<img srcset=" | ||
/images/bookstore-suppliers/IndiCo-card-banner.png 1x, | ||
/images/bookstore-suppliers/[email protected] 2x | ||
" alt=""> | ||
</div> | ||
<else> | ||
<div class="logo-dot"> | ||
|
@@ -39,6 +48,6 @@ <h2>{supplier.name}</h2> | |
</if> | ||
</div> | ||
</div> | ||
<button type="button" class="primary">Download a list of ISBN numbers</button> | ||
<a href="{model.buttonUrl}" class="btn primary">{model.buttonText}</a> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.