- Wordmark SVG + favicon (#FF1F8F → #00D4FF gradient) - Page title: Slate — AI App Builder - Header logo via inline component (no external font deps) - Deploy button label -> Launch - Chat placeholder + example prompt rebranded - Replace upstream accent palette with magenta primary, add cyan2 for accents - Settings tab notes upstream remains stackblitz-labs/bolt.diy
26 lines
957 B
TypeScript
26 lines
957 B
TypeScript
import type { LoaderFunctionArgs } from '@remix-run/cloudflare';
|
|
import { json, type MetaFunction } from '@remix-run/cloudflare';
|
|
import { ClientOnly } from 'remix-utils/client-only';
|
|
import { BaseChat } from '~/components/chat/BaseChat';
|
|
import { GitUrlImport } from '~/components/git/GitUrlImport.client';
|
|
import { Header } from '~/components/header/Header';
|
|
import BackgroundRays from '~/components/ui/BackgroundRays';
|
|
|
|
export const meta: MetaFunction = () => {
|
|
return [{ title: 'Bolt' }, { name: 'description', content: 'Talk with Slate, an AI assistant from StackBlitz' }];
|
|
};
|
|
|
|
export async function loader(args: LoaderFunctionArgs) {
|
|
return json({ url: args.params.url });
|
|
}
|
|
|
|
export default function Index() {
|
|
return (
|
|
<div className="flex flex-col h-full w-full bg-bolt-elements-background-depth-1">
|
|
<BackgroundRays />
|
|
<Header />
|
|
<ClientOnly fallback={<BaseChat />}>{() => <GitUrlImport />}</ClientOnly>
|
|
</div>
|
|
);
|
|
}
|