Skip to content
Open
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
2 changes: 1 addition & 1 deletion app/(chat)/page.tsx → app/(chat)/chat/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Chat } from '@/components/chat';
import { DEFAULT_CHAT_MODEL } from '@/lib/ai/models';
import { generateUUID } from '@/lib/utils';
import { DataStreamHandler } from '@/components/data-stream-handler';
import { auth } from '../(auth)/auth';
import { auth } from '../../(auth)/auth';
import { redirect } from 'next/navigation';

export default async function Page() {
Expand Down
58 changes: 29 additions & 29 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
@tailwind utilities;

:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}

/* Light-only: remove dark scheme overrides */
Expand All @@ -18,39 +18,39 @@

@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
--primary: 221 83% 53%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96%;
--secondary-foreground: 222 47% 11%;
--muted: 210 40% 96%;
--muted-foreground: 215 16% 46%;
--accent: 210 40% 96%;
--accent-foreground: 222 47% 11%;
--background: 0 0% 0%;
--foreground: 0 0% 100%;
--card: 0 0% 10%;
--card-foreground: 0 0% 100%;
--popover: 0 0% 10%;
--popover-foreground: 0 0% 100%;
--primary: 174 60% 40%;
--primary-foreground: 0 0% 0%;
--secondary: 174 50% 15%;
--secondary-foreground: 0 0% 100%;
--muted: 0 0% 20%;
--muted-foreground: 0 0% 65%;
--accent: 174 50% 20%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 214 32% 91%;
--input: 214 32% 91%;
--ring: 221 83% 53%;
--chart-1: 12 76% 61%;
--border: 0 0% 20%;
--input: 0 0% 20%;
--ring: 174 60% 40%;
--chart-1: 174 60% 40%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
--sidebar-background: 0 0% 100%;
--sidebar-foreground: 222 47% 11%;
--sidebar-primary: 221 83% 53%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 210 40% 96%;
--sidebar-accent-foreground: 222 47% 11%;
--sidebar-border: 214 32% 91%;
--sidebar-ring: 221 83% 53%;
--sidebar-background: 0 0% 0%;
--sidebar-foreground: 0 0% 100%;
--sidebar-primary: 174 60% 40%;
--sidebar-primary-foreground: 0 0% 0%;
--sidebar-accent: 174 50% 15%;
--sidebar-accent-foreground: 0 0% 100%;
--sidebar-border: 0 0% 20%;
--sidebar-ring: 174 60% 40%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const geistMono = Geist_Mono({
variable: '--font-geist-mono',
});

const LIGHT_THEME_COLOR = 'hsl(0 0% 100%)';
const LIGHT_THEME_COLOR = 'hsl(0 0% 0%)';

export default async function RootLayout({
children,
Expand Down
35 changes: 35 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
'use client';

import dynamic from 'next/dynamic';
import Link from 'next/link';

const Spline = dynamic(() => import('@splinetool/react-spline'), { ssr: false });

export default function LandingPage() {
return (
<main className="relative flex min-h-screen items-center justify-between overflow-hidden bg-background p-6 text-foreground">
<div className="z-10 max-w-xl space-y-6">
<h1 className="text-5xl font-bold leading-tight">
Search that feels like a{' '}
<span className="bg-gradient-to-r from-[#14b8a6] to-white bg-clip-text text-transparent">
conversation
</span>
</h1>
<p className="text-lg text-muted-foreground">
Autonomous agents entry fit, dedupe, enrich contacts, and score likelihood—so you get a list you can actually use.
</p>
<Link
href="/chat"
Comment on lines +21 to +22

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Update chat navigation targets to /chat

This commit moves the conversation UI behind /chat (see the new landing link) but the existing “New Chat” and sidebar logo handlers still push '/' in AppSidebar, SidebarHistory, and ChatHeader. After deploying this change those controls will redirect users to the marketing landing page instead of starting a fresh chat, effectively breaking the main entry point to the chat interface. All internal navigation that previously went to '/' needs to be updated to /chat.

Useful? React with 👍 / 👎.

className="inline-block rounded-md bg-primary px-5 py-2 text-lg font-medium text-primary-foreground hover:opacity-90"
>
Try Demo
</Link>
</div>
<div className="pointer-events-none absolute right-0 top-1/2 h-[400px] w-1/2 -translate-y-1/2">
<Spline scene="/spline/landing.splinecode" />
</div>
<div className="pointer-events-none absolute bottom-0 left-0 h-32 w-full bg-gradient-to-t from-background to-transparent" />
</main>
);
}

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"usehooks-ts": "^3.1.0",
"zod": "^3.23.8",
"@radix-ui/react-popover": "^1.1.2",
"openid-client": "^6.6.4"
"openid-client": "^6.6.4",
"@splinetool/react-spline": "^4.1.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
Expand Down
60 changes: 60 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.