Skip to content

Commit

Permalink
Merge pull request #987 from nature-of-code/amazon-update
Browse files Browse the repository at this point in the history
updating amazon links
  • Loading branch information
shiffman authored Jul 3, 2024
2 parents 78efa02 + ae421ee commit 8c84744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/components/PurchaseButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const links = [
label: 'Bookshop.org',
},
{
href: 'https://www.amazon.com/Nature-Code-Daniel-Shiffman/dp/1718503709',
href: 'https://amzn.to/3ztc87a',
label: 'Amazon',
},
{
Expand Down
16 changes: 1 addition & 15 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,7 @@ export default function IndexPage() {
<PurchaseButton className="my-6 lg:hidden" aligned="left" />

<div className="my-6">
Hi there! Welcome to The Nature of Code! Ever wondered how the
unpredictable evolutionary and emergent properties of nature can be
captured in a digital canvas, all through the magic of code? Running
right in your browser! That’s exactly what this book is all about! You
can read the whole thing right here, thank you to Creative Commons! If
this project sparks joy and want to support it, you can{' '}
<a href="https://github.com/sponsors/CodingTrain">sponsor on GitHub</a>{' '}
or grab a copy of an artfully bound version of processed cellulose
fibers, imprinted with symbolic glyphs via pigment-based transfer
particles, available at{' '}
<a href="https://nostarch.com/nature-code">No Starch Press</a> and{' '}
<a href="https://www.amazon.com/Nature-Code-Daniel-Shiffman/dp/1718503709">
other places where people buy books
</a>
. Don't forget to touch grass!
Hi hi hi! Welcome to The Nature of Code book! You can read the whole thing right here, thank you Creative Commons! If this project sparks joy and want to support it, you can <a href="https://github.com/sponsors/CodingTrain">sponsor on GitHub</a> or grab a copy of an artfully bound collection of processed cellulose fibers, imprinted with symbolic glyphs via pigment-based transfer particles, available at <a href="https://nostarch.com/nature-code">No Starch Press</a> and <a href="https://amzn.to/3ztc87a">other places where people buy books</a>. Don't forget to touch grass!
</div>
</SideNavLayout>
);
Expand Down

0 comments on commit 8c84744

Please sign in to comment.