summaryrefslogtreecommitdiff
path: root/deps/npm/docs/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/docs/src/pages')
-rw-r--r--deps/npm/docs/src/pages/404.js12
-rw-r--r--deps/npm/docs/src/pages/index.js16
2 files changed, 28 insertions, 0 deletions
diff --git a/deps/npm/docs/src/pages/404.js b/deps/npm/docs/src/pages/404.js
new file mode 100644
index 0000000000..aa06a9d10c
--- /dev/null
+++ b/deps/npm/docs/src/pages/404.js
@@ -0,0 +1,12 @@
+import React from 'react'
+import SEO from 'src/components/seo'
+
+const NotFoundPage = () => (
+ <React.Fragment>
+ <SEO title='404: Not found' />
+ <h1>NOT FOUND</h1>
+ <p>You just hit a route that doesn&#39;t exist... the sadness.</p>
+ </React.Fragment>
+)
+
+export default NotFoundPage
diff --git a/deps/npm/docs/src/pages/index.js b/deps/npm/docs/src/pages/index.js
new file mode 100644
index 0000000000..c12808eb0a
--- /dev/null
+++ b/deps/npm/docs/src/pages/index.js
@@ -0,0 +1,16 @@
+import React from 'react'
+import Features from 'src/components/home/Features'
+import SEO from 'src/components/seo'
+import Hero from 'src/components/home/hero'
+import DarkBlock from 'src/components/home/DarkBlock'
+
+const IndexPage = () => (
+ <React.Fragment>
+ <SEO title='npm cli' />
+ <Hero />
+ <Features />
+ <DarkBlock />
+ </React.Fragment>
+)
+
+export default IndexPage