mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-28 18:43:53 +08:00
chore: show product hunt banner (#39)
* chore: show product hunt banner * chore: add product hunt icon
This commit is contained in:
@ -288,10 +288,22 @@ const ConnectionSidebar = () => {
|
|||||||
{t("conversation.new-chat")}
|
{t("conversation.new-chat")}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="sticky bottom-0 w-full flex justify-center bg-gray-100 dark:bg-zinc-700 backdrop-blur bg-opacity-60 pb-6 py-2">
|
<div className="sticky bottom-0 w-full flex flex-col justify-center bg-gray-100 dark:bg-zinc-700 backdrop-blur bg-opacity-60 pb-6 py-2">
|
||||||
|
<a
|
||||||
|
href="https://www.producthunt.com/posts/sql-chat?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-sql-chat"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=389982&theme=light"
|
||||||
|
alt="SQL Chat - ChatGPT powered SQL client for Postgres, MySQL & SQL Server | Product Hunt"
|
||||||
|
style={{ width: "250px", height: "54px" }}
|
||||||
|
width="250"
|
||||||
|
height="54"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
<a
|
<a
|
||||||
href="https://discord.gg/z6kakemDjm"
|
href="https://discord.gg/z6kakemDjm"
|
||||||
className="text-indigo-600 dark:text-indigo-400 text-sm font-medium flex flex-row justify-center items-center hover:underline"
|
className="text-indigo-600 dark:text-indigo-400 text-sm font-medium flex flex-row justify-center items-center mt-4 hover:underline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<Icon.BsDiscord className="w-4 h-auto mr-1" />
|
<Icon.BsDiscord className="w-4 h-auto mr-1" />
|
||||||
|
@ -217,8 +217,7 @@ 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`}
|
} 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">
|
<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 />
|
||||||
<ProductHuntBanner className="hidden" />
|
|
||||||
<DataStorageBanner />
|
<DataStorageBanner />
|
||||||
<Header className={showHeaderShadow ? "shadow" : ""} />
|
<Header className={showHeaderShadow ? "shadow" : ""} />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user