forked from foliojs/pdfkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interactive browser demo files to publish website script
- Loading branch information
Showing
2 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,52 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<style> | ||
body { | ||
width: 1230px; | ||
margin: 20px auto; | ||
font-family: Georgia; | ||
} | ||
h1 { | ||
margin: 0; | ||
} | ||
a { | ||
color: blue; | ||
} | ||
#editor { | ||
width: 600px; | ||
height: 775px; | ||
margin-right: 20px; | ||
display: inline-block; | ||
} | ||
iframe { | ||
border: 1px solid black; | ||
} | ||
body { | ||
width: 1230px; | ||
margin: 20px auto; | ||
font-family: Georgia; | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
} | ||
|
||
a { | ||
color: blue; | ||
} | ||
|
||
#editor { | ||
width: 600px; | ||
height: 775px; | ||
margin-right: 20px; | ||
display: inline-block; | ||
} | ||
|
||
iframe { | ||
border: 1px solid black; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h1>PDFKit Browser Demo</h1> | ||
<p><a href="http://pdfkit.org/">Website</a> | <a href="http://github.com/devongovett/pdfkit">Github</a></p> | ||
<p><a href="http://pdfkit.org/">Website</a> | <a href="http://github.com/foliojs/pdfkit">Github</a></p> | ||
<div id="editor"></div> | ||
<iframe width="600" height="775"></iframe> | ||
<script src="bundle.js"></script> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
ga('create', 'UA-48340245-1', 'pdfkit.org'); | ||
ga('send', 'pageview'); | ||
(function (i, s, o, g, r, a, m) { | ||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { | ||
(i[r].q = i[r].q || []).push(arguments) | ||
}, i[r].l = 1 * new Date(); a = s.createElement(o), | ||
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) | ||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); | ||
ga('create', 'UA-48340245-1', 'pdfkit.org'); | ||
ga('send', 'pageview'); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters