Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
feat: ✨ update add function gif
Browse files Browse the repository at this point in the history
  • Loading branch information
AruSeito committed Apr 30, 2024
1 parent 9deef9a commit 8d8bd0b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ import { useGetWhiteListIPQuery } from "@/redux/services/peripheralAPI"
import { useCopyToClipboard } from "@/utils/copyToClipboard"
import CopyPanel from "../../components/CopyPanel"
import { IFunctionForm } from "../../interface"
import { blockStyle, descStyle, docPanelStyle, titleStyle } from "./style"
import {
blockStyle,
descStyle,
docPanelStyle,
imageStyle,
titleStyle,
} from "./style"
import { INTEGRATION_TYPE_MAP_DOC } from "./utils"

const DocPanel: FC = () => {
Expand Down Expand Up @@ -59,6 +65,10 @@ const DocPanel: FC = () => {
</Button>
<div css={blockStyle}>
<p css={titleStyle}>{t("function.edit.right_panel.add_to_tipi")}</p>
<img
src="https://cdn.tipis.ai/tipis/how_to_add_functions.gif"
css={imageStyle}
/>
</div>
<div css={blockStyle}>
<p css={titleStyle}>{t("function.edit.right_panel.write_in_prompt")}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ export const descStyle = css`
font-weight: 400;
line-height: 20px;
`

export const imageStyle = css`
width: 100%;
border-radius: 12px;
overflow: hidden;
background: #f2f3f5;
`

0 comments on commit 8d8bd0b

Please sign in to comment.