Skip to content

feat: replace landing page with static HTML#82

Open
Nikhi-l wants to merge 2 commits intomainfrom
codex/replace-current-landing-page-with-landingpage.html
Open

feat: replace landing page with static HTML#82
Nikhi-l wants to merge 2 commits intomainfrom
codex/replace-current-landing-page-with-landingpage.html

Conversation

@Nikhi-l
Copy link
Owner

@Nikhi-l Nikhi-l commented Sep 9, 2025

Summary

  • redirect / to new animated landingpage.html
  • link landing page call-to-action buttons to chat
  • document landing page replacement PRD

Testing

  • pnpm lint (fails: Do not shadow the global "escape" property; Forbidden non-null assertion; Static Elements should not be interactive)
  • pnpm test (fails: This module cannot be imported from a Client Component module)

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

@vercel
Copy link

vercel bot commented Sep 9, 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 Sep 9, 2025 6:35am

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 +4
import { redirect } from 'next/navigation';

export default function Home() {
return (
<main className="relative h-screen w-screen">
<Spline scene="https://prod.spline.design/DS0UgrDOifhNt9T6/scene.splinecode" />
<div className="absolute bottom-8 left-1/2 -translate-x-1/2">
<Button
asChild
className="bg-[hsl(246,82%,60%)] text-white hover:opacity-90"
>
<Link href="/login">cerch now</Link>
</Button>
</div>
</main>
);
redirect('/landingpage.html');

Choose a reason for hiding this comment

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

[P1] Redirect makes root page server-only and breaks client imports

Replacing the home component with redirect('/landingpage.html') turns app/page.tsx into a server‑only module. Any existing client components or tests that import this page now fail to compile with This module cannot be imported from a Client Component module (as seen in pnpm test). Consider performing the redirect in middleware.ts, a Next.js rewrite, or a client‑side hook so the page remains importable where the client build expects it.

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