-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On-Ramps Resource Catalog implementation start
- Loading branch information
1 parent
3b231b0
commit df79c21
Showing
22 changed files
with
10,617 additions
and
2,430 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 |
---|---|---|
|
@@ -4,23 +4,24 @@ | |
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>XRAS User Interface Components</title> | ||
<link | ||
<!-- <link | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" | ||
crossorigin="anonymous" | ||
/> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> --> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div id="projects-react"></div> | ||
</div> | ||
|
||
<div id="resource-catalog-react"></div> | ||
|
||
<script type="module"> | ||
import { projects } from "/src/main.jsx"; | ||
projects( | ||
{ target: document.getElementById("projects-react") }, | ||
"testuser1" | ||
); | ||
import { resourceCatalog, shadowTarget } from "http://localhost:3000/xras-ui.js"; | ||
resourceCatalog({ | ||
target: shadowTarget(document.getElementById("resource-catalog-react"), {accessStyles: true}), | ||
onRamps: true, | ||
}); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.