Skip to content

Commit

Permalink
feat(docs): fix dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Nov 28, 2024
1 parent abaec00 commit 3894b9f
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions documentation/src/pages/ai/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,19 +390,32 @@ const JoinTheWaitlistButton = (props: CommonSectionProps) => {
)}
/>
<img
src={
colorMode === "dark"
? "/assets/join-the-waitlist-button-bg-dark.png"
: "/assets/join-the-waitlist-button-bg-light.png"
}
src="/assets/join-the-waitlist-button-bg-light.png"
className={clsx(
{
hidden: colorMode === "dark",
block: colorMode === "light",
},
"block",
"w-[240px] h-auto",
"z-[2]",
"rounded-full",
"dark:bg-gray-900 bg-gray-0",
)}
/>
<img
src="/assets/join-the-waitlist-button-bg-dark.png"
className={clsx(
{
hidden: colorMode === "light",
block: colorMode === "dark",
},
"w-[240px] h-auto",
"z-[2]",
"rounded-full",
"dark:bg-gray-900 bg-gray-0",
)}
/>
</div>
</a>
);
Expand Down

0 comments on commit 3894b9f

Please sign in to comment.