Files
calendar/packages/embeds/embed-core/preview.html
T
Agusti Fernandez PardoGitHubHariom Balharakodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>Agusti Fernandez PardoAlex van Andel
a3462657db feat: v2 embed (#4477)
* Add support for custom tabNameKey and use embedTabName as the key for embed to avoid conflict with event-types tabName property

* Fix tests

* Code cleanup

* feat: v2 embed

* fix: button black default, reuse horitzontalTabs v2

* fix: remove comment, remove linkProps from NavTabs v2

* fix: height: 98% to avoid overflow

* fix: add embed to event type detail page

* fix: add also tabNames embed-code embed-react

* fix: add tabNames w empty divs

* Update Embed component as per V2

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-09-15 05:34:11 +00:00

30 lines
645 B
HTML

<html>
<head>
<style>
.row {
display: flex;
}
.cell-1 {
border-right: 1px solid #ded9d9;
padding-right: 10px;
}
.cell-2 {
margin: 10px;
}
</style>
<script>
const searchParams = new URL(document.URL).searchParams;
const embedType = searchParams.get("embedType");
const calLink = searchParams.get("calLink");
</script>
</head>
<script type="module" src="./src/preview.ts"></script>
<body>
<div id="my-embed" style="width: 100%; height: 90%; overflow: scroll"></div>
<script type="module">
</script>
</body>
</html>