chore: add product hunt banner

This commit is contained in:
Steven
2023-04-18 23:36:42 +08:00
parent c06b137d1d
commit a3ff1e8028
4 changed files with 38 additions and 2 deletions

View File

@ -17,6 +17,7 @@ import EmptyView from "../EmptyView";
import MessageView from "./MessageView";
import MessageTextarea from "./MessageTextarea";
import DataStorageBanner from "../DataStorageBanner";
import ProductHuntBanner from "../ProductHuntBanner";
// The maximum number of tokens that can be sent to the OpenAI API.
// reference: https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens
@ -216,6 +217,8 @@ const ConversationView = () => {
} relative w-full h-full max-h-full flex flex-col justify-start items-start overflow-y-auto bg-white dark:bg-zinc-800`}
>
<div className="sticky top-0 z-1 bg-white dark:bg-zinc-800 w-full flex flex-col justify-start items-start">
{/* TODO(steven): remove this after released */}
<ProductHuntBanner className="hidden" />
<DataStorageBanner />
<Header className={showHeaderShadow ? "shadow" : ""} />
</div>