Skip to content

Commit 907e98c

Browse files
authored
Correct book image link paths to be absolute
1 parent 7bcb176 commit 907e98c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/app/services/constants.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -520,42 +520,42 @@ export const ISAAC_BOOKS: BookInfo[] = siteSpecific(
520520
[
521521
{
522522
title: "Step up to GCSE Physics", value: "phys_book_step_up",
523-
label: "Step up to GCSE Physics", image: "assets/phy/books/step_up_phys.jpg",
523+
label: "Step up to GCSE Physics", image: "/assets/phy/books/step_up_phys.jpg",
524524
path: "/books/step_up_phys", subject: "physics", stages: ["11_14"]
525525
},
526526
{
527527
title: "GCSE Physics", value: "phys_book_gcse",
528-
label: "GCSE Physics", image: "assets/phy/books/phys_book_gcse.jpg",
528+
label: "GCSE Physics", image: "/assets/phy/books/phys_book_gcse.jpg",
529529
path: "/books/phys_book_gcse", subject: "physics", stages: ["gcse"]
530530
},
531531
{
532532
title: "Pre-University Physics", value: "physics_skills_19",
533-
label: "A Level Physics (3rd Edition)", image: "assets/phy/books/physics_skills_19.jpg",
533+
label: "A Level Physics (3rd Edition)", image: "/assets/phy/books/physics_skills_19.jpg",
534534
path: "/books/physics_skills_19", subject: "physics", stages: ["a_level"]
535535
},
536536
{
537537
title: "Linking Concepts in Pre-University Physics", value: "physics_linking_concepts",
538-
label: "Linking Concepts in Pre-Uni Physics", image: "assets/phy/books/linking_concepts.png",
538+
label: "Linking Concepts in Pre-Uni Physics", image: "/assets/phy/books/linking_concepts.png",
539539
path: "/books/linking_concepts", subject: "physics", stages: ["a_level"]
540540
},
541541
{
542542
title: "Using Essential GCSE Mathematics", value: "maths_book_gcse",
543-
label: "GCSE Maths", image: "assets/phy/books/2021_maths_book_gcse.jpg",
543+
label: "GCSE Maths", image: "/assets/phy/books/2021_maths_book_gcse.jpg",
544544
path: "/books/maths_book_gcse", subject: "maths", stages: ["gcse"]
545545
},
546546
{
547547
title: "Mathematics for Sciences (2nd edition)", value: "maths_book_2e",
548-
label: "Pre-Uni Maths (2nd edition)", image: "assets/phy/books/pre_uni_maths_2e.jpg",
548+
label: "Pre-Uni Maths (2nd edition)", image: "/assets/phy/books/pre_uni_maths_2e.jpg",
549549
path: "/books/pre_uni_maths_2e", subject: "maths", stages: ["a_level"]
550550
},
551551
{
552552
title: "Mathematics for Sciences (1st edition)", value: "maths_book",
553-
label: "Pre-Uni Maths (1st edition)", image: "assets/phy/books/pre_uni_maths.jpg",
553+
label: "Pre-Uni Maths (1st edition)", image: "/assets/phy/books/pre_uni_maths.jpg",
554554
path: "/books/pre_uni_maths", subject: "maths", stages: ["a_level"]
555555
},
556556
{
557557
title: "Pre-University Physical Chemistry", value: "chemistry_16",
558-
label: "A-Level Physical Chemistry", image: "assets/phy/books/chemistry_16.jpg",
558+
label: "A-Level Physical Chemistry", image: "/assets/phy/books/chemistry_16.jpg",
559559
path: "/books/chemistry_16", subject: "chemistry", stages: ["a_level"]
560560
}
561561
],

0 commit comments

Comments
 (0)