Files
classroomio/apps/embeds/example-embed.html
T

33 lines
1.1 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Question type picker embed (static test)</title>
<style>
body {
font-family: system-ui, sans-serif;
margin: 0;
padding: 2rem;
background: #fafafa;
}
</style>
</head>
2026-04-27 11:40:38 +01:00
<body>
2026-04-27 11:40:38 +01:00
<!-- <p style="max-width: 56rem; margin: 0 auto 1rem; color: #52525b; font-size: 0.875rem">
Serve this directory over HTTP (e.g. <code>npx serve .</code> from <code>apps/embeds</code> after
<code>pnpm build</code>). File URLs will not load the script correctly.
</p>
<div style="max-width: 56rem; margin: 0 auto" data-cio-widget="question-type-picker"></div>
2026-04-27 11:40:38 +01:00
<script type="module" src="./dist/question-type-picker.js"></script> -->
<div
data-cio-widget="course-widget"
data-widget-key="wgt_UG2yRrPmQC8mbKLL"
data-api-base-url="http://localhost:3002"
></div>
<script async type="module" src="http://localhost:5180/embeds/course-widget/course-widget.js"></script>
</body>
</html>