From 9f66c9c1d18b8b88e1564db0fbcdab54175fbe9d Mon Sep 17 00:00:00 2001 From: Stefanie Fluin Date: Sun, 16 Apr 2017 20:19:39 -0700 Subject: [PATCH] feat(aio): page not found layout and designs (#16089) Add 404 svg image h1 custom styling PR Close #16089 --- aio/content/file-not-found.md | 10 +++++++-- aio/src/assets/images/support/angular-404.svg | 20 +++++++----------- aio/src/styles/1-layouts/_layout-global.scss | 3 +++ aio/src/styles/1-layouts/_layouts-dir.scss | 3 ++- aio/src/styles/1-layouts/_not-found.scss | 21 +++++++++++++++++++ 5 files changed, 42 insertions(+), 15 deletions(-) create mode 100644 aio/src/styles/1-layouts/_not-found.scss diff --git a/aio/content/file-not-found.md b/aio/content/file-not-found.md index 7cd8a516d5..c03967cd31 100644 --- a/aio/content/file-not-found.md +++ b/aio/content/file-not-found.md @@ -1,3 +1,9 @@ -@title @description -

Document not found

\ No newline at end of file + +
+ +
+

Page Not Found

+

We're sorry. The page you are looking for cannot be found.

+
+
\ No newline at end of file diff --git a/aio/src/assets/images/support/angular-404.svg b/aio/src/assets/images/support/angular-404.svg index 2ddbcde51c..173ea9d2f7 100644 --- a/aio/src/assets/images/support/angular-404.svg +++ b/aio/src/assets/images/support/angular-404.svg @@ -6,21 +6,17 @@ .st0{fill:#E23237;} .st1{fill:#B52E31;} .st2{fill:#FFFFFF;} + .st3{fill:none;stroke:#FFFFFF;stroke-width:10;stroke-linecap:round;stroke-miterlimit:10;} + + + + - - - - - - - + + + diff --git a/aio/src/styles/1-layouts/_layout-global.scss b/aio/src/styles/1-layouts/_layout-global.scss index faee1cfde1..0b124e337e 100644 --- a/aio/src/styles/1-layouts/_layout-global.scss +++ b/aio/src/styles/1-layouts/_layout-global.scss @@ -27,6 +27,9 @@ l-relative { flex-wrap: wrap; } +.flex-center { + justify-content: center; +} .flex-center { display: flex; justify-content: center; diff --git a/aio/src/styles/1-layouts/_layouts-dir.scss b/aio/src/styles/1-layouts/_layouts-dir.scss index c35b1d45a1..d11bc0fe0f 100644 --- a/aio/src/styles/1-layouts/_layouts-dir.scss +++ b/aio/src/styles/1-layouts/_layouts-dir.scss @@ -8,4 +8,5 @@ @import 'top-menu'; @import 'marketing-layout'; @import 'footer'; -@import 'layout-global'; \ No newline at end of file +@import 'layout-global'; +@import 'not-found'; \ No newline at end of file diff --git a/aio/src/styles/1-layouts/_not-found.scss b/aio/src/styles/1-layouts/_not-found.scss new file mode 100644 index 0000000000..1553ee5d2a --- /dev/null +++ b/aio/src/styles/1-layouts/_not-found.scss @@ -0,0 +1,21 @@ +#file-not-found { + padding: 3rem 3rem 3rem; +} + +.nf-container { + align-items: center; + padding: 32px; +} + +.nf-response { + margin: 32px; + height: 100%; + flex-direction: column; + + h1 { + font-size: 48px; + color: $blue; + text-transform: uppercase; + margin: 8px 0; + } +} \ No newline at end of file