Skip to content

Commit 165736d

Browse files
authored
Merge pull request #263 from yel-hadd/master
Minor UI update for chatbot widget
2 parents e326291 + 452173a commit 165736d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

docs/.vuepress/components/Chat.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@
4343
:class="{ fullscreen: isMobile, 'desktop-view': !isMobile }"
4444
>
4545
<div class="chat-header">
46-
<div class="header-content">
47-
<img
48-
:src="botOptions.botAvatarImg"
49-
alt="Bot icon"
50-
class="header-avatar"
51-
/>
52-
<span class="bot-title">{{ botOptions.botTitle }}</span>
53-
</div>
5446
<div class="header-actions">
5547
<button class="close-btn" @click="toggleChat">
5648
<svg
@@ -86,17 +78,11 @@
8678
</template>
8779

8880
<script>
89-
import BotIcon from "cl-doc-vue-bot-ui/src/assets/icons/bot.png";
90-
9181
export default {
9282
data() {
9383
return {
9484
showChat: false,
9585
isLoading: true,
96-
botOptions: {
97-
botAvatarImg: BotIcon,
98-
botTitle: "AI Assistant",
99-
},
10086
iframeUrl: "https://chatbot.cloudlinux.com/docs/cloudlinux",
10187
windowWidth: 0, // Changed from window.innerWidth to avoid SSR error
10288
};

0 commit comments

Comments
 (0)