Skip to content

Commit

Permalink
Add Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed Jun 19, 2020
1 parent 9fcf456 commit 7709854
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/cdn/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json"></wc-resume>

</body>
</html>
16 changes: 16 additions & 0 deletions examples/cdn/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json">
<wc-contact>
<wc-summary>
<wc-work>
<wc-skills>
</wc-resume>

</body>
</html>
11 changes: 11 additions & 0 deletions examples/cdn/theming.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json" theme="https://cdn.jsdelivr.net/gh/vanillawc/wc-resume/themes/positive/"></wc-resume>

</body>
</html>
11 changes: 11 additions & 0 deletions examples/npm/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="node_modules/@vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json"></wc-resume>

</body>
</html>
16 changes: 16 additions & 0 deletions examples/npm/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="node_modules/@vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json">
<wc-contact>
<wc-summary>
<wc-work>
<wc-skills>
</wc-resume>

</body>
</html>
11 changes: 11 additions & 0 deletions examples/npm/theming.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<script type="module" src="node_modules/@vanillawc/wc-resume/index.js"></script>
</head>
<body>

<wc-resume src="sample.json" theme="node_modules/@vanillawc//wc-resume/themes/positive/"></wc-resume>

</body>
</html>

0 comments on commit 7709854

Please sign in to comment.