Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/next/pages/support/chatgpt.tsx
Views: 687
import { Layout } from "antd";12import Footer from "components/landing/footer";3import Head from "components/landing/head";4import Header from "components/landing/header";5import ChatGPTHelp from "components/openai/chatgpt-help";6import { Customize } from "lib/customize";7import withCustomize from "lib/with-customize";89export default function ChatgptInfo({ customize }) {10const { siteName, onCoCalcCom } = customize;1112function renderChatGPT() {13return (14<div style={{ maxWidth: "1000px" }}>15Our integrated AI support is often very helpful since it knows so much16about the open source software in {siteName}. You can ask a question17below or use @ mention an AI model in any chat message when using{" "}18{siteName}.19<ChatGPTHelp20style={{ marginTop: "15px" }}21size="large"22tag="support-chatgpt"23/>24</div>25);26}2728return (29<Customize value={customize}>30<Head title="Your Support Tickets" />31<Layout>32<Header page="support" subPage="chatgpt" />33<div style={{ margin: "15px auto" }}>34{onCoCalcCom ? renderChatGPT() : "disabled"}35</div>36<Footer />37</Layout>38</Customize>39);40}4142export async function getServerSideProps(context) {43return await withCustomize({ context });44}454647