Skip to content

feat: add landing page and chat color theme#69

Open
Nikhi-l wants to merge 1 commit intomainfrom
codex/create-landing-page-with-spline-design-d1fg6b
Open

feat: add landing page and chat color theme#69
Nikhi-l wants to merge 1 commit intomainfrom
codex/create-landing-page-with-spline-design-d1fg6b

Conversation

@Nikhi-l
Copy link
Owner

@Nikhi-l Nikhi-l commented Aug 30, 2025

Summary

  • add landing page with Spline design and demo link
  • apply dark green palette to chat bubbles and highlights
  • allow unauthenticated access to landing page

Testing

  • pnpm lint
  • pnpm test (fails: This module cannot be imported from a Client Component module)

https://chatgpt.com/codex/tasks/task_e_68b2b50f787c8324b985ee528fec5e95

@vercel
Copy link

vercel bot commented Aug 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cerch_ai Ready Ready Preview Comment Aug 30, 2025 8:48am

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

Comment on lines +1 to +17
import Link from 'next/link';
import Spline from '@splinetool/react-spline/next';

export default function Home() {
return (
<main className="relative h-screen w-screen">
<Spline scene="https://prod.spline.design/DS0UgrDOifhNt9T6/scene.splinecode" />
<div className="absolute inset-0 flex items-end justify-center pb-10">
<Link
href="/chat"
className="px-6 py-3 rounded-lg bg-[var(--deep-sea-green)] text-white"
>
Try Demo
</Link>
</div>
</main>
);

Choose a reason for hiding this comment

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

[P1] Update internal links after moving chat to /chat

Adding app/page.tsx turns / into a landing page while the chat UI now lives under /chat. However, buttons such as the sidebar logo and the “New Chat” actions still call router.push('/') (e.g., components/app-sidebar.tsx, components/chat-header.tsx, and components/sidebar-history.tsx). After this change those controls route users back to the landing screen instead of opening a fresh chat session, effectively breaking the “new chat” flow and redirecting away from the actual chat interface. Consider updating these internal links to point to /chat so the chat controls continue to work.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant