diff --git a/.gitignore b/.gitignore index 17106c372..561d888d7 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ node_modules /lib/jekyll-admin/public *.gem .DS_Store +/vendor/ \ No newline at end of file diff --git a/spec/fixtures/site/page.md b/spec/fixtures/site/page.md index c631b3a37..2c67541d9 100644 --- a/spec/fixtures/site/page.md +++ b/spec/fixtures/site/page.md @@ -3,3 +3,11 @@ foo: bar --- # Test Page + +test + +test + +test + +toto diff --git a/src/components/PreviewPanel.js b/src/components/PreviewPanel.js new file mode 100644 index 000000000..8bc4ee4ab --- /dev/null +++ b/src/components/PreviewPanel.js @@ -0,0 +1,47 @@ +import React from 'react'; + +export function PreviewPanel({ previewUrl }) { + // Note : side effect for preview button, layout, and doctitle class + return ( +
+
+ +

Preview

+ +
+