Skip to content

Commit cd30c8b

Browse files
feat: Book image on home page now directs to book's Amazon page (#598)
## Description The book image showing the Essential C# 12.0 cover is now clickable. Clicking it opens Amazon's page for the book. No open issue for this. ### Ensure that your pull request has followed all the steps below: - [x] Code compilation - [ ] Created tests which fail without the change (if possible) - __N/A__ - [ ] All tests passing - __EssentialCSharp.Web.Tests.FunctionalTests.WhenTheApplicationStarts_ItCanLoadLoadPages(relativeUrl: "/guidelines") does not pass. I believe it's supposed to be pulling from EssentialCSharp.Web/Guidelines/guidelines.json but that does not exist. I'm not sure where it comes from, but I'm going to assume it's handled elsewhere.__ - [ ] Extended the README / documentation, if necessary - __N/A__ --------- Co-authored-by: Benjamin Michaelis <[email protected]>
1 parent f6225b2 commit cd30c8b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

EssentialCSharp.Web/Views/Home/About.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
<div class="row gx-5">
3838
<div class="col-12 col-md-6">
3939
<div class="d-flex align-items-center justify-content-center h-100">
40-
<img src="/images/book.png" class="img-fluid" style="height: 450px" alt="Essential C Sharp Book">
40+
<a href="https://a.co/d/95wxhTg" target="_blank">
41+
<img src="/images/book.png" class="img-fluid" style="height: 450px" alt="Essential C Sharp Book">
42+
</a>
4143
</div>
4244
</div>
4345
<div class="col-12 col-md-6 mt-3">

EssentialCSharp.Web/Views/Home/Home.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
<div class="row gx-5">
2929
<div class="col-12 col-md-6">
3030
<div class="d-flex align-items-center justify-content-center h-100">
31-
<img src="/images/book.png" class="img-fluid" style="height: 450px" alt="Essential C Sharp Book">
31+
<a href="https://a.co/d/95wxhTg" target="_blank">
32+
<img src="/images/book.png" class="img-fluid" style="height: 450px" alt="Essential C Sharp Book">
33+
</a>
3234
</div>
3335
</div>
3436
<div class="col-12 col-md-6 mt-3">

0 commit comments

Comments
 (0)