-
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.
- Loading branch information
Showing
5 changed files
with
2,144 additions
and
2,224 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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Scott Nath's Resume</title> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width" /> | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"lit": "https://esm.run/lit", | ||
"@lit/task": "https://esm.run/@lit/task" | ||
} | ||
} | ||
</script> | ||
<script type="module"> | ||
import 'https://esm.run/jsonresume-component' | ||
// imports a stylesheet to a variable | ||
import evenTheme from 'https://unpkg.com/[email protected]/dist/style.css' with { type: "css" }; | ||
// converts stylesheet to a string | ||
const themeString = Array.from(evenTheme.cssRules).map(rule => rule.cssText).join('\n') | ||
// get the json-resume instance | ||
const jsonresume = document.getElementById('jsonresume'); | ||
// configure the stylesheet property | ||
jsonresume.stylesheet = themeString | ||
</script> | ||
</head> | ||
<body> | ||
<json-resume | ||
id="jsonresume" | ||
gist_id="54682f0aa17453d46cdc74bdef3172a3" | ||
></json-resume> | ||
</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
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
Oops, something went wrong.