Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ const config = {
{
// Replace with your project's social card
image: "img/wopee-social-card.jpg",
// https://docusaurus.io/docs/api/themes/configuration#color-mode---dark-mode
colorMode: {
defaultMode: "dark",
disableSwitch: false,
// Set dark mode as the default, but allow users switching to light mode.
// respectPrefersColorScheme: false,
},
navbar: {
title: "Wopee.io",
logo: {
Expand Down
9 changes: 3 additions & 6 deletions src/components/home-page/vibe/ApplicationTypeSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,13 @@ const ApplicationTypeSwitch = ({
className={cn(
"p-2 bg-gray-300 rounded-md md:w-[150px] hover:cursor-pointer flex justify-center items-center gap-1 relative",
app.value === appType
? "bg-secondary-wopee dark:bg-primary-wopee text-white dark:text-black"
: "dark:bg-gray-700 "
? "text-white opacity-65 bg-gradient-to-br from-blue-500 to-secondary-wopee"
: "dark:bg-gray-700"
)}
onClick={() => handleAppTypeChange(app.value)}
>
{app.value === AppType.YOUR_APPLICATION && (
<LockTooltip
size={4}
setIsOpenUpgrade={setIsOpenUpgrade}
/>
<LockTooltip size={4} setIsOpenUpgrade={setIsOpenUpgrade} />
)}
{app.value === AppType.WEBSITE && <Globe size={16} />}
{app.value === AppType.E_COMMERCE && <ShoppingCart size={16} />}
Expand Down