Skip to content

Commit

Permalink
add dak rebot
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuzhenghao committed Oct 30, 2024
1 parent e462d37 commit 2b0b79b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/zh/theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,34 @@
import mermaid from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm'
</script>
{% endblock %}

<div class="dak-copilot">
<iframe src="https://console.d.run/ai-chat-app/ai-chat?mode=mobile&amp;ws=302&amp;token=N2ZlNjFkZDItNDkyMy00Y2I1LWJlM2QtZDJlMzQ2YWM5OTE5"></iframe>
</div>

<style>
.dak-copilot {
position: fixed;
width: 460px;
height: calc(100vh - 40px);
min-height: 400px;
max-height: 1200px;
bottom: 20px;
right: 20px;
z-index: 1000;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 6px 8px 0 rgba(29, 28, 35, 0.06),
0 0 2px 0 rgba(29, 28, 35, 0.18);
}

.dak-copilot iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100%;
border: none;
border-radius: 8px;
}
</style>

0 comments on commit 2b0b79b

Please sign in to comment.