From aa02448516964a7295fe5b9f373431b9c6640a7c Mon Sep 17 00:00:00 2001 From: Stijnus <72551117+Stijnus@users.noreply.github.com> Date: Thu, 20 Feb 2025 13:03:59 +0100 Subject: [PATCH] Update _index.tsx Removed the settings button in the landingpage. --- app/routes/_index.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 090f3dab8..65df404aa 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -4,9 +4,6 @@ import { BaseChat } from '~/components/chat/BaseChat'; import { Chat } from '~/components/chat/Chat.client'; import { Header } from '~/components/header/Header'; import BackgroundRays from '~/components/ui/BackgroundRays'; -import { ControlPanel } from '~/components/@settings'; -import { SettingsButton } from '~/components/ui/SettingsButton'; -import { useState } from 'react'; export const meta: MetaFunction = () => { return [{ title: 'Bolt' }, { name: 'description', content: 'Talk with Bolt, an AI assistant from StackBlitz' }]; @@ -14,20 +11,18 @@ export const meta: MetaFunction = () => { export const loader = () => json({}); +/** + * Landing page component for Bolt + * Note: Settings functionality should ONLY be accessed through the sidebar menu. + * Do not add settings button/panel to this landing page as it was intentionally removed + * to keep the UI clean and consistent with the design system. + */ export default function Index() { - const [showControlPanel, setShowControlPanel] = useState(false); - return (