Skip to content

New landing page#525

Merged
angelina-ji merged 4 commits into
masterfrom
new-landing-page
Apr 30, 2026
Merged

New landing page#525
angelina-ji merged 4 commits into
masterfrom
new-landing-page

Conversation

@angelina-ji
Copy link
Copy Markdown
Contributor

No description provided.

@angelina-ji angelina-ji merged commit 402741d into master Apr 30, 2026
1 check passed
@angelina-ji angelina-ji deleted the new-landing-page branch April 30, 2026 03:20
Copy link
Copy Markdown

@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 automated review suggestions for this pull request.

Reviewed commit: 93dda32549

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

{% include 'includes/analytics/analytics_body.html' %}

<div id="app"></div>
{% vite_asset 'src/landing.jsx' %}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Include landing bundle in production Vite manifest

new_landing.html now renders {% vite_asset 'src/landing.jsx' %}, but this commit does not add src/landing.jsx as a Vite build input (the build config still only targets src/index.jsx). In production (manifest mode), this causes the landing asset lookup to fail for unauthenticated users and can return a server error when rendering /.

Useful? React with 👍 / 👎.

Comment thread frontend/src/index.jsx
import { createRoot } from 'react-dom/client';
import { BrowserRouter, Routes, Route } from 'react-router-dom'; // landing page
import App from 'components/App';
import Landing from 'components/Landing';
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove landing module import from planner entrypoint

Importing components/Landing in index.jsx has side effects because that module imports global CSS and large SVG assets, so the authenticated planner entrypoint now pulls landing-page styles/assets even though <Landing /> is never rendered there. This increases bundle weight and can leak global style rules into the main app unnecessarily.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant