From 7b32d58d4a828c4928825d94e13c5b88630baddf Mon Sep 17 00:00:00 2001 From: Ankit Ahuja Date: Sun, 26 Jul 2020 01:19:38 -0700 Subject: [PATCH] add video to docs --- docs/src/components/demo.js | 18 ++++++++++++++++++ docs/src/pages/index.js | 7 ++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 docs/src/components/demo.js diff --git a/docs/src/components/demo.js b/docs/src/components/demo.js new file mode 100644 index 00000000..db83caba --- /dev/null +++ b/docs/src/components/demo.js @@ -0,0 +1,18 @@ +import React from "react" + +const Demo = () => { + return ( +
+ +
+ ) +} + +export default Demo diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index d0d46036..a09c9298 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -1,6 +1,7 @@ import React from "react" import Layout from "../components/layout" +import Demo from "../components/demo" import BasicMode from "../components/basic-mode" import Readability from "../components/readability" import Code from "../components/code" @@ -30,7 +31,7 @@ const IndexPage = () => ( @@ -50,6 +51,10 @@ const IndexPage = () => ( + + + +