feat(embed): add widget, visitor chat, and management UI (#1657)
Add embed.html entrypoint, floating widget SDK, secure-mode snippets, management panel with preview, visitor chat composables, citation rendering, and integration docs for subdomain and server-side token exchange.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>WeKnora Embed</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<link rel="shortcut icon" type="image/png" href="./public/favicon.ico"/>
|
||||
<style>
|
||||
html, body, #embed-app { height: 100%; margin: 0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
(function(){
|
||||
document.documentElement.setAttribute('theme-mode', 'light');
|
||||
document.documentElement.style.background = '#fff';
|
||||
document.body.style.background = '#fff';
|
||||
})();
|
||||
</script>
|
||||
<script src="/config.js"></script>
|
||||
<script src="/tdesign-icons/0.4.1/fonts/index.js"></script>
|
||||
<div id="embed-app"></div>
|
||||
<script type="module" src="/src/embed-main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user