From 92957cf8c2a2c2ddde7ecb8d269630f179dbce49 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 21 Aug 2024 17:18:36 -0400 Subject: [PATCH] add 404 pages for Storyteller and FakeYou --- scripts/ci/build-fakeyou.com.sh | 3 + scripts/ci/build-storyteller.ai.sh | 4 + .../fakeyou.com/public/404_fakeyou.html | 143 ++++++++++++++++++ .../fakeyou.com/public/404_storyteller.html | 143 ++++++++++++++++++ 4 files changed, 293 insertions(+) create mode 100644 src/website/packages/fakeyou.com/public/404_fakeyou.html create mode 100644 src/website/packages/fakeyou.com/public/404_storyteller.html diff --git a/scripts/ci/build-fakeyou.com.sh b/scripts/ci/build-fakeyou.com.sh index d4b34a89d0..e1a94da3d3 100755 --- a/scripts/ci/build-fakeyou.com.sh +++ b/scripts/ci/build-fakeyou.com.sh @@ -55,5 +55,8 @@ cp src/netlify_configs/fakeyou.com/_redirects fakeyou.com/ cp src/netlify_configs/fakeyou.com/netlify.toml fakeyou.com/ cp src/netlify_configs/fakeyou.com/netlify.toml ./ +echo "Copying 404 page..." +mv src/website/packages/fakeyou.com/build/404_fakeyou.html fakeyou.com/404.html + echo "List files in build directory" find fakeyou.com/ diff --git a/scripts/ci/build-storyteller.ai.sh b/scripts/ci/build-storyteller.ai.sh index 360f609094..b9f78c451c 100755 --- a/scripts/ci/build-storyteller.ai.sh +++ b/scripts/ci/build-storyteller.ai.sh @@ -56,5 +56,9 @@ cp src/netlify_configs/storyteller.ai/_redirects storyteller.ai/ cp src/netlify_configs/storyteller.ai/netlify.toml storyteller.ai/ cp src/netlify_configs/storyteller.ai/netlify.toml ./ +echo "Copying 404 page..." +# NB: storyteller is part of the "fakeyou.com" build +mv src/website/packages/fakeyou.com/build/404_fakeyou.html storyteller.ai/404.html + echo "List files in build directory" find storyteller.ai/ diff --git a/src/website/packages/fakeyou.com/public/404_fakeyou.html b/src/website/packages/fakeyou.com/public/404_fakeyou.html new file mode 100644 index 0000000000..457b297879 --- /dev/null +++ b/src/website/packages/fakeyou.com/public/404_fakeyou.html @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Storyteller.ai | Your AI creation engine + + + + + + + + + + + + + + + + + + + + + + + +

This Page Could Not Be Found

+ + \ No newline at end of file diff --git a/src/website/packages/fakeyou.com/public/404_storyteller.html b/src/website/packages/fakeyou.com/public/404_storyteller.html new file mode 100644 index 0000000000..457b297879 --- /dev/null +++ b/src/website/packages/fakeyou.com/public/404_storyteller.html @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Storyteller.ai | Your AI creation engine + + + + + + + + + + + + + + + + + + + + + + + +

This Page Could Not Be Found

+ + \ No newline at end of file