diff --git a/.storybook/main.ts b/.storybook/main.ts index 7416935c..62efdc62 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -27,6 +27,6 @@ const config = { docs: { autodocs: "tag", }, - staticDirs: ["./public", "../public"], + staticDirs: ["./public"], }; export default config; diff --git a/README.md b/README.md index f488920a..19aa3d6c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This library is suitable for use in an app using React 18 and Next.js 13.5+ You can install it using `npm i @oaknational/oak-components` or any other package manager that supports the NPM registry. -๐Ÿ‘‰ You'll need two environment variables to enable images `NEXT_PUBLIC_OAK_ASSETS_HOST` and `NEXT_PUBLIC_OAK_ASSETS_PATH`. Values for these can be obtained from the `.env` config from OWA or from a fellow engineer. +๐Ÿ‘‰ You'll need two environment variables to enable icons `NEXT_PUBLIC_OAK_ASSETS_HOST` and `NEXT_PUBLIC_OAK_ASSETS_PATH`. Values for these can be obtained from the `.env` config from OWA or from a fellow engineer. ### Theming, global styles and fonts @@ -65,9 +65,9 @@ The release process is driven by the commit messages, following the [Conventiona Hereโ€™s a summary of the commit types that trigger a release: -- Patch release (x.x.x): Commits that start with `fix:` or contain other conventional keywords indicating bug fixes. -- Minor release (x.x.0): Commits that start with `feat:` indicate a new feature but not a breaking change. -- Major release (x.0.0): Commits that contain `BREAKING CHANGE:` in their description, which indicates a breaking change that requires a major version bump. +* Patch release (x.x.x): Commits that start with `fix:` or contain other conventional keywords indicating bug fixes. +* Minor release (x.x.0): Commits that start with `feat:` indicate a new feature but not a breaking change. +* Major release (x.0.0): Commits that contain `BREAKING CHANGE:` in their description, which indicates a breaking change that requires a major version bump. Commit messages that begin with `chore`, `refactor` or `docs`, etc. will not trigger the release process. diff --git a/public/svgs/homepage/homepage-robot-waving.svg b/public/svgs/homepage/homepage-robot-waving.svg deleted file mode 100644 index 0445e3ec..00000000 --- a/public/svgs/homepage/homepage-robot-waving.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/public/svgs/homepage/homepage-teacher-map.svg b/public/svgs/homepage/homepage-teacher-map.svg deleted file mode 100644 index 691cceb3..00000000 --- a/public/svgs/homepage/homepage-teacher-map.svg +++ /dev/null @@ -1,503 +0,0 @@ - - - - - diff --git a/public/svgs/homepage/homepage-teacher.svg b/public/svgs/homepage/homepage-teacher.svg deleted file mode 100644 index e3c3b97b..00000000 --- a/public/svgs/homepage/homepage-teacher.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/svgs/homepage/homepage-three-pupils.svg b/public/svgs/homepage/homepage-three-pupils.svg deleted file mode 100644 index 977e271f..00000000 --- a/public/svgs/homepage/homepage-three-pupils.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/additional-material.svg b/public/svgs/icons/additional-material.svg deleted file mode 100644 index 374270cb..00000000 --- a/public/svgs/icons/additional-material.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/arrow-down.svg b/public/svgs/icons/arrow-down.svg deleted file mode 100644 index 9937778a..00000000 --- a/public/svgs/icons/arrow-down.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/arrow-left.svg b/public/svgs/icons/arrow-left.svg deleted file mode 100644 index f2f8990b..00000000 --- a/public/svgs/icons/arrow-left.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/arrow-right.svg b/public/svgs/icons/arrow-right.svg deleted file mode 100644 index e6faa947..00000000 --- a/public/svgs/icons/arrow-right.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/arrow-up.svg b/public/svgs/icons/arrow-up.svg deleted file mode 100644 index 3231d8ab..00000000 --- a/public/svgs/icons/arrow-up.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/bell.svg b/public/svgs/icons/bell.svg deleted file mode 100644 index 9986db02..00000000 --- a/public/svgs/icons/bell.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/books.svg b/public/svgs/icons/books.svg deleted file mode 100644 index a212928a..00000000 --- a/public/svgs/icons/books.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/public/svgs/icons/chevron-down.svg b/public/svgs/icons/chevron-down.svg deleted file mode 100644 index 0aef0eda..00000000 --- a/public/svgs/icons/chevron-down.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/chevron-left.svg b/public/svgs/icons/chevron-left.svg deleted file mode 100644 index 6e6f660e..00000000 --- a/public/svgs/icons/chevron-left.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/chevron-right.svg b/public/svgs/icons/chevron-right.svg deleted file mode 100644 index 559c9b9b..00000000 --- a/public/svgs/icons/chevron-right.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/chevron-up.svg b/public/svgs/icons/chevron-up.svg deleted file mode 100644 index edb42a91..00000000 --- a/public/svgs/icons/chevron-up.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/content-guidance.svg b/public/svgs/icons/content-guidance.svg deleted file mode 100644 index 8935ef4c..00000000 --- a/public/svgs/icons/content-guidance.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/copy.svg b/public/svgs/icons/copy.svg deleted file mode 100644 index ae2b1fc7..00000000 --- a/public/svgs/icons/copy.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/copyright.svg b/public/svgs/icons/copyright.svg deleted file mode 100644 index 7546e404..00000000 --- a/public/svgs/icons/copyright.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/cross.svg b/public/svgs/icons/cross.svg deleted file mode 100644 index 47638045..00000000 --- a/public/svgs/icons/cross.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/dot-png.png b/public/svgs/icons/dot-png.png deleted file mode 100644 index 9c9540b5..00000000 Binary files a/public/svgs/icons/dot-png.png and /dev/null differ diff --git a/public/svgs/icons/dot.svg b/public/svgs/icons/dot.svg deleted file mode 100644 index 62aca4a7..00000000 --- a/public/svgs/icons/dot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/download.svg b/public/svgs/icons/download.svg deleted file mode 100644 index 02b7e43b..00000000 --- a/public/svgs/icons/download.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/edit.svg b/public/svgs/icons/edit.svg deleted file mode 100644 index 40284633..00000000 --- a/public/svgs/icons/edit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/equipment-required.svg b/public/svgs/icons/equipment-required.svg deleted file mode 100644 index ab260fb4..00000000 --- a/public/svgs/icons/equipment-required.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/error.svg b/public/svgs/icons/error.svg deleted file mode 100644 index 49bf9f55..00000000 --- a/public/svgs/icons/error.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/public/svgs/icons/expand.svg b/public/svgs/icons/expand.svg deleted file mode 100644 index 7810a75a..00000000 --- a/public/svgs/icons/expand.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/svgs/icons/external.svg b/public/svgs/icons/external.svg deleted file mode 100644 index e66b01d2..00000000 --- a/public/svgs/icons/external.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/facebook.svg b/public/svgs/icons/facebook.svg deleted file mode 100644 index 884f62c1..00000000 --- a/public/svgs/icons/facebook.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/public/svgs/icons/filter.svg b/public/svgs/icons/filter.svg deleted file mode 100644 index ccc7965e..00000000 --- a/public/svgs/icons/filter.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/svgs/icons/go.svg b/public/svgs/icons/go.svg deleted file mode 100644 index 5b71b2af..00000000 --- a/public/svgs/icons/go.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/hamburger.svg b/public/svgs/icons/hamburger.svg deleted file mode 100644 index 3877214d..00000000 --- a/public/svgs/icons/hamburger.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/home.svg b/public/svgs/icons/home.svg deleted file mode 100644 index 6b9bd4ab..00000000 --- a/public/svgs/icons/home.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/info.svg b/public/svgs/icons/info.svg deleted file mode 100644 index 72e12038..00000000 --- a/public/svgs/icons/info.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/instagram.svg b/public/svgs/icons/instagram.svg deleted file mode 100644 index 0c4adf2e..00000000 --- a/public/svgs/icons/instagram.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/public/svgs/icons/intro.svg b/public/svgs/icons/intro.svg deleted file mode 100644 index e137a28f..00000000 --- a/public/svgs/icons/intro.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/public/svgs/icons/lightbulb-yellow.svg b/public/svgs/icons/lightbulb-yellow.svg deleted file mode 100644 index e53d05f3..00000000 --- a/public/svgs/icons/lightbulb-yellow.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/svgs/icons/lightbulb.svg b/public/svgs/icons/lightbulb.svg deleted file mode 100644 index 450dccb3..00000000 --- a/public/svgs/icons/lightbulb.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/public/svgs/icons/linkedin.svg b/public/svgs/icons/linkedin.svg deleted file mode 100644 index ecd20b77..00000000 --- a/public/svgs/icons/linkedin.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/public/svgs/icons/magic-carpet.svg b/public/svgs/icons/magic-carpet.svg deleted file mode 100644 index 16f0058a..00000000 --- a/public/svgs/icons/magic-carpet.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/minimise.svg b/public/svgs/icons/minimise.svg deleted file mode 100644 index 0e3215d4..00000000 --- a/public/svgs/icons/minimise.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/svgs/icons/move-arrows.svg b/public/svgs/icons/move-arrows.svg deleted file mode 100644 index dfa2dd0f..00000000 --- a/public/svgs/icons/move-arrows.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/play.svg b/public/svgs/icons/play.svg deleted file mode 100644 index 73991a9e..00000000 --- a/public/svgs/icons/play.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/svgs/icons/project.svg b/public/svgs/icons/project.svg deleted file mode 100644 index 27d82c76..00000000 --- a/public/svgs/icons/project.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/question-mark.svg b/public/svgs/icons/question-mark.svg deleted file mode 100644 index 68b426b1..00000000 --- a/public/svgs/icons/question-mark.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/quiz-3.svg b/public/svgs/icons/quiz-3.svg deleted file mode 100644 index 4ea33ac9..00000000 --- a/public/svgs/icons/quiz-3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/quiz-white.svg b/public/svgs/icons/quiz-white.svg deleted file mode 100644 index 216b316e..00000000 --- a/public/svgs/icons/quiz-white.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/icons/quiz.svg b/public/svgs/icons/quiz.svg deleted file mode 100644 index 1ec9c374..00000000 --- a/public/svgs/icons/quiz.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/icons/rocket.svg b/public/svgs/icons/rocket.svg deleted file mode 100644 index 4cf5f51a..00000000 --- a/public/svgs/icons/rocket.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/save.svg b/public/svgs/icons/save.svg deleted file mode 100644 index 92e30a59..00000000 --- a/public/svgs/icons/save.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/search.svg b/public/svgs/icons/search.svg deleted file mode 100644 index 5830e602..00000000 --- a/public/svgs/icons/search.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/send.svg b/public/svgs/icons/send.svg deleted file mode 100644 index db3bc1d1..00000000 --- a/public/svgs/icons/send.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/share.svg b/public/svgs/icons/share.svg deleted file mode 100644 index 687e16d9..00000000 --- a/public/svgs/icons/share.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/sign-language.svg b/public/svgs/icons/sign-language.svg deleted file mode 100644 index 5cca1b85..00000000 --- a/public/svgs/icons/sign-language.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/slide-deck-3.svg b/public/svgs/icons/slide-deck-3.svg deleted file mode 100644 index d6683695..00000000 --- a/public/svgs/icons/slide-deck-3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/slide-deck.svg b/public/svgs/icons/slide-deck.svg deleted file mode 100644 index 4ca6c9a2..00000000 --- a/public/svgs/icons/slide-deck.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/icons/success.svg b/public/svgs/icons/success.svg deleted file mode 100644 index 4128fb35..00000000 --- a/public/svgs/icons/success.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/public/svgs/icons/supervision-level.svg b/public/svgs/icons/supervision-level.svg deleted file mode 100644 index b5922c8f..00000000 --- a/public/svgs/icons/supervision-level.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/teacher-lesson.svg b/public/svgs/icons/teacher-lesson.svg deleted file mode 100644 index e37d944c..00000000 --- a/public/svgs/icons/teacher-lesson.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/teacher-unit.svg b/public/svgs/icons/teacher-unit.svg deleted file mode 100644 index 23a82366..00000000 --- a/public/svgs/icons/teacher-unit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/tick.svg b/public/svgs/icons/tick.svg deleted file mode 100644 index 9ceaac25..00000000 --- a/public/svgs/icons/tick.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/icons/twitter.svg b/public/svgs/icons/twitter.svg deleted file mode 100644 index e224df3b..00000000 --- a/public/svgs/icons/twitter.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/video.svg b/public/svgs/icons/video.svg deleted file mode 100644 index 44d20c91..00000000 --- a/public/svgs/icons/video.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/public/svgs/icons/warning.svg b/public/svgs/icons/warning.svg deleted file mode 100644 index 86388838..00000000 --- a/public/svgs/icons/warning.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/svgs/icons/worksheet-3.svg b/public/svgs/icons/worksheet-3.svg deleted file mode 100644 index 3f04a023..00000000 --- a/public/svgs/icons/worksheet-3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/icons/worksheet.svg b/public/svgs/icons/worksheet.svg deleted file mode 100644 index 4b6f5561..00000000 --- a/public/svgs/icons/worksheet.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/confetti-lavender.svg b/public/svgs/pupil-journey/confetti-lavender.svg deleted file mode 100644 index 5a197015..00000000 --- a/public/svgs/pupil-journey/confetti-lavender.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/svgs/pupil-journey/confetti-mint.svg b/public/svgs/pupil-journey/confetti-mint.svg deleted file mode 100644 index 927bc9ee..00000000 --- a/public/svgs/pupil-journey/confetti-mint.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/svgs/pupil-journey/confetti-pink.svg b/public/svgs/pupil-journey/confetti-pink.svg deleted file mode 100644 index 4ff862c1..00000000 --- a/public/svgs/pupil-journey/confetti-pink.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/svgs/pupil-journey/lesson/lesson-confetti-green-lemon.svg b/public/svgs/pupil-journey/lesson/lesson-confetti-green-lemon.svg deleted file mode 100644 index 3b9b7bcb..00000000 --- a/public/svgs/pupil-journey/lesson/lesson-confetti-green-lemon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/lesson/lesson-confetti-green.svg b/public/svgs/pupil-journey/lesson/lesson-confetti-green.svg deleted file mode 100644 index f3d3a8c2..00000000 --- a/public/svgs/pupil-journey/lesson/lesson-confetti-green.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/lesson/lesson-confetti-lavender.svg b/public/svgs/pupil-journey/lesson/lesson-confetti-lavender.svg deleted file mode 100644 index 85efe0cf..00000000 --- a/public/svgs/pupil-journey/lesson/lesson-confetti-lavender.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/lesson/lesson-confetti-mint.svg b/public/svgs/pupil-journey/lesson/lesson-confetti-mint.svg deleted file mode 100644 index 5ff48d54..00000000 --- a/public/svgs/pupil-journey/lesson/lesson-confetti-mint.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/lesson/lesson-confetti-pink.svg b/public/svgs/pupil-journey/lesson/lesson-confetti-pink.svg deleted file mode 100644 index eb338543..00000000 --- a/public/svgs/pupil-journey/lesson/lesson-confetti-pink.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/svgs/pupil-journey/line-lavender.svg b/public/svgs/pupil-journey/line-lavender.svg deleted file mode 100644 index 8b2e9ca4..00000000 --- a/public/svgs/pupil-journey/line-lavender.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/pupil-journey/line-mint.svg b/public/svgs/pupil-journey/line-mint.svg deleted file mode 100644 index 5ad5fed1..00000000 --- a/public/svgs/pupil-journey/line-mint.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/pupil-journey/line-pink.svg b/public/svgs/pupil-journey/line-pink.svg deleted file mode 100644 index ed1e4a7b..00000000 --- a/public/svgs/pupil-journey/line-pink.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/art.svg b/public/svgs/subject-icons/art.svg deleted file mode 100644 index a3bacd30..00000000 --- a/public/svgs/subject-icons/art.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/biology.svg b/public/svgs/subject-icons/biology.svg deleted file mode 100644 index 97569f95..00000000 --- a/public/svgs/subject-icons/biology.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/chemistry.svg b/public/svgs/subject-icons/chemistry.svg deleted file mode 100644 index 5d6ad10f..00000000 --- a/public/svgs/subject-icons/chemistry.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/citizenship.svg b/public/svgs/subject-icons/citizenship.svg deleted file mode 100644 index 83f184cc..00000000 --- a/public/svgs/subject-icons/citizenship.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/communication-and-language.svg b/public/svgs/subject-icons/communication-and-language.svg deleted file mode 100644 index e38ed1d5..00000000 --- a/public/svgs/subject-icons/communication-and-language.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/computing.svg b/public/svgs/subject-icons/computing.svg deleted file mode 100644 index adafd831..00000000 --- a/public/svgs/subject-icons/computing.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/cooking-nutrition.svg b/public/svgs/subject-icons/cooking-nutrition.svg deleted file mode 100644 index 4dbcde86..00000000 --- a/public/svgs/subject-icons/cooking-nutrition.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/creative-arts.svg b/public/svgs/subject-icons/creative-arts.svg deleted file mode 100644 index 2f77bff2..00000000 --- a/public/svgs/subject-icons/creative-arts.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/design-technology.svg b/public/svgs/subject-icons/design-technology.svg deleted file mode 100644 index 71aa7895..00000000 --- a/public/svgs/subject-icons/design-technology.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/drama.svg b/public/svgs/subject-icons/drama.svg deleted file mode 100644 index 211802b1..00000000 --- a/public/svgs/subject-icons/drama.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/english-grammar.svg b/public/svgs/subject-icons/english-grammar.svg deleted file mode 100644 index d31a37fc..00000000 --- a/public/svgs/subject-icons/english-grammar.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/english-spelling.svg b/public/svgs/subject-icons/english-spelling.svg deleted file mode 100644 index 78288fbf..00000000 --- a/public/svgs/subject-icons/english-spelling.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/english.svg b/public/svgs/subject-icons/english.svg deleted file mode 100644 index d0378133..00000000 --- a/public/svgs/subject-icons/english.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/french.svg b/public/svgs/subject-icons/french.svg deleted file mode 100644 index 324e434b..00000000 --- a/public/svgs/subject-icons/french.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/public/svgs/subject-icons/geography.svg b/public/svgs/subject-icons/geography.svg deleted file mode 100644 index c30c748b..00000000 --- a/public/svgs/subject-icons/geography.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/german.svg b/public/svgs/subject-icons/german.svg deleted file mode 100644 index af2bb042..00000000 --- a/public/svgs/subject-icons/german.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/svgs/subject-icons/handwriting.svg b/public/svgs/subject-icons/handwriting.svg deleted file mode 100644 index 96d4ed4d..00000000 --- a/public/svgs/subject-icons/handwriting.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/history.svg b/public/svgs/subject-icons/history.svg deleted file mode 100644 index bc945640..00000000 --- a/public/svgs/subject-icons/history.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/independent-living.svg b/public/svgs/subject-icons/independent-living.svg deleted file mode 100644 index 784512cf..00000000 --- a/public/svgs/subject-icons/independent-living.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/latin.svg b/public/svgs/subject-icons/latin.svg deleted file mode 100644 index 26d8a7a3..00000000 --- a/public/svgs/subject-icons/latin.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/literature.svg b/public/svgs/subject-icons/literature.svg deleted file mode 100644 index eea53863..00000000 --- a/public/svgs/subject-icons/literature.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/maths.svg b/public/svgs/subject-icons/maths.svg deleted file mode 100644 index d3c44da0..00000000 --- a/public/svgs/subject-icons/maths.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/music-hollow.svg b/public/svgs/subject-icons/music-hollow.svg deleted file mode 100644 index d3467c88..00000000 --- a/public/svgs/subject-icons/music-hollow.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/numeracy.svg b/public/svgs/subject-icons/numeracy.svg deleted file mode 100644 index 5fcd1e3b..00000000 --- a/public/svgs/subject-icons/numeracy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/physical-development.svg b/public/svgs/subject-icons/physical-development.svg deleted file mode 100644 index cceca7ad..00000000 --- a/public/svgs/subject-icons/physical-development.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/physical-education.svg b/public/svgs/subject-icons/physical-education.svg deleted file mode 100644 index 331d68b1..00000000 --- a/public/svgs/subject-icons/physical-education.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/physical-therapy.svg b/public/svgs/subject-icons/physical-therapy.svg deleted file mode 100644 index bbfbe86d..00000000 --- a/public/svgs/subject-icons/physical-therapy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/physics.svg b/public/svgs/subject-icons/physics.svg deleted file mode 100644 index 5497047a..00000000 --- a/public/svgs/subject-icons/physics.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/reading-writing-oracy.svg b/public/svgs/subject-icons/reading-writing-oracy.svg deleted file mode 100644 index 5bbbd81c..00000000 --- a/public/svgs/subject-icons/reading-writing-oracy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/religious-education.svg b/public/svgs/subject-icons/religious-education.svg deleted file mode 100644 index 14766224..00000000 --- a/public/svgs/subject-icons/religious-education.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/rshe-pshe.svg b/public/svgs/subject-icons/rshe-pshe.svg deleted file mode 100644 index d4f8a4ae..00000000 --- a/public/svgs/subject-icons/rshe-pshe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/science.svg b/public/svgs/subject-icons/science.svg deleted file mode 100644 index c7362abc..00000000 --- a/public/svgs/subject-icons/science.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/sensory-integration.svg b/public/svgs/subject-icons/sensory-integration.svg deleted file mode 100644 index 0ec658a8..00000000 --- a/public/svgs/subject-icons/sensory-integration.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/spanish.svg b/public/svgs/subject-icons/spanish.svg deleted file mode 100644 index f2e0b810..00000000 --- a/public/svgs/subject-icons/spanish.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/public/svgs/subject-icons/speech-and-language.svg b/public/svgs/subject-icons/speech-and-language.svg deleted file mode 100644 index cb7bd91c..00000000 --- a/public/svgs/subject-icons/speech-and-language.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/swimming.svg b/public/svgs/subject-icons/swimming.svg deleted file mode 100644 index 026da724..00000000 --- a/public/svgs/subject-icons/swimming.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/svgs/subject-icons/therapy.svg b/public/svgs/subject-icons/therapy.svg deleted file mode 100644 index 09016d89..00000000 --- a/public/svgs/subject-icons/therapy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/understanding-the-world.svg b/public/svgs/subject-icons/understanding-the-world.svg deleted file mode 100644 index 993e08e9..00000000 --- a/public/svgs/subject-icons/understanding-the-world.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/subject-icons/vocabulary.svg b/public/svgs/subject-icons/vocabulary.svg deleted file mode 100644 index e10c6c1f..00000000 --- a/public/svgs/subject-icons/vocabulary.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svgs/teacher-journey/audio-clip-small.svg b/public/svgs/teacher-journey/audio-clip-small.svg deleted file mode 100644 index 585ee054..00000000 --- a/public/svgs/teacher-journey/audio-clip-small.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/svgs/ui-graphics/loopdown.svg b/public/svgs/ui-graphics/loopdown.svg deleted file mode 100644 index 9d4e2802..00000000 --- a/public/svgs/ui-graphics/loopdown.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/atoms/OakIcon/OakIcon.test.tsx b/src/components/atoms/OakIcon/OakIcon.test.tsx index 4b3737a6..c8fc7112 100644 --- a/src/components/atoms/OakIcon/OakIcon.test.tsx +++ b/src/components/atoms/OakIcon/OakIcon.test.tsx @@ -72,16 +72,20 @@ describe("isValidIconName", () => { describe("generateOakIconURL", () => { it("is valid url when the string is a valid icon name", () => { - expect(generateOakIconURL("home")).toBe("svgs/icons/home.svg"); + expect(generateOakIconURL("home")).toBe( + "https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg", + ); }); it("is returns url for question mark when the string is not a valid icon name", () => { expect(generateOakIconURL("banana-sandwich")).toBe( - "svgs/icons/question-mark.svg", + "https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1706872277/icons/question-mark.svg", ); }); it("is returns url for books when the string is not a valid subject icon name", () => { - expect(generateOakIconURL("subject-potions")).toBe("svgs/icons/books.svg"); + expect(generateOakIconURL("subject-potions")).toBe( + "https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953657/icons/hz4l3iq6i68kazvkvorq.svg", + ); }); }); diff --git a/src/components/atoms/OakIcon/OakIcon.tsx b/src/components/atoms/OakIcon/OakIcon.tsx index 63250aff..66a4874b 100644 --- a/src/components/atoms/OakIcon/OakIcon.tsx +++ b/src/components/atoms/OakIcon/OakIcon.tsx @@ -1,6 +1,7 @@ import React from "react"; -import { IconName, icons } from "@/image-map"; +import { IconName, icons } from "../../../image-map"; + import { OakImage, OakImageProps } from "@/components/atoms/OakImage"; export const oakIconNames = Object.keys(icons) as IconName[]; @@ -28,7 +29,7 @@ export function isValidIconName(iconName: string): iconName is OakIconName { * returns a Icon URL from Cloudinary if is a valid icon, otherwise returns undefined */ export function generateOakIconURL(iconName: string) { - const urlPath = `svgs`; + const urlPath = `https://${process.env.NEXT_PUBLIC_OAK_ASSETS_HOST}/${process.env.NEXT_PUBLIC_OAK_ASSETS_PATH}`; if (isValidIconName(iconName)) { return `${urlPath}/${icons[iconName]}`; } else if (iconName.includes("subject")) { diff --git a/src/components/atoms/OakIcon/__snapshots__/OakIcon.test.tsx.snap b/src/components/atoms/OakIcon/__snapshots__/OakIcon.test.tsx.snap index 458e306a..6375f419 100644 --- a/src/components/atoms/OakIcon/__snapshots__/OakIcon.test.tsx.snap +++ b/src/components/atoms/OakIcon/__snapshots__/OakIcon.test.tsx.snap @@ -25,7 +25,7 @@ exports[`OakIcon matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/home.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/InternalChevronAccordion/__snapshots__/InternalChevronAccordion.test.tsx.snap b/src/components/molecules/InternalChevronAccordion/__snapshots__/InternalChevronAccordion.test.tsx.snap index 777ada31..2319e6b1 100644 --- a/src/components/molecules/InternalChevronAccordion/__snapshots__/InternalChevronAccordion.test.tsx.snap +++ b/src/components/molecules/InternalChevronAccordion/__snapshots__/InternalChevronAccordion.test.tsx.snap @@ -199,7 +199,7 @@ exports[`InternalChevronAccordion matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/InternalShadowRectButton/__snapshots__/InternalShadowRectButton.test.tsx.snap b/src/components/molecules/InternalShadowRectButton/__snapshots__/InternalShadowRectButton.test.tsx.snap index 154d8040..bc717b29 100644 --- a/src/components/molecules/InternalShadowRectButton/__snapshots__/InternalShadowRectButton.test.tsx.snap +++ b/src/components/molecules/InternalShadowRectButton/__snapshots__/InternalShadowRectButton.test.tsx.snap @@ -174,7 +174,7 @@ exports[`InternalShadowRectButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/InternalShadowRoundButton/__snapshots__/InternalShadowRoundButton.test.tsx.snap b/src/components/molecules/InternalShadowRoundButton/__snapshots__/InternalShadowRoundButton.test.tsx.snap index 8d0979cb..3940eb94 100644 --- a/src/components/molecules/InternalShadowRoundButton/__snapshots__/InternalShadowRoundButton.test.tsx.snap +++ b/src/components/molecules/InternalShadowRoundButton/__snapshots__/InternalShadowRoundButton.test.tsx.snap @@ -190,7 +190,7 @@ exports[`InternalShadowRoundButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakAccordion/__snapshots__/OakAccordion.test.tsx.snap b/src/components/molecules/OakAccordion/__snapshots__/OakAccordion.test.tsx.snap index b5ec4af6..ba793d3d 100644 --- a/src/components/molecules/OakAccordion/__snapshots__/OakAccordion.test.tsx.snap +++ b/src/components/molecules/OakAccordion/__snapshots__/OakAccordion.test.tsx.snap @@ -138,7 +138,7 @@ exports[`OakAccordion matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakBackLink/__snapshots__/OakBackLink.test.tsx.snap b/src/components/molecules/OakBackLink/__snapshots__/OakBackLink.test.tsx.snap index 4d02eb0f..69ff8d3d 100644 --- a/src/components/molecules/OakBackLink/__snapshots__/OakBackLink.test.tsx.snap +++ b/src/components/molecules/OakBackLink/__snapshots__/OakBackLink.test.tsx.snap @@ -82,7 +82,7 @@ exports[`OakBackLink matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-left.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakCheckBox/__snapshots__/OakCheckbox.test.tsx.snap b/src/components/molecules/OakCheckBox/__snapshots__/OakCheckbox.test.tsx.snap index 21314276..ceccbe04 100644 --- a/src/components/molecules/OakCheckBox/__snapshots__/OakCheckbox.test.tsx.snap +++ b/src/components/molecules/OakCheckBox/__snapshots__/OakCheckbox.test.tsx.snap @@ -148,7 +148,7 @@ input:checked + .c7 { loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakCopyLinkButton/__snapshots__/OakCopyLinkButton.test.tsx.snap b/src/components/molecules/OakCopyLinkButton/__snapshots__/OakCopyLinkButton.test.tsx.snap index 95683e04..a844689d 100644 --- a/src/components/molecules/OakCopyLinkButton/__snapshots__/OakCopyLinkButton.test.tsx.snap +++ b/src/components/molecules/OakCopyLinkButton/__snapshots__/OakCopyLinkButton.test.tsx.snap @@ -202,7 +202,7 @@ exports[`OakCopyLinkButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/copy.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1727861316/icons/Icon_Copy_qxgynv.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakDragAndDropInstructions/__snapshots__/OakDragAndDropInstructions.test.tsx.snap b/src/components/molecules/OakDragAndDropInstructions/__snapshots__/OakDragAndDropInstructions.test.tsx.snap index 16cbe5cd..da19172f 100644 --- a/src/components/molecules/OakDragAndDropInstructions/__snapshots__/OakDragAndDropInstructions.test.tsx.snap +++ b/src/components/molecules/OakDragAndDropInstructions/__snapshots__/OakDragAndDropInstructions.test.tsx.snap @@ -90,7 +90,7 @@ exports[`OakDragAndDropInstructions matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakDraggable/__snapshots__/OakDraggable.test.tsx.snap b/src/components/molecules/OakDraggable/__snapshots__/OakDraggable.test.tsx.snap index 47a287c6..54cfc6b4 100644 --- a/src/components/molecules/OakDraggable/__snapshots__/OakDraggable.test.tsx.snap +++ b/src/components/molecules/OakDraggable/__snapshots__/OakDraggable.test.tsx.snap @@ -129,7 +129,7 @@ exports[`OakDraggable matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakDraggableFeedback/__snapshots__/OakDraggableFeedback.test.tsx.snap b/src/components/molecules/OakDraggableFeedback/__snapshots__/OakDraggableFeedback.test.tsx.snap index 4ba7340f..d6f8c62e 100644 --- a/src/components/molecules/OakDraggableFeedback/__snapshots__/OakDraggableFeedback.test.tsx.snap +++ b/src/components/molecules/OakDraggableFeedback/__snapshots__/OakDraggableFeedback.test.tsx.snap @@ -132,7 +132,7 @@ exports[`OakDraggableFeedback matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakFilterDrawer/__snapshots__/OakFilterDrawer.test.tsx.snap b/src/components/molecules/OakFilterDrawer/__snapshots__/OakFilterDrawer.test.tsx.snap index d7e1d268..591256bb 100644 --- a/src/components/molecules/OakFilterDrawer/__snapshots__/OakFilterDrawer.test.tsx.snap +++ b/src/components/molecules/OakFilterDrawer/__snapshots__/OakFilterDrawer.test.tsx.snap @@ -440,7 +440,7 @@ exports[`OakFilterDrawer matches snapshot when mounted 1`] = ` data-nimg="fill" decoding="async" loading="lazy" - src="http://localhost/svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; color: transparent;" /> diff --git a/src/components/molecules/OakHandDrawnCardWithIcon/__snapshots__/OakHandDrawnCardWithIcon.test.tsx.snap b/src/components/molecules/OakHandDrawnCardWithIcon/__snapshots__/OakHandDrawnCardWithIcon.test.tsx.snap index c822c9d6..aba1c545 100644 --- a/src/components/molecules/OakHandDrawnCardWithIcon/__snapshots__/OakHandDrawnCardWithIcon.test.tsx.snap +++ b/src/components/molecules/OakHandDrawnCardWithIcon/__snapshots__/OakHandDrawnCardWithIcon.test.tsx.snap @@ -135,7 +135,7 @@ exports[`OakHandDrawnCardWithIcon matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/worksheet-3.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895429/icons/bzhojpjxp9rukdvh7daz.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakInlineBanner/__snapshots__/OakInlineBanner.test.tsx.snap b/src/components/molecules/OakInlineBanner/__snapshots__/OakInlineBanner.test.tsx.snap index c2a8d83d..02cfbb64 100644 --- a/src/components/molecules/OakInlineBanner/__snapshots__/OakInlineBanner.test.tsx.snap +++ b/src/components/molecules/OakInlineBanner/__snapshots__/OakInlineBanner.test.tsx.snap @@ -380,7 +380,7 @@ exports[`OakInlineBanner matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/info.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/Icon_Info_vsx3xi.svg" style={ { "bottom": 0, @@ -449,7 +449,7 @@ exports[`OakInlineBanner matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style={ { "bottom": 0, @@ -494,7 +494,7 @@ exports[`OakInlineBanner matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakLessonInfoCard/__snapshots__/OakLessonInfoCard.test.tsx.snap b/src/components/molecules/OakLessonInfoCard/__snapshots__/OakLessonInfoCard.test.tsx.snap index 4cd0dbff..74f64d56 100644 --- a/src/components/molecules/OakLessonInfoCard/__snapshots__/OakLessonInfoCard.test.tsx.snap +++ b/src/components/molecules/OakLessonInfoCard/__snapshots__/OakLessonInfoCard.test.tsx.snap @@ -76,7 +76,7 @@ exports[`OakLessonInfoCard component test matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/question-mark.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1706872277/icons/question-mark.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakMediaClipListAccordion/__snapshots__/OakMediaClipListAccordion.test.tsx.snap b/src/components/molecules/OakMediaClipListAccordion/__snapshots__/OakMediaClipListAccordion.test.tsx.snap index 260166fc..426971b6 100644 --- a/src/components/molecules/OakMediaClipListAccordion/__snapshots__/OakMediaClipListAccordion.test.tsx.snap +++ b/src/components/molecules/OakMediaClipListAccordion/__snapshots__/OakMediaClipListAccordion.test.tsx.snap @@ -254,7 +254,7 @@ exports[`OakMediaClipListAccordion matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakModal/__snapshots__/OakModal.test.tsx.snap b/src/components/molecules/OakModal/__snapshots__/OakModal.test.tsx.snap index 7b93f254..8c331d6b 100644 --- a/src/components/molecules/OakModal/__snapshots__/OakModal.test.tsx.snap +++ b/src/components/molecules/OakModal/__snapshots__/OakModal.test.tsx.snap @@ -330,7 +330,7 @@ exports[`OakModal matches snapshot when mounted 1`] = ` data-nimg="fill" decoding="async" loading="lazy" - src="http://localhost/svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style="position: absolute; height: 100%; width: 100%; left: 0px; top: 0px; right: 0px; bottom: 0px; color: transparent;" /> diff --git a/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenter.test.tsx.snap b/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenter.test.tsx.snap index 0c0a7ca8..6c2c0b43 100644 --- a/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenter.test.tsx.snap +++ b/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenter.test.tsx.snap @@ -328,7 +328,7 @@ exports[`OakModalCenter matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenterBody.test.tsx.snap b/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenterBody.test.tsx.snap index 5184d60c..fe01553e 100644 --- a/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenterBody.test.tsx.snap +++ b/src/components/molecules/OakModalCenter/__snapshots__/OakModalCenterBody.test.tsx.snap @@ -121,7 +121,7 @@ exports[`OakModalCenterBody matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/content-guidance.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954277/icons/tm3uhcqenaznq4fxys7j.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakOutlineAccordion/__snapshots__/OakOutlineAccordion.test.tsx.snap b/src/components/molecules/OakOutlineAccordion/__snapshots__/OakOutlineAccordion.test.tsx.snap index 3dc3c789..5f9db2aa 100644 --- a/src/components/molecules/OakOutlineAccordion/__snapshots__/OakOutlineAccordion.test.tsx.snap +++ b/src/components/molecules/OakOutlineAccordion/__snapshots__/OakOutlineAccordion.test.tsx.snap @@ -251,7 +251,7 @@ exports[`OakOutlineAccordion matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakPrimaryButton/__snapshots__/OakPrimaryButton.test.tsx.snap b/src/components/molecules/OakPrimaryButton/__snapshots__/OakPrimaryButton.test.tsx.snap index c3bdd57d..4996a1fe 100644 --- a/src/components/molecules/OakPrimaryButton/__snapshots__/OakPrimaryButton.test.tsx.snap +++ b/src/components/molecules/OakPrimaryButton/__snapshots__/OakPrimaryButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakPrimaryButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakPrimaryInvertedButton/__snapshots__/OakPrimaryInvertedButton.test.tsx.snap b/src/components/molecules/OakPrimaryInvertedButton/__snapshots__/OakPrimaryInvertedButton.test.tsx.snap index 3e3709d3..c03a7863 100644 --- a/src/components/molecules/OakPrimaryInvertedButton/__snapshots__/OakPrimaryInvertedButton.test.tsx.snap +++ b/src/components/molecules/OakPrimaryInvertedButton/__snapshots__/OakPrimaryInvertedButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakPrimaryInvertedButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakRoundIcon/__snapshots__/OakRoundIcon.test.tsx.snap b/src/components/molecules/OakRoundIcon/__snapshots__/OakRoundIcon.test.tsx.snap index adc19699..d008c674 100644 --- a/src/components/molecules/OakRoundIcon/__snapshots__/OakRoundIcon.test.tsx.snap +++ b/src/components/molecules/OakRoundIcon/__snapshots__/OakRoundIcon.test.tsx.snap @@ -37,7 +37,7 @@ exports[`OakRoundIcon matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/home.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakScaleImageButton/__snapshots__/OakScaleImageButton.test.tsx.snap b/src/components/molecules/OakScaleImageButton/__snapshots__/OakScaleImageButton.test.tsx.snap index 0660786e..6794fa4c 100644 --- a/src/components/molecules/OakScaleImageButton/__snapshots__/OakScaleImageButton.test.tsx.snap +++ b/src/components/molecules/OakScaleImageButton/__snapshots__/OakScaleImageButton.test.tsx.snap @@ -179,7 +179,7 @@ exports[`OakScaleImageButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/expand.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1730982187/Icon_Expand_arrktl.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakSecondaryButton/__snapshots__/OakSecondaryButton.test.tsx.snap b/src/components/molecules/OakSecondaryButton/__snapshots__/OakSecondaryButton.test.tsx.snap index 8e7781cd..44638e45 100644 --- a/src/components/molecules/OakSecondaryButton/__snapshots__/OakSecondaryButton.test.tsx.snap +++ b/src/components/molecules/OakSecondaryButton/__snapshots__/OakSecondaryButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakSecondaryButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakSignLanguageButton/__snapshots__/OakSignLanguageButton.test.tsx.snap b/src/components/molecules/OakSignLanguageButton/__snapshots__/OakSignLanguageButton.test.tsx.snap index 8a53c2e6..bf4bd323 100644 --- a/src/components/molecules/OakSignLanguageButton/__snapshots__/OakSignLanguageButton.test.tsx.snap +++ b/src/components/molecules/OakSignLanguageButton/__snapshots__/OakSignLanguageButton.test.tsx.snap @@ -201,7 +201,7 @@ exports[`OakSignLanguageButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/sign-language.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953861/icons/ns94ozvozzi22enxkx0x.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakSmallPrimaryButton/__snapshots__/OakSmallPrimaryButton.test.tsx.snap b/src/components/molecules/OakSmallPrimaryButton/__snapshots__/OakSmallPrimaryButton.test.tsx.snap index dcbd5d96..1161dfda 100644 --- a/src/components/molecules/OakSmallPrimaryButton/__snapshots__/OakSmallPrimaryButton.test.tsx.snap +++ b/src/components/molecules/OakSmallPrimaryButton/__snapshots__/OakSmallPrimaryButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakSmallPrimaryButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/molecules/OakSmallSecondaryButton/__snapshots__/OakSmallSecondaryButton.test.tsx.snap b/src/components/molecules/OakSmallSecondaryButton/__snapshots__/OakSmallSecondaryButton.test.tsx.snap index c5ac81fe..0ffaf620 100644 --- a/src/components/molecules/OakSmallSecondaryButton/__snapshots__/OakSmallSecondaryButton.test.tsx.snap +++ b/src/components/molecules/OakSmallSecondaryButton/__snapshots__/OakSmallSecondaryButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakSmallSecondaryButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/curriculum/OakDownloadsJourneyChildSubjectTierSelector/__snapshots__/OakDownloadsJourneyChildSubjectTierSelector.test.tsx.snap b/src/components/organisms/curriculum/OakDownloadsJourneyChildSubjectTierSelector/__snapshots__/OakDownloadsJourneyChildSubjectTierSelector.test.tsx.snap index 6a51c52f..c1cdcd4f 100644 --- a/src/components/organisms/curriculum/OakDownloadsJourneyChildSubjectTierSelector/__snapshots__/OakDownloadsJourneyChildSubjectTierSelector.test.tsx.snap +++ b/src/components/organisms/curriculum/OakDownloadsJourneyChildSubjectTierSelector/__snapshots__/OakDownloadsJourneyChildSubjectTierSelector.test.tsx.snap @@ -389,7 +389,7 @@ exports[`OakDownloadsJourneyChildSubjectTierSelector matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/info.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/Icon_Info_vsx3xi.svg" style={ { "bottom": 0, @@ -590,7 +590,7 @@ exports[`OakDownloadsJourneyChildSubjectTierSelector matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/arrow-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707149070/icons/fv0z57zerrioft52dd9n.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyHeader/__snapshots__/OakPupilJourneyHeader.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyHeader/__snapshots__/OakPupilJourneyHeader.test.tsx.snap index 68e1385b..3ff39c8d 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyHeader/__snapshots__/OakPupilJourneyHeader.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneyHeader/__snapshots__/OakPupilJourneyHeader.test.tsx.snap @@ -244,7 +244,7 @@ exports[`OakPupilJourneyHeader matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/subject-icons/science.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/subject-icons/science.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.test.tsx b/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.test.tsx deleted file mode 100644 index 79a2701c..00000000 --- a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.test.tsx +++ /dev/null @@ -1,126 +0,0 @@ -import React from "react"; -import "@testing-library/jest-dom"; -import { create } from "react-test-renderer"; - -import { - OakPupilJourneyLayout, - getBackgroundUrlForSection, - PupilJourneySectionName, - Phase, -} from "./OakPupilJourneyLayout"; - -import renderWithTheme from "@/test-helpers/renderWithTheme"; -import { OakThemeProvider } from "@/components/atoms"; -import { oakDefaultTheme } from "@/styles"; - -describe("OakPupilJourneyLayout", () => { - it("should render successfully", () => { - const { getByText } = renderWithTheme( - -

