diff --git a/app/components/sidebar/Menu.client.tsx b/app/components/sidebar/Menu.client.tsx index f0e975e..2bbdcc8 100644 --- a/app/components/sidebar/Menu.client.tsx +++ b/app/components/sidebar/Menu.client.tsx @@ -4,7 +4,7 @@ import { toast } from 'react-toastify'; import { Dialog, DialogButton, DialogDescription, DialogRoot, DialogTitle } from '~/components/ui/Dialog'; import { ThemeSwitch } from '~/components/ui/ThemeSwitch'; import { ControlPanel } from '~/components/@settings/core/ControlPanel'; -import { SettingsButton } from '~/components/ui/SettingsButton'; +import { SettingsButton, HelpButton } from '~/components/ui/SettingsButton'; import { Button } from '~/components/ui/Button'; import { db, deleteById, getAll, chatId, type ChatHistoryItem, useChatHistory } from '~/lib/persistence'; import { cubicEasingFn } from '~/utils/easings'; @@ -525,7 +525,10 @@ export const Menu = () => {
- +
+ window.open('https://stackblitz-labs.github.io/bolt.diy/', '_blank')} /> + +
diff --git a/app/components/ui/SettingsButton.tsx b/app/components/ui/SettingsButton.tsx index 0c2bde0..4438f87 100644 --- a/app/components/ui/SettingsButton.tsx +++ b/app/components/ui/SettingsButton.tsx @@ -16,3 +16,20 @@ export const SettingsButton = memo(({ onClick }: SettingsButtonProps) => { /> ); }); + +interface HelpButtonProps { + onClick: () => void; +} + +export const HelpButton = memo(({ onClick }: HelpButtonProps) => { + return ( + + ); +});