|
1
|
import React from "react" |
|
2
|
import clsx from "clsx" |
|
3
|
import { Kbd } from "../../../Kbd" |
|
4
|
import { KapaIcon } from "../../../Icons/Kapa" |
|
5
|
import { Tooltip } from "../../../Tooltip" |
|
6
|
|
|
7
|
export const AiAssistantChatWindowFooter = () => { |
|
8
|
return ( |
|
9
|
<div |
|
10
|
className={clsx( |
|
11
|
"bg-medusa-bg-component border-t border-medusa-border-base", |
|
12
|
"flex items-center justify-between gap-docs_0.75 text-compact-x-small", |
|
13
|
"py-docs_0.75 px-docs_1" |
|
14
|
)} |
|
15
|
> |
|
16
|
<Tooltip text="The docs AI assistant is powered by Kapa.ai"> |
|
17
|
<a href="https://kapa.ai" target="_blank" rel="noreferrer"> |
|
18
|
<KapaIcon className="text-medusa-fg-disabled hover:text-medusa-fg-muted transition-colors" /> |
|
19
|
</a> |
|
20
|
</Tooltip> |
|
21
|
<div className="flex items-center justify-end gap-docs_0.75"> |
|
22
|
<span className="text-medusa-fg-muted">Chat is cleared on refresh</span> |
|
23
|
<span className="h-docs_0.75 w-px bg-medusa-border-base"></span> |
|
24
|
<div className="flex items-center gap-docs_0.5"> |
|
25
|
<span className="text-medusa-fg-subtle">Line break</span> |
|
26
|
<div className="flex items-center gap-[5px]"> |
|
27
|
<Kbd className="bg-medusa-bg-field-component border-medusa-border-strong w-[18px] h-[18px] inline-block p-0"> |
|
28
|
⇧ |
|
29
|
</Kbd> |
|
30
|
<Kbd className="bg-medusa-bg-field-component border-medusa-border-strong w-[18px] h-[18px] inline-block p-0"> |
|
31
|
↵ |
|
32
|
</Kbd> |
|
33
|
</div> |
|
34
|
</div> |
|
35
|
</div> |
|
36
|
</div> |
|
37
|
) |
|
38
|
} |