Hello World

-
, - ); - expect(getByText("Hello World")).toBeInTheDocument(); - }); - - it("matches snapshot", () => { - const tree = create( - - -

Hello World

-
-
, - ).toJSON(); - expect(tree).toMatchSnapshot(); - }); -}); - -describe("getBackgroundUrlForSection", () => { - it("should return the correct background image for lesson-listing primary", () => { - expect(getBackgroundUrlForSection("lesson-listing", "primary")).toBe( - "svgs/pupil-journey/confetti-pink.svg", - ); - }); - - it("should return the correct background image for lesson-listing secondary", () => { - expect(getBackgroundUrlForSection("lesson-listing", "secondary")).toBe( - "svgs/pupil-journey/confetti-lavender.svg", - ); - }); - - it("should return the correct background image for unit-listing primary", () => { - expect(getBackgroundUrlForSection("unit-listing", "primary")).toBe( - "svgs/pupil-journey/line-pink.svg", - ); - }); - - it("should return the correct background image for unit-listing secondary", () => { - expect(getBackgroundUrlForSection("unit-listing", "secondary")).toBe( - "svgs/pupil-journey/line-lavender.svg", - ); - }); - - it("should return the correct background image for subject-listing", () => { - expect(getBackgroundUrlForSection("subject-listing")).toBe( - "svgs/pupil-journey/line-mint.svg", - ); - }); - - it("should return the correct background image for year-listing", () => { - expect(getBackgroundUrlForSection("year-listing")).toBe( - "svgs/pupil-journey/confetti-mint.svg", - ); - }); -}); - -describe("OakPupilJourneyLayout backgroundColor", () => { - const renderComponent = ( - sectionName: PupilJourneySectionName, - phase?: Phase, - ) => - renderWithTheme( - -

Test Content

-
, - ); - - it("should return bg-decorative4-very-subdued for lesson-listing primary", () => { - const { container } = renderComponent("lesson-listing", "primary"); - expect(container.firstChild).toHaveStyle("background: rgb(245, 233, 242)"); - }); - - it("should return bg-decorative3-very-subdued for lesson-listing secondary", () => { - const { container } = renderComponent("lesson-listing", "secondary"); - expect(container.firstChild).toHaveStyle("background: rgb(227, 233, 251)"); - }); - - it("should return bg-decorative4-very-subdued for unit-listing primary", () => { - const { container } = renderComponent("unit-listing", "primary"); - expect(container.firstChild).toHaveStyle("background: rgb(245, 233, 242)"); - }); - - it("should return bg-decorative3-very-subdued for unit-listing secondary", () => { - const { container } = renderComponent("unit-listing", "secondary"); - expect(container.firstChild).toHaveStyle("background: rgb(227, 233, 251)"); - }); - - it("should return bg-decorative4-very-subdued for tier-listing primary", () => { - const { container } = renderComponent("tier-listing", "primary"); - expect(container.firstChild).toHaveStyle("background: rgb(245, 233, 242)"); - }); - - it("should return bg-decorative3-very-subdued for tier-listing secondary", () => { - const { container } = renderComponent("tier-listing", "secondary"); - expect(container.firstChild).toHaveStyle("background: rgb(227, 233, 251)"); - }); - - it("should return bg-decorative1-main for subject-listing", () => { - const { container } = renderComponent("subject-listing"); - expect(container.firstChild).toHaveStyle("background: rgb(190, 242, 189)"); - }); - - it("should return bg-decorative1-main for year-listing", () => { - const { container } = renderComponent("year-listing"); - expect(container.firstChild).toHaveStyle("background: rgb(190, 242, 189)"); - }); -}); diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.tsx b/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.tsx index b150496d..a760505a 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.tsx +++ b/src/components/organisms/pupil/browse/OakPupilJourneyLayout/OakPupilJourneyLayout.tsx @@ -5,7 +5,7 @@ import { OakFlex } from "@/components/atoms"; import { getBreakpoint } from "@/styles/utils/responsiveStyle"; import { backgrounds } from "@/image-map"; -export type PupilJourneySectionName = +type PupilJourneySectionName = | "tier-listing" | "examboard-listing" | "unit-listing" @@ -13,7 +13,7 @@ export type PupilJourneySectionName = | "subject-listing" | "year-listing"; -export type Phase = "primary" | "secondary"; +type Phase = "primary" | "secondary"; export type OakPupilJourneyLayoutProps = { sectionName: PupilJourneySectionName; @@ -96,11 +96,11 @@ export const OakPupilJourneyLayout = ({ ); }; -export function getBackgroundUrlForSection( +function getBackgroundUrlForSection( sectionName: PupilJourneySectionName, phase?: Phase, ) { - const prefix = "svgs/"; + const prefix = `https://${process.env.NEXT_PUBLIC_OAK_ASSETS_HOST}/${process.env.NEXT_PUBLIC_OAK_ASSETS_PATH}/`; switch (sectionName) { case "lesson-listing": return phase === "primary" diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/__snapshots__/OakPupilJourneyLayout.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyLayout/__snapshots__/OakPupilJourneyLayout.test.tsx.snap deleted file mode 100644 index 493ae2e2..00000000 --- a/src/components/organisms/pupil/browse/OakPupilJourneyLayout/__snapshots__/OakPupilJourneyLayout.test.tsx.snap +++ /dev/null @@ -1,52 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`OakPupilJourneyLayout matches snapshot 1`] = ` -.c0 { - padding-left: 0.75rem; - padding-right: 0.75rem; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -@media (min-width:750px) { - .c0 { - padding-left: 1.5rem; - } -} - -@media (min-width:750px) { - .c0 { - padding-right: 1.5rem; - } -} - -@media (min-width:1280px) { - .c2 { - background-image: url(); - background-repeat: no-repeat; - background-position-x: center; - background-size: 100%; - } -} - -
-

- Hello World -

-
-`; diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyListItem/__snapshots__/OakPupilJourneyListItem.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyListItem/__snapshots__/OakPupilJourneyListItem.test.tsx.snap index 47288212..5106b9bc 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyListItem/__snapshots__/OakPupilJourneyListItem.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneyListItem/__snapshots__/OakPupilJourneyListItem.test.tsx.snap @@ -299,7 +299,7 @@ exports[`OakPupilJourneyListItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityButton/__snapshots__/OakPupilJourneyOptionalityButton.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityButton/__snapshots__/OakPupilJourneyOptionalityButton.test.tsx.snap index a8b07e1b..3a21b4d3 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityButton/__snapshots__/OakPupilJourneyOptionalityButton.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityButton/__snapshots__/OakPupilJourneyOptionalityButton.test.tsx.snap @@ -242,7 +242,7 @@ exports[`OakPupilJourneyOptionalityButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityItem/__snapshots__/OakPupilJourneyOptionalityItem.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityItem/__snapshots__/OakPupilJourneyOptionalityItem.test.tsx.snap index fef8fb05..4594320b 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityItem/__snapshots__/OakPupilJourneyOptionalityItem.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneyOptionalityItem/__snapshots__/OakPupilJourneyOptionalityItem.test.tsx.snap @@ -400,7 +400,7 @@ exports[`OakPupilJourneyOptionalityItem component test matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, @@ -481,7 +481,7 @@ exports[`OakPupilJourneyOptionalityItem component test matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneySubjectButton/__snapshots__/OakPupilJourneySubjectButton.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneySubjectButton/__snapshots__/OakPupilJourneySubjectButton.test.tsx.snap index 3792e96b..d6b327ad 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneySubjectButton/__snapshots__/OakPupilJourneySubjectButton.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneySubjectButton/__snapshots__/OakPupilJourneySubjectButton.test.tsx.snap @@ -176,7 +176,7 @@ exports[`OakPupilJourneySubjectButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/subject-icons/english.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/subject-icons/english.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/browse/OakPupilJourneyUnitsFilter/__snapshots__/OakPupilJourneyUnitsFilter.test.tsx.snap b/src/components/organisms/pupil/browse/OakPupilJourneyUnitsFilter/__snapshots__/OakPupilJourneyUnitsFilter.test.tsx.snap index e69a4be6..18b1e8b8 100644 --- a/src/components/organisms/pupil/browse/OakPupilJourneyUnitsFilter/__snapshots__/OakPupilJourneyUnitsFilter.test.tsx.snap +++ b/src/components/organisms/pupil/browse/OakPupilJourneyUnitsFilter/__snapshots__/OakPupilJourneyUnitsFilter.test.tsx.snap @@ -495,7 +495,7 @@ exports[`PupilJourneyUnitsFilter matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/InternalReviewAccordion/__snapshots__/InternalReviewAccordion.test.tsx.snap b/src/components/organisms/pupil/lesson/InternalReviewAccordion/__snapshots__/InternalReviewAccordion.test.tsx.snap index bc0abd09..9a09b5a9 100644 --- a/src/components/organisms/pupil/lesson/InternalReviewAccordion/__snapshots__/InternalReviewAccordion.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/InternalReviewAccordion/__snapshots__/InternalReviewAccordion.test.tsx.snap @@ -253,7 +253,7 @@ exports[`InternalReviewAccordion matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonBottomNav/__snapshots__/OakLessonBottomNav.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonBottomNav/__snapshots__/OakLessonBottomNav.test.tsx.snap index ed0d90a2..dfc0a6b8 100644 --- a/src/components/organisms/pupil/lesson/OakLessonBottomNav/__snapshots__/OakLessonBottomNav.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonBottomNav/__snapshots__/OakLessonBottomNav.test.tsx.snap @@ -306,7 +306,7 @@ exports[`OakLessonBottomNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/lightbulb.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705078631/icons/zldisxmbff36z68rwcef.svg" style={ { "bottom": 0, @@ -507,7 +507,7 @@ exports[`OakLessonBottomNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, @@ -713,7 +713,7 @@ exports[`OakLessonBottomNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style={ { "bottom": 0, @@ -919,7 +919,7 @@ exports[`OakLessonBottomNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.test.tsx b/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.test.tsx deleted file mode 100644 index 5aab7691..00000000 --- a/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.test.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import React from "react"; -import "@testing-library/jest-dom"; -import { create } from "react-test-renderer"; - -import { OakLessonLayout, OakLessonLayoutProps } from "./OakLessonLayout"; - -import renderWithTheme from "@/test-helpers/renderWithTheme"; -import { OakThemeProvider } from "@/components/atoms"; -import { oakDefaultTheme } from "@/styles"; - -describe("OakLessonLayout", () => { - it("should render successfully", () => { - const { getByText } = renderWithTheme( - top nav slot} - bottomNavSlot={
bottom nav slot
} - > -

Hello World

-
, - ); - expect(getByText("Hello World")).toBeInTheDocument(); - }); - - it("matches snapshot", () => { - const tree = create( - - top nav slot} - bottomNavSlot={
bottom nav slot
} - > -

Hello World

-
- , -
, - ).toJSON(); - expect(tree).toMatchSnapshot(); - }); -}); - -describe("OakLessonLayoutProps", () => { - const renderComponent = (props: OakLessonLayoutProps) => - renderWithTheme( - - {props.children} - , - ); - - it("should render with correct background color for overview section in primary phase", () => { - const { container } = renderComponent({ - lessonSectionName: "overview", - phase: "primary", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(229, 209, 224)"); - }); - - it("should render with correct background color for overview section in secondary phase", () => { - const { container } = renderComponent({ - lessonSectionName: "overview", - phase: "secondary", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(198, 209, 239)"); - }); - - it("should render with correct background color for intro section", () => { - const { container } = renderComponent({ - lessonSectionName: "intro", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(206, 231, 229)"); - }); - - it("should render with correct background color for starter-quiz section", () => { - const { container } = renderComponent({ - lessonSectionName: "starter-quiz", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(190, 242, 189)"); - }); - - it("should render with correct background color for video section", () => { - const { container } = renderComponent({ - lessonSectionName: "video", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(229, 209, 224)"); - }); - - it("should render with correct background color for exit-quiz section", () => { - const { container } = renderComponent({ - lessonSectionName: "exit-quiz", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(255, 229, 85)"); - }); - - it("should render with correct background color for review section in primary phase", () => { - const { container } = renderComponent({ - lessonSectionName: "review", - phase: "primary", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(229, 209, 224)"); - }); - - it("should render with correct background color for review section in secondary phase", () => { - const { container } = renderComponent({ - lessonSectionName: "review", - phase: "secondary", - topNavSlot:
top nav slot
, - bottomNavSlot:
bottom nav slot
, - children:

Hello World

, - }); - expect(container.firstChild).toHaveStyle("background: rgb(198, 209, 239)"); - }); -}); diff --git a/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.tsx b/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.tsx index 0c569c7e..44b71dcf 100644 --- a/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.tsx +++ b/src/components/organisms/pupil/lesson/OakLessonLayout/OakLessonLayout.tsx @@ -256,7 +256,7 @@ function getBackgroundUrlForLesson( phase: Phase, celebrate: boolean, ) { - const prefix = "svgs/"; + const prefix = `https://${process.env.NEXT_PUBLIC_OAK_ASSETS_HOST}/${process.env.NEXT_PUBLIC_OAK_ASSETS_PATH}/`; switch (sectionName) { case "overview": return phase === "secondary" diff --git a/src/components/organisms/pupil/lesson/OakLessonLayout/__snapshots__/OakLessonLayout.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonLayout/__snapshots__/OakLessonLayout.test.tsx.snap deleted file mode 100644 index 96d3a29b..00000000 --- a/src/components/organisms/pupil/lesson/OakLessonLayout/__snapshots__/OakLessonLayout.test.tsx.snap +++ /dev/null @@ -1,276 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`OakLessonLayout matches snapshot 1`] = ` -[ - .c0 { - width: 100%; - min-height: 100%; - padding-left: 0rem; - padding-right: 0rem; - background: #c6d1ef; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c2 { - position: relative; - max-width: 80rem; - min-height: 100%; - margin-left: auto; - margin-right: auto; - background: #ffffff; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c4 { - display: none; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c5 { - min-height: 100%; - padding-top: 0rem; - font-family: --var(google-font),Lexend,sans-serif; - z-index: 1; -} - -.c7 { - padding-top: 1.25rem; - padding-bottom: 1.25rem; - padding-left: 1rem; - padding-right: 1rem; - margin-right: 0rem; - background: #ffffff; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c8 { - font-family: --var(google-font),Lexend,sans-serif; -} - -.c9 { - margin-left: 0rem; - margin-right: 0rem; - background: #ffffff; - border-top: 0.25rem solid; - border-color: #a0b6f2; - font-family: --var(google-font),Lexend,sans-serif; -} - -.c3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; -} - -.c6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - gap: 3rem; -} - -.c10 { - position: -webkit-sticky; - position: sticky; - bottom: 0; - z-index: 10; -} - -@media (min-width:750px) { - .c0 { - padding-left: 1.5rem; - } -} - -@media (min-width:750px) { - .c0 { - padding-right: 1.5rem; - } -} - -@media (min-width:750px) { - .c2 { - background: transparent; - } -} - -@media (min-width:750px) { - .c4 { - display: block; - } -} - -@media (min-width:750px) { - .c5 { - padding-top: 1rem; - } -} - -@media (min-width:750px) { - .c7 { - padding-left: 0.5rem; - } -} - -@media (min-width:750px) { - .c7 { - padding-right: 0rem; - } -} - -@media (min-width:750px) { - .c7 { - margin-right: 3rem; - } -} - -@media (min-width:750px) { - .c7 { - background: transparent; - } -} - -@media (min-width:750px) { - .c9 { - margin-left: 0rem; - } -} - -@media (min-width:1280px) { - .c9 { - margin-left: 0.25rem; - } -} - -@media (min-width:750px) { - .c9 { - margin-right: 0rem; - } -} - -@media (min-width:1280px) { - .c9 { - margin-right: 0.25rem; - } -} - -@media (min-width:750px) { - .c9 { - background: #ffffff; - } -} - -@media (min-width:750px) { - .c6 { - gap: 3.5rem; - } -} - -@media (min-width:750px) { - .c1 { - padding-top: 3.5rem; - } -} - -@media (min-width:1280px) { - .c1 { - background-repeat: no-repeat; - background-position-x: center; - background-size: 100%; - } -} - -
-
-
- - - - - - -
-
-
-
- top nav slot -
-
-
-

- Hello World -

-
-
-
- bottom nav slot -
-
-
-
-
, - ",", -] -`; diff --git a/src/components/organisms/pupil/lesson/OakLessonNavItem/__snapshots__/OakLessonNavItem.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonNavItem/__snapshots__/OakLessonNavItem.test.tsx.snap index c84e2998..0bf5fb0b 100644 --- a/src/components/organisms/pupil/lesson/OakLessonNavItem/__snapshots__/OakLessonNavItem.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonNavItem/__snapshots__/OakLessonNavItem.test.tsx.snap @@ -236,7 +236,7 @@ exports[`OakLessonNavItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/intro.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705662092/icons/pl7bnmb13txese9yxkjv.svg" style={ { "bottom": 0, @@ -282,7 +282,7 @@ exports[`OakLessonNavItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonReviewIntroVideo/__snapshots__/OakPupilLessonReviewIntroVideo.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonReviewIntroVideo/__snapshots__/OakPupilLessonReviewIntroVideo.test.tsx.snap index 70f6cfdf..19065dcc 100644 --- a/src/components/organisms/pupil/lesson/OakLessonReviewIntroVideo/__snapshots__/OakPupilLessonReviewIntroVideo.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonReviewIntroVideo/__snapshots__/OakPupilLessonReviewIntroVideo.test.tsx.snap @@ -216,7 +216,7 @@ exports[`OakLessonReviewIntroVideo matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/intro.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705662092/icons/pl7bnmb13txese9yxkjv.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonReviewItem/__snapshots__/OakPupilLessonReviewItem.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonReviewItem/__snapshots__/OakPupilLessonReviewItem.test.tsx.snap index 4b290cc0..248ff270 100644 --- a/src/components/organisms/pupil/lesson/OakLessonReviewItem/__snapshots__/OakPupilLessonReviewItem.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonReviewItem/__snapshots__/OakPupilLessonReviewItem.test.tsx.snap @@ -180,7 +180,7 @@ exports[`OakLessonReviewItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/intro.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705662092/icons/pl7bnmb13txese9yxkjv.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonReviewQuiz/__snapshots__/OakPupilLessonReviewQuiz.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonReviewQuiz/__snapshots__/OakPupilLessonReviewQuiz.test.tsx.snap index 30833060..66f54e3e 100644 --- a/src/components/organisms/pupil/lesson/OakLessonReviewQuiz/__snapshots__/OakPupilLessonReviewQuiz.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonReviewQuiz/__snapshots__/OakPupilLessonReviewQuiz.test.tsx.snap @@ -216,7 +216,7 @@ exports[`OakLessonReviewQuiz matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/quiz.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705416077/icons/kaaizjcudy0jfgfrrdel.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonTopNav/__snapshots__/OakLessonTopNav.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonTopNav/__snapshots__/OakLessonTopNav.test.tsx.snap index 73d47b7e..2726550e 100644 --- a/src/components/organisms/pupil/lesson/OakLessonTopNav/__snapshots__/OakLessonTopNav.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonTopNav/__snapshots__/OakLessonTopNav.test.tsx.snap @@ -226,7 +226,7 @@ exports[`OakLessonTopNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-left.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg" style={ { "bottom": 0, @@ -262,7 +262,7 @@ exports[`OakLessonTopNav matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/intro.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705662092/icons/pl7bnmb13txese9yxkjv.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/lesson/OakLessonVideoTranscript/__snapshots__/OakLessonVideoTranscript.test.tsx.snap b/src/components/organisms/pupil/lesson/OakLessonVideoTranscript/__snapshots__/OakLessonVideoTranscript.test.tsx.snap index 36c6d666..c3712848 100644 --- a/src/components/organisms/pupil/lesson/OakLessonVideoTranscript/__snapshots__/OakLessonVideoTranscript.test.tsx.snap +++ b/src/components/organisms/pupil/lesson/OakLessonVideoTranscript/__snapshots__/OakLessonVideoTranscript.test.tsx.snap @@ -229,7 +229,7 @@ exports[`OakLessonVideoTranscript matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakHintButton/__snapshots__/OakHintButton.test.tsx.snap b/src/components/organisms/pupil/quiz/OakHintButton/__snapshots__/OakHintButton.test.tsx.snap index 1d095a21..bf32e7f2 100644 --- a/src/components/organisms/pupil/quiz/OakHintButton/__snapshots__/OakHintButton.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakHintButton/__snapshots__/OakHintButton.test.tsx.snap @@ -200,7 +200,7 @@ exports[`OakHintButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/lightbulb.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705078631/icons/zldisxmbff36z68rwcef.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakQuizFeedback/__snapshots__/OakQuizFeedback.test.tsx.snap b/src/components/organisms/pupil/quiz/OakQuizFeedback/__snapshots__/OakQuizFeedback.test.tsx.snap index d1e98159..fa89cfdd 100644 --- a/src/components/organisms/pupil/quiz/OakQuizFeedback/__snapshots__/OakQuizFeedback.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakQuizFeedback/__snapshots__/OakQuizFeedback.test.tsx.snap @@ -84,7 +84,7 @@ exports[`OakQuizFeedback matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, @@ -198,7 +198,7 @@ exports[`OakQuizFeedback matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/cross.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699895179/icons/xigimrbivcaxt4omxamp.svg" style={ { "bottom": 0, @@ -312,7 +312,7 @@ exports[`OakQuizFeedback matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/tick.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699954310/icons/efd3esaor6zqk7seh6kt.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakQuizHint/__snapshots__/OakQuizHint.test.tsx.snap b/src/components/organisms/pupil/quiz/OakQuizHint/__snapshots__/OakQuizHint.test.tsx.snap index 4edca17c..38d21529 100644 --- a/src/components/organisms/pupil/quiz/OakQuizHint/__snapshots__/OakQuizHint.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakQuizHint/__snapshots__/OakQuizHint.test.tsx.snap @@ -219,7 +219,7 @@ exports[`OakQuizHint matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/lightbulb.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1705078631/icons/zldisxmbff36z68rwcef.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakQuizMatch/__snapshots__/OakQuizMatch.test.tsx.snap b/src/components/organisms/pupil/quiz/OakQuizMatch/__snapshots__/OakQuizMatch.test.tsx.snap index b49fa453..13e56681 100644 --- a/src/components/organisms/pupil/quiz/OakQuizMatch/__snapshots__/OakQuizMatch.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakQuizMatch/__snapshots__/OakQuizMatch.test.tsx.snap @@ -108,7 +108,7 @@ exports[`OakQuizMatch matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -364,7 +364,7 @@ exports[`OakQuizMatch matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -418,7 +418,7 @@ exports[`OakQuizMatch matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -472,7 +472,7 @@ exports[`OakQuizMatch matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakQuizOrder/__snapshots__/OakQuizOrder.test.tsx.snap b/src/components/organisms/pupil/quiz/OakQuizOrder/__snapshots__/OakQuizOrder.test.tsx.snap index b09907d0..7db86d54 100644 --- a/src/components/organisms/pupil/quiz/OakQuizOrder/__snapshots__/OakQuizOrder.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakQuizOrder/__snapshots__/OakQuizOrder.test.tsx.snap @@ -108,7 +108,7 @@ exports[`OakQuizOrder matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -397,7 +397,7 @@ exports[`OakQuizOrder matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -465,7 +465,7 @@ exports[`OakQuizOrder matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, @@ -533,7 +533,7 @@ exports[`OakQuizOrder matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/move-arrows.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/hoddjsgpzkszgvnmn91q.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/pupil/quiz/OakQuizPrintableHeader/__snapshots__/OakQuizPrintableHeader.test.tsx.snap b/src/components/organisms/pupil/quiz/OakQuizPrintableHeader/__snapshots__/OakQuizPrintableHeader.test.tsx.snap index 1dd65384..79baa296 100644 --- a/src/components/organisms/pupil/quiz/OakQuizPrintableHeader/__snapshots__/OakQuizPrintableHeader.test.tsx.snap +++ b/src/components/organisms/pupil/quiz/OakQuizPrintableHeader/__snapshots__/OakQuizPrintableHeader.test.tsx.snap @@ -206,7 +206,7 @@ exports[`OakQuizPrintableHeader matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/subject-icons/science.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/subject-icons/science.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakHeaderHero/__snapshots__/OakHeaderHero.test.tsx.snap b/src/components/organisms/shared/OakHeaderHero/__snapshots__/OakHeaderHero.test.tsx.snap index d92ad80b..c296c962 100644 --- a/src/components/organisms/shared/OakHeaderHero/__snapshots__/OakHeaderHero.test.tsx.snap +++ b/src/components/organisms/shared/OakHeaderHero/__snapshots__/OakHeaderHero.test.tsx.snap @@ -654,7 +654,7 @@ exports[`OakHeaderHero matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/ui-graphics/loopdown.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699887218/ui-graphics/loopdown.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakHomepageTabButton/__snapshots__/OakHomepageTabButton.test.tsx.snap b/src/components/organisms/shared/OakHomepageTabButton/__snapshots__/OakHomepageTabButton.test.tsx.snap index d2714172..ffe6da44 100644 --- a/src/components/organisms/shared/OakHomepageTabButton/__snapshots__/OakHomepageTabButton.test.tsx.snap +++ b/src/components/organisms/shared/OakHomepageTabButton/__snapshots__/OakHomepageTabButton.test.tsx.snap @@ -234,7 +234,7 @@ exports[`OakHomepageTabButton component matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/homepage/homepage-robot-waving.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1725896980/homepage/robot_waving_malpc3.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakMediaClipList/__snapshots__/OakMediaClipList.test.tsx.snap b/src/components/organisms/shared/OakMediaClipList/__snapshots__/OakMediaClipList.test.tsx.snap index 386f910f..5a9562dd 100644 --- a/src/components/organisms/shared/OakMediaClipList/__snapshots__/OakMediaClipList.test.tsx.snap +++ b/src/components/organisms/shared/OakMediaClipList/__snapshots__/OakMediaClipList.test.tsx.snap @@ -354,7 +354,7 @@ exports[`OakMediaClipList matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakMediaClipStackListItem/__snapshots__/OakMediaClipStackListItem.test.tsx.snap b/src/components/organisms/shared/OakMediaClipStackListItem/__snapshots__/OakMediaClipStackListItem.test.tsx.snap index ce519cb3..57fc701b 100644 --- a/src/components/organisms/shared/OakMediaClipStackListItem/__snapshots__/OakMediaClipStackListItem.test.tsx.snap +++ b/src/components/organisms/shared/OakMediaClipStackListItem/__snapshots__/OakMediaClipStackListItem.test.tsx.snap @@ -318,7 +318,7 @@ exports[`OakMediaClipStackListItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/play.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1732099511/icons/g1xehzuhjnb0xeftmdno.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakPagination/__snapshots__/OakPagination.test.tsx.snap b/src/components/organisms/shared/OakPagination/__snapshots__/OakPagination.test.tsx.snap index 9d8bc1a0..38d07ae9 100644 --- a/src/components/organisms/shared/OakPagination/__snapshots__/OakPagination.test.tsx.snap +++ b/src/components/organisms/shared/OakPagination/__snapshots__/OakPagination.test.tsx.snap @@ -274,7 +274,7 @@ exports[`OakPagination Component matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-left.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg" style={ { "bottom": 0, @@ -456,7 +456,7 @@ exports[`OakPagination Component matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakVideoTranscript/__snapshots__/OakVideoTranscript.test.tsx.snap b/src/components/organisms/shared/OakVideoTranscript/__snapshots__/OakVideoTranscript.test.tsx.snap index d278157b..bdd60755 100644 --- a/src/components/organisms/shared/OakVideoTranscript/__snapshots__/OakVideoTranscript.test.tsx.snap +++ b/src/components/organisms/shared/OakVideoTranscript/__snapshots__/OakVideoTranscript.test.tsx.snap @@ -236,7 +236,7 @@ exports[`OakVideoTranscript matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-down.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1699953557/icons/botfld6brychmttwtv6u.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/Oakinfo/__snapshots__/OakInfo.test.tsx.snap b/src/components/organisms/shared/Oakinfo/__snapshots__/OakInfo.test.tsx.snap index c16a71e0..3573797e 100644 --- a/src/components/organisms/shared/Oakinfo/__snapshots__/OakInfo.test.tsx.snap +++ b/src/components/organisms/shared/Oakinfo/__snapshots__/OakInfo.test.tsx.snap @@ -222,7 +222,7 @@ exports[`OakInfo matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/info.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/Icon_Info_vsx3xi.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/shared/OakinfoButton/__snapshots__/OakInfoButton.test.tsx.snap b/src/components/organisms/shared/OakinfoButton/__snapshots__/OakInfoButton.test.tsx.snap index efee1b8f..52e356dc 100644 --- a/src/components/organisms/shared/OakinfoButton/__snapshots__/OakInfoButton.test.tsx.snap +++ b/src/components/organisms/shared/OakinfoButton/__snapshots__/OakInfoButton.test.tsx.snap @@ -204,7 +204,7 @@ exports[`OakInfoButton matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/info.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1709052869/icons/Icon_Info_vsx3xi.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/teacher/OakSearchFilterCheckBox/__snapshots__/OaKSearchFilterCheckBox.test.tsx.snap b/src/components/organisms/teacher/OakSearchFilterCheckBox/__snapshots__/OaKSearchFilterCheckBox.test.tsx.snap index e11a0004..ae9cf250 100644 --- a/src/components/organisms/teacher/OakSearchFilterCheckBox/__snapshots__/OaKSearchFilterCheckBox.test.tsx.snap +++ b/src/components/organisms/teacher/OakSearchFilterCheckBox/__snapshots__/OaKSearchFilterCheckBox.test.tsx.snap @@ -187,7 +187,7 @@ exports[`OakSearchFilterCheckBox matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/subject-icons/history.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/subject-icons/history.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/teacher/OakUnitListItem/__snapshots__/OakUnitListItem.test.tsx.snap b/src/components/organisms/teacher/OakUnitListItem/__snapshots__/OakUnitListItem.test.tsx.snap index 0c181c83..10c8c0a0 100644 --- a/src/components/organisms/teacher/OakUnitListItem/__snapshots__/OakUnitListItem.test.tsx.snap +++ b/src/components/organisms/teacher/OakUnitListItem/__snapshots__/OakUnitListItem.test.tsx.snap @@ -324,7 +324,7 @@ exports[`OakUnitListItem matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/teacher/OakUnitListOptionalityItemCard/__snapshots__/OakUnitListOptionalityItemCard.test.tsx.snap b/src/components/organisms/teacher/OakUnitListOptionalityItemCard/__snapshots__/OakUnitListOptionalityItemCard.test.tsx.snap index d759b2e0..9e70dfc4 100644 --- a/src/components/organisms/teacher/OakUnitListOptionalityItemCard/__snapshots__/OakUnitListOptionalityItemCard.test.tsx.snap +++ b/src/components/organisms/teacher/OakUnitListOptionalityItemCard/__snapshots__/OakUnitListOptionalityItemCard.test.tsx.snap @@ -163,7 +163,7 @@ exports[`OakUnitListOptionalityItemCard matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/teacher/OakUnitsContainer/__snapshots__/OakUnitsContainer.test.tsx.snap b/src/components/organisms/teacher/OakUnitsContainer/__snapshots__/OakUnitsContainer.test.tsx.snap index 17a38f0b..bc8c4b94 100644 --- a/src/components/organisms/teacher/OakUnitsContainer/__snapshots__/OakUnitsContainer.test.tsx.snap +++ b/src/components/organisms/teacher/OakUnitsContainer/__snapshots__/OakUnitsContainer.test.tsx.snap @@ -490,7 +490,7 @@ exports[`OakUnitsContainer matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/components/organisms/teacher/OakUnitsHeader/__snapshots__/OakUnitsHeader.test.tsx.snap b/src/components/organisms/teacher/OakUnitsHeader/__snapshots__/OakUnitsHeader.test.tsx.snap index a1512e0f..fb35eb4a 100644 --- a/src/components/organisms/teacher/OakUnitsHeader/__snapshots__/OakUnitsHeader.test.tsx.snap +++ b/src/components/organisms/teacher/OakUnitsHeader/__snapshots__/OakUnitsHeader.test.tsx.snap @@ -442,7 +442,7 @@ exports[`OakUnitsHeader matches snapshot 1`] = ` loading="lazy" onError={[Function]} onLoad={[Function]} - src="svgs/icons/chevron-right.svg" + src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1707752509/icons/vk9xxxhnsltsickom6q9.svg" style={ { "bottom": 0, diff --git a/src/image-map.ts b/src/image-map.ts index cf37c76f..de27c5bc 100644 --- a/src/image-map.ts +++ b/src/image-map.ts @@ -1,66 +1,66 @@ export const icons = { - "question-mark": "icons/question-mark.svg", - home: "icons/home.svg", - send: "icons/send.svg", - rocket: "icons/rocket.svg", - edit: "icons/edit.svg", - expand: "icons/expand.svg", - minimise: "icons/minimise.svg", - hamburger: "icons/hamburger.svg", - cross: "icons/cross.svg", - copy: "icons/copy.svg", - bell: "icons/bell.svg", - twitter: "icons/twitter.svg", - worksheet: "icons/worksheet.svg", - facebook: "icons/facebook.svg", - share: "icons/share.svg", - "arrow-right": "icons/arrow-right.svg", - "arrow-down": "icons/arrow-down.svg", - "arrow-left": "icons/arrow-left.svg", - "arrow-up": "icons/arrow-up.svg", - "worksheet-3": "icons/worksheet-3.svg", - "chevron-right": "icons/chevron-right.svg", - save: "icons/save.svg", - success: "icons/success.svg", - error: "icons/error.svg", - filter: "icons/filter.svg", - "quiz-3": "icons/quiz-3.svg", - "chevron-down": "icons/chevron-down.svg", - linkedin: "icons/linkedin.svg", - "magic-carpet": "icons/magic-carpet.svg", - books: "icons/books.svg", - "supervision-level": "icons/supervision-level.svg", - "quiz-white": "icons/quiz-white.svg", - "additional-material": "icons/additional-material.svg", - "slide-deck-3": "icons/slide-deck-3.svg", - "sign-language": "icons/sign-language.svg", - external: "icons/external.svg", - "equipment-required": "icons/equipment-required.svg", - "chevron-left": "icons/chevron-left.svg", - download: "icons/download.svg", - search: "icons/search.svg", - "chevron-up": "icons/chevron-up.svg", - go: "icons/go.svg", - copyright: "icons/copyright.svg", - project: "icons/project.svg", - "slide-deck": "icons/slide-deck.svg", - "content-guidance": "icons/content-guidance.svg", - tick: "icons/tick.svg", - instagram: "icons/instagram.svg", - dot: "icons/dot.svg", - "dot-png": "icons/dot-png.png", - warning: "icons/warning.svg", - "lightbulb-yellow": "icons/lightbulb-yellow.svg", - lightbulb: "icons/lightbulb.svg", - quiz: "icons/quiz.svg", - video: "icons/video.svg", - intro: "icons/intro.svg", - loopdown: "ui-graphics/loopdown.svg", + "question-mark": "v1706872277/icons/question-mark.svg", + home: "v1699887218/icons/gvqxjxcw07ei2kkmwnes.svg", + send: "v1699893673/icons/rmvytilpjgvh3pgwc8ph.svg", + rocket: "v1699894015/icons/u26xm5hteot875ozfnk9.svg", + edit: "v1699894149/icons/qxlunbg5tfrdherzsvlt.svg", + expand: "v1730982187/Icon_Expand_arrktl.svg", + minimise: "v1730982213/Icon_Minimise_btcdbz.svg", + hamburger: "v1699895123/icons/jaqdnomtbhqvjcap962u.svg", + cross: "v1699895179/icons/xigimrbivcaxt4omxamp.svg", + copy: "v1727861316/icons/Icon_Copy_qxgynv.svg", + bell: "v1699895207/icons/ecejtvqerx81prxyxh9b.svg", + twitter: "v1699895251/icons/bq6a50xtkvnzhltfggzz.svg", + worksheet: "v1699895300/icons/ez1s6mtpe5jkunnxzvlw.svg", + facebook: "v1699895330/icons/iojlvh3o5lshy2jupyph.svg", + share: "v1699895363/icons/agcmduftef3wcla6gzec.svg", + "arrow-right": "v1707149070/icons/fv0z57zerrioft52dd9n.svg", + "arrow-down": "v1699954152/icons/wpfmbmwpyfinipg0d61y.svg", + "arrow-left": "v1707149179/icons/ejrm9dpgpzb7ddbo8z2i.svg", + "arrow-up": "v1699954152/icons/arrow-up.svg", + "worksheet-3": "v1699895429/icons/bzhojpjxp9rukdvh7daz.svg", + "chevron-right": "v1707752509/icons/vk9xxxhnsltsickom6q9.svg", + save: "v1699895505/icons/rh1ahwwtbemvz0ihluew.svg", + success: "v1699895534/icons/Icon-Success_aiiprx", + error: "v1699895534/icons/Icon-Error_r25aza.svg", + filter: "v1727783280/icons/Icon_Filter_eitb2p.svg", + "quiz-3": "v1699895534/icons/zoayhgtrotv32fad7d3k.svg", + "chevron-down": "v1699953557/icons/botfld6brychmttwtv6u.svg", + linkedin: "v1699953592/icons/leqneklorqqzb1zo6rf1.svg", + "magic-carpet": "v1699953622/icons/jifivg9xxm7sb0fjdilm.svg", + books: "v1699953657/icons/hz4l3iq6i68kazvkvorq.svg", + "supervision-level": "v1699953696/icons/cwqhknapp3maa4g0t3lj.svg", + "quiz-white": "v1699953730/icons/gpcehpgr9mqoumsa25xe.svg", + "additional-material": "v1699953798/icons/ntoq4tqvcm2uj1pajubt.svg", + "slide-deck-3": "v1699953830/icons/sm92moja9d5utu3cj16c.svg", + "sign-language": "v1699953861/icons/ns94ozvozzi22enxkx0x.svg", + external: "v1699953892/icons/hlxmejse3mcr4tqo6t8u.svg", + "equipment-required": "v1699953925/icons/pw22bdhj2vrzfv2ogi4e.svg", + "chevron-left": "v1707752509/icons/rbvzan0ozubmr4j0uqdn.svg", + download: "v1699953991/icons/dk0f6a6hdpzxftjosngn.svg", + search: "v1704901279/icons/canbi3fuz5fanzom2hvi.svg", + "chevron-up": "v1699954058/icons/pay71thmhhylj7z28sj1.svg", + go: "v1699954090/icons/vdzptyvmitylra8x4usy.svg", + copyright: "v1699954118/icons/boiod3rflocgsnfokyo8.svg", + project: "v1699954186/icons/zofq5pheud6spnwjpewk.svg", + "slide-deck": "v1699954241/icons/sjjy5f3g4eciwcuxxr33.svg", + "content-guidance": "v1699954277/icons/tm3uhcqenaznq4fxys7j.svg", + tick: "v1699954310/icons/efd3esaor6zqk7seh6kt.svg", + instagram: "v1699954343/icons/ayfeljric0kkimdymvva.svg", + dot: "v1699954371/icons/knykdclphkm8lgff4u2g.svg", + "dot-png": "v1699954394/icons/qecbh291nzwmhcvqayqd.png", + warning: "v1704901279/icons/zzszodmk7fvxm9xzzg9s.svg", + "lightbulb-yellow": "v1705078631/icons/q2v4sqxouy1ngcajoavv.svg", + lightbulb: "v1705078631/icons/zldisxmbff36z68rwcef.svg", + quiz: "v1705416077/icons/kaaizjcudy0jfgfrrdel.svg", + video: "v1705416078/icons/wzey1zfxrvv3apeebbf5.svg", + intro: "v1705662092/icons/pl7bnmb13txese9yxkjv.svg", + loopdown: "v1699887218/ui-graphics/loopdown.svg", "teacher-lesson": "icons/teacher-lesson.svg", "teacher-unit": "icons/teacher-unit.svg", - "move-arrows": "icons/move-arrows.svg", - info: "icons/info.svg", - play: "icons/play.svg", + "move-arrows": "v1709052869/icons/hoddjsgpzkszgvnmn91q.svg", + info: "v1709052869/icons/Icon_Info_vsx3xi.svg", + play: "v1732099511/icons/g1xehzuhjnb0xeftmdno.svg", "subject-art": "subject-icons/art.svg", "subject-biology": "subject-icons/biology.svg", "subject-chemistry": "subject-icons/chemistry.svg", @@ -123,11 +123,12 @@ export const icons = { "subject-understanding-the-world": "subject-icons/understanding-the-world.svg", swimming: "subject-icons/swimming.svg", - "homepage-robot-waving": "homepage/homepage-robot-waving.svg", - "homepage-three-pupils": "homepage/homepage-three-pupils.svg", - "homepage-teacher": "homepage/homepage-teacher.svg", - "homepage-teacher-map": "homepage/homepage-teacher-map.svg", - "audio-clip-small": "teacher-journey/audio-clip-small.svg", + "homepage-robot-waving": "v1725896980/homepage/robot_waving_malpc3.svg", + "homepage-three-pupils": "v1725877472/homepage/image-students_g0jtxe.svg", + "homepage-teacher": "v1725882091/homepage/teacher-carrying-stuff_gab2ec.svg", + "homepage-teacher-map": "v1725882279/homepage/teacher-reading-map_glwhyh.svg", + "audio-clip-large": "teacher-journey/audio_clip.svg", + "audio-clip-small": "teacher-journey/audio_clip_small.svg", } as const; export type IconName = keyof typeof icons; @@ -149,3 +150,10 @@ export const backgrounds = { } as const; export type BackgroundName = keyof typeof backgrounds; + +export const assets = { + underline: "v1725550624/underline-1_icqa0u.svg", + "horizontal-rule": "v1725608698/horizontal-rule_rqdc6c.svg", +}; + +export type AssetName = keyof typeof assets;