From 7fa0ff805faf2364ebfe5d97d4474fe630ace89a Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Tue, 11 Sep 2018 17:29:23 +0200 Subject: [PATCH] Update error page design (#1045) no issue * Adding basic 404 animation * Adding bounce to tumbleweeds on error screen * Bump Spirit dependency to 0.0.42 --- ghost/admin/app/templates/error.hbs | 19 +++--- ghost/admin/package.json | 2 +- ghost/admin/public/assets/icons/desert.svg | 59 +++++++++++++++++++ .../admin/public/assets/icons/tumbleweed.svg | 10 ++++ ghost/admin/yarn.lock | 6 +- 5 files changed, 84 insertions(+), 12 deletions(-) create mode 100644 ghost/admin/public/assets/icons/desert.svg create mode 100644 ghost/admin/public/assets/icons/tumbleweed.svg diff --git a/ghost/admin/app/templates/error.hbs b/ghost/admin/app/templates/error.hbs index 5e6b9c21fe..bd7e85ac0b 100644 --- a/ghost/admin/app/templates/error.hbs +++ b/ghost/admin/app/templates/error.hbs @@ -1,12 +1,15 @@
-
-
- -
-

{{code}}

-

{{message}}

-
-
+ +
+
+ {{svg-jar "desert" class="error-background absolute"}} +
{{svg-jar "tumbleweed" class="w6 h6 absolute bouncer-1"}}
+
{{svg-jar "tumbleweed" class="w11 h11 absolute bouncer-2"}}
+
+
+

{{code}}

+

{{message}}

+
{{#if stack}} diff --git a/ghost/admin/package.json b/ghost/admin/package.json index d98bfeb29e..a31c2aa977 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -100,7 +100,7 @@ "eslint": "4.19.1", "eslint-plugin-ghost": "0.0.25", "fs-extra": "4.0.3", - "ghost-spirit": "0.0.41", + "ghost-spirit": "0.0.42", "glob": "7.1.2", "google-caja-bower": "https://github.com/acburdine/google-caja-bower#ghost", "grunt": "1.0.3", diff --git a/ghost/admin/public/assets/icons/desert.svg b/ghost/admin/public/assets/icons/desert.svg new file mode 100644 index 0000000000..447d9168eb --- /dev/null +++ b/ghost/admin/public/assets/icons/desert.svg @@ -0,0 +1,59 @@ + + + + Group 2 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ghost/admin/public/assets/icons/tumbleweed.svg b/ghost/admin/public/assets/icons/tumbleweed.svg new file mode 100644 index 0000000000..3bc33aa0cc --- /dev/null +++ b/ghost/admin/public/assets/icons/tumbleweed.svg @@ -0,0 +1,10 @@ + + + + Fill 1 + Created with Sketch. + + + + + diff --git a/ghost/admin/yarn.lock b/ghost/admin/yarn.lock index a06d7a4e2c..25dc9545d8 100644 --- a/ghost/admin/yarn.lock +++ b/ghost/admin/yarn.lock @@ -5247,9 +5247,9 @@ ghost-ignition@^2.7.0: prettyjson "^1.1.3" uuid "^3.0.0" -ghost-spirit@0.0.41: - version "0.0.41" - resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.41.tgz#6436f264560a9a6287bf2d6fb8f9509004b9fe6a" +ghost-spirit@0.0.42: + version "0.0.42" + resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.42.tgz#31e04c03bd4889be21a714f11031eb6cdaf1e739" dependencies: autoprefixer "8.2.0" bluebird "^3.4.6"