Skip to content

Commit

Permalink
Add links to the book
Browse files Browse the repository at this point in the history
  • Loading branch information
knatten committed Jun 14, 2024
1 parent bec99fc commit c067690
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
Binary file added quiz/static/cppbrainteasers-150.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quiz/static/cppbrainteasers-300.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quiz/static/cppbrainteasers.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion templates/quiz/finished.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ <h3>All right!</h3>
</p>

<p>
Why not <a href="/quiz/start">Start a new quiz</a>, or <a href="/">go back to training mode</a>?
Why not <a href="/quiz/start">Start a new quiz</a>, <a href="/">go back to training mode</a>, or <a href="https://pragprog.com/titles/akbrain/c-brain-teasers/">get the official book</a>?
</p>
<p>
<a href="https://pragprog.com/titles/akbrain/c-brain-teasers/"><img src="{{STATIC_URL}}cppbrainteasers-300.jpeg" alt="C++ Brain Teasers cover"/></a>
</p>
</div>

Expand Down
5 changes: 5 additions & 0 deletions templates/quiz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ <h4>Contribute</h4>
<h4>Android app</h4>
<p>
Get Sergey Vasilchenko's <a href="https://play.google.com/store/apps/details?id=com.vsklamm.cppquiz">CppQuiz Android app</a>.
</p>
<h4>C++ Brain Teasers</h4>
<p>
<a href="https://pragprog.com/titles/akbrain/c-brain-teasers/">Get the book</a>, support the site!
<a href="https://pragprog.com/titles/akbrain/c-brain-teasers/"><img src="{{STATIC_URL}}cppbrainteasers-150.jpeg" alt="C++ Brain Teasers cover"/></a>
</p>
</div>
<hr class=clear>
{%endblock%}

0 comments on commit c067690

Please sign in to comment.