From 9300eeedf210097c0affb6862388637124e9f39f Mon Sep 17 00:00:00 2001 From: YZ Chin Date: Wed, 16 Sep 2020 18:24:46 -0400 Subject: [PATCH] Fix docs 404 page and reword messaging --- css/customstyles.css | 18 ++++++++++++++++++ css/customstyles.scss | 21 +++++++++++++++++++++ netlify/build | 1 + v20.1/404.md | 16 ++++++---------- 4 files changed, 46 insertions(+), 10 deletions(-) diff --git a/css/customstyles.css b/css/customstyles.css index 28918bf805a..5f223600779 100755 --- a/css/customstyles.css +++ b/css/customstyles.css @@ -3689,4 +3689,22 @@ a.accordion-toggle { color: #497EDA; font-weight: 900; } +.page-not-found { + width: 60%; + margin: 0 auto; + padding: 50px; + text-align: center; } + +#page-not-found-heading { + color: #212B36; + font-size: 20px; + letter-spacing: -0.01em; + line-height: 32px; } + +#page-not-found-body { + color: #637282; + font-size: 14px; + letter-spacing: 0.1px; + line-height: 22px; } + /*# sourceMappingURL=customstyles.css.map */ diff --git a/css/customstyles.scss b/css/customstyles.scss index 32cbf14d086..72d9a2ff493 100755 --- a/css/customstyles.scss +++ b/css/customstyles.scss @@ -621,3 +621,24 @@ a.accordion-toggle { color: #497EDA; font-weight: 900; } + +.page-not-found { + width: 60%; + margin: 0 auto; + padding: 50px; + text-align: center; +} + +#page-not-found-heading { + color: #212B36; + font-size: 20px; + letter-spacing: -0.01em; + line-height: 32px; +} + +#page-not-found-body { + color: #637282; + font-size: 14px; + letter-spacing: 0.1px; + line-height: 22px; +} diff --git a/netlify/build b/netlify/build index 2e235192c46..0d2796913b5 100755 --- a/netlify/build +++ b/netlify/build @@ -9,6 +9,7 @@ bundle install build _config_cockroachdb.yml cp _site/docs/_redirects _site/_redirects +cp _site/docs/404.html _site/404.html cat _site/docs/cockroachcloud/_redirects >> _site/_redirects # Run Algolia if building master diff --git a/v20.1/404.md b/v20.1/404.md index 13a69ddde5c..a4cbb31897d 100644 --- a/v20.1/404.md +++ b/v20.1/404.md @@ -1,19 +1,15 @@ --- -title: Page Not Found description: "Page not found." sitemap: false search: exclude related_pages: none toc: false +contribute: false +feedback: false --- +
+

Whoops!

-{%comment%} - - -{%endcomment%} \ No newline at end of file +

We can't find the page you are looking for. You may have typed the wrong address or found a broken link.

+