Enjoyed this page? Share it:
@@ -29,11 +29,14 @@ namespace CatherineLynwood.TagHelpers
+
Want to follow Catherine Lynwood?
-
-
-
+
";
output.TagName = "div";
diff --git a/CatherineLynwood/Views/Discovery/Index.cshtml b/CatherineLynwood/Views/Discovery/Index.cshtml
index fb28242..3eaeb0b 100644
--- a/CatherineLynwood/Views/Discovery/Index.cshtml
+++ b/CatherineLynwood/Views/Discovery/Index.cshtml
@@ -57,15 +57,32 @@
+
+
Synopsis
The Alpha Flame is an unflinching and deeply emotional story of resilience, love, and survival, set against the vibrant yet tumultuous backdrop of 1983. Through the intersecting lives of two heroines, it delves into the extremes of human suffering and the boundless power of the human spirit to endure, adapt, and rise.
@@ -155,26 +172,40 @@
.then(response => response.json())
.then(data => {
const country = data.country_code;
- let amazonLink = "https://www.amazon.com/dp/B0FBS427VD";
+
+ let kindleLink = "https://www.amazon.com/dp/B0FBS427VD";
+ let paperbackLink = "https://www.amazon.com/dp/1068225815";
+ let extraRetailers = "";
switch (country) {
case "GB":
- amazonLink = "https://www.amazon.co.uk/dp/B0FBS427VD";
+ kindleLink = "https://www.amazon.co.uk/dp/B0FBS427VD";
+ paperbackLink = "https://www.amazon.co.uk/dp/1068225815";
+ extraRetailers = 'Also available at
Waterstons';
break;
case "US":
- amazonLink = "https://www.amazon.com/dp/B0FBS427VD";
+ kindleLink = "https://www.amazon.com/dp/B0FBS427VD";
+ paperbackLink = "https://www.amazon.com/dp/1068225815";
+ extraRetailers = 'Also available at
Barnes & Noble';
break;
case "CA":
- amazonLink = "https://www.amazon.ca/dp/B0FBS427VD";
+ kindleLink = "https://www.amazon.ca/dp/B0FBS427VD";
+ paperbackLink = "https://www.amazon.ca/dp/1068225815";
break;
case "AU":
- amazonLink = "https://www.amazon.com.au/dp/B0FBS427VD";
+ kindleLink = "https://www.amazon.com.au/dp/B0FBS427VD";
+ paperbackLink = "https://www.amazon.com.au/dp/1068225815";
break;
}
- document.getElementById("amazonLink").setAttribute("href", amazonLink);
+ document.getElementById("kindleLink").setAttribute("href", kindleLink);
+ document.getElementById("paperbackLink").setAttribute("href", paperbackLink);
+ document.getElementById("extraRetailers").innerHTML = extraRetailers;
});
+
+
+
}
diff --git a/CatherineLynwood/Views/Discovery/Listen.cshtml b/CatherineLynwood/Views/Discovery/Listen.cshtml
index cedae75..f7219f0 100644
--- a/CatherineLynwood/Views/Discovery/Listen.cshtml
+++ b/CatherineLynwood/Views/Discovery/Listen.cshtml
@@ -52,10 +52,6 @@