Skip to content

Commit

Permalink
Add link to the book on Amazon
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Oct 19, 2024
1 parent 7fde871 commit 0661faf
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/templates/BookPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ const faq: FaqItem[] = [
answer:
'Not necessarily, though it will certainly help. However, even if you’re working with other languages, you could still find the book useful.',
},
{
question: 'Is the book available to buy on Amazon?',
answer:
'Not yet, but I’m planning to publish the book on Amazon as soon I finish writing the book.',
},
{
question: 'Is the book available on paper?',
answer:
Expand Down Expand Up @@ -437,11 +432,13 @@ export function BookPage({ url, chapters, patterns, antipatterns }: Props) {
<Box>
<TheButton />
</Box>
<Text hidden>
<Link href="">Also available as a paperback on Amazon</Link>
<Text>
<Link href="https://www.amazon.com/dp/B0DK9HHJ1R/">
Also as a paperback and Kindle edition on Amazon
</Link>
</Text>
<Text>
<Link href="#toc">Or read selected chapters below</Link>
<Link href="#toc">Read selected chapters online</Link>
</Text>
</Stack>
</Stack>
Expand Down

0 comments on commit 0661faf

Please sign in to comment.