Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to the book #337

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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%}
Loading