nature-of-code / noc-book-2

Nature of Code with p5.js and Notion workflow / build system.
https://natureofcode.com
762 stars 52 forks source link

Purchase links #939

Open shiffman opened 3 weeks ago

shiffman commented 3 weeks ago

"Buy the Book" should change to "Pre-Order" maybe right now?

Also, what would be an elegant way to link to multiple places to purchase the book, for example:

https://nostarch.com/nature-code https://bookshop.org/p/books/the-nature-of-code-daniel-shiffman/20597363?ean=9781718503700 https://www.amazon.com/Nature-Code-Daniel-Shiffman/dp/1718503709 https://www.barnesandnoble.com/w/the-nature-of-code-daniel-shiffman/1114086024

(Eventually I may have a way to order directly from the site.)

Should we design and create a "buy the book" page?

jasongao97 commented 3 weeks ago

How about a small hover menu like this?

https://github.com/nature-of-code/noc-book-2/assets/6762203/64ce1840-a8e0-4161-9fa5-a3cf9a30ce43

shiffman commented 3 weeks ago

Yes, this is great! Would the No Starch direct link be from "pre order" directly? I wonder if we should list it explicitly?

jasongao97 commented 3 weeks ago

Would the No Starch direct link be from "pre order" directly?

Yes, it was. Perhaps it could be the buy-directly-from-site button and the No Starch link will be list explicitly below? I was trying to prevent the confusion for a user to click directly on the button which does nothing.

shiffman commented 3 weeks ago

Yes, that works! We may change this eventually if I am able to take orders directly from the website itself in the future!