From 055619a896c07bc9b96e3edf92729c75930692af Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Wed, 27 Apr 2016 10:56:17 +0800 Subject: [PATCH] site: add not found page (#1518) --- 404.html | 5 +---- site/component/Demo/index.jsx | 2 +- site/component/NotFound/index.jsx | 17 +++++++++++++++++ site/component/NotFound/index.less | 30 ++++++++++++++++++++++++++++++ site/entry/index.jsx | 2 ++ 5 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 site/component/NotFound/index.jsx create mode 100644 site/component/NotFound/index.less diff --git a/404.html b/404.html index 3dad29c419..89a818b9fe 100644 --- a/404.html +++ b/404.html @@ -1,6 +1,3 @@ -

找不到此页,三秒后返回首页...

diff --git a/site/component/Demo/index.jsx b/site/component/Demo/index.jsx index e65468bbcf..5869a36f1c 100644 --- a/site/component/Demo/index.jsx +++ b/site/component/Demo/index.jsx @@ -69,7 +69,7 @@ export default class Demo extends React.Component { { - style ? + highlightedStyle ?
                   
+      
+

404

+

你要找的页面不存在 返回首页

+
+