Skip to content

Update the UI - #43

Merged
krishkhinchi merged 4 commits into
7-Blocks:mainfrom
ronaksarda:updates-landing-page
Jul 16, 2026
Merged

krishkhinchi merged 4 commits into
7-Blocks:mainfrom
ronaksarda:updates-landing-page

Conversation

@ronaksarda

@ronaksarda ronaksarda commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

User description

Description

Created a clean, technical space-themed landing page as the entry point (/) for Kepler.

  • Implemented the signature live orbital field featuring elliptical paths with satellite telemetry coordinate labels.
  • Standardized all typography using the project's default Tailwind font classes (font-display-lg, font-body-ui, and font-technical-data).
  • Fully applied the standard design tokens (#060A14, #0C1220, #1B2436, #E7EBF3, #8892A6, #4FE0C8, #FFB020).
  • Kept comments simple and clean (e.g. /* Nav */, /* Hero */).
  • Nested existing dashboard and tab routes under the new /dashboard prefix to ensure clear separation and correct navigation mapping.

Related Issue

Fixes #28

Checklist

  • I have read the contributing guidelines
  • My code follows the project guidelines
  • I have completed testing of my changes
  • Documentation has been updated (if applicable)

Screenshots / Screen Recordings

image image image
  • Kepler Landing Page Layout: Minimalist technical dark design with orbiting satellites and telemetry dots.
  • Kepler Command Dashboard: Accessible via /dashboard and the "Launch Dashboard" navigation links.

Breaking Changes

None. The original dashboard page and tabs have been successfully refactored to mount under /dashboard paths and compile cleanly.


ECSoC26 Submission

  • ECSoC26-L1 – Beginner
  • ECSoC26-L2 – Intermediate
  • ECSoC26-L3 – Advanced

CodeAnt-AI Description

Add a new landing page and move the app under /dashboard

What Changed

  • Replaced the app’s root page with a new Kepler landing page that includes a hero section, orbit animation, product explanation, reliability stats, and contact/footer links
  • Added “Launch Dashboard” entry points on the landing page so users can jump straight into the app
  • Moved the existing dashboard and all section pages under the /dashboard path, so the public landing page and app interface now live on separate routes

Impact

✅ Clearer first visit experience
✅ Easier dashboard access from the homepage
✅ Cleaner separation between marketing page and app routes

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • New Features

    • Added a Kepler landing page with product highlights, “How it works” steps, reliability stats, and an updated footer (current-year copyright).
    • Added Google Fonts injection and an animated hero that respects reduced-motion preferences.
  • Navigation & Routing

    • Updated the app routing so / renders the landing page and dashboard pages live under /dashboard.
    • Updated sidebar navigation links and dashboard active-state matching.
    • Added redirects from legacy top-level paths to their corresponding /dashboard/* routes.
    • Kept a “Launch Dashboard” CTA that navigates to /dashboard.

Greptile Summary

This PR introduces a new space-themed landing page at / and relocates the existing dashboard under /dashboard, with <Navigate> redirects preserving all old routes. The routing restructure in App.tsx and the nav link updates in MainLayout.tsx are clean and correct.

  • Landing page (LandingPage.tsx): 417-line new component with an SVG orbital animation, hero, "How it works", reliability stats, and footer. The scroll-triggered nav backdrop now works correctly because document.body.style.overflow = \"auto\" is set on mount, making the body the actual scroll container.
  • Route refactor (App.tsx): Root path now serves LandingPage; all dashboard pages mount under /dashboard; seven legacy redirects handle any bookmarked or linked top-level paths.
  • Sidebar fix (MainLayout.tsx): All navItems paths updated to the /dashboard/* prefix; the end prop is now correctly applied to the Dashboard entry, preventing it from appearing active on every sub-route.

Confidence Score: 5/5

Safe to merge — routing changes are straightforward, legacy redirects are in place, and the landing page is purely additive with no impact on existing dashboard functionality.

The routing restructure and nav updates are mechanically correct. The two findings in the landing page are cosmetic or defensive-quality concerns that do not affect correctness or break any existing behavior.

frontend/src/pages/LandingPage.tsx — orbital animation geometry and body overflow cleanup pattern worth revisiting.

Important Files Changed

Filename Overview
frontend/src/App.tsx Adds LandingPage at /, moves app routes under /dashboard, and adds <Navigate> redirects for all legacy top-level paths — straightforward and correct.
frontend/src/components/layouts/MainLayout.tsx NavLink paths updated to /dashboard/* prefix; end prop correctly added for the Dashboard entry to prevent permanent active state on all sub-routes.
frontend/src/pages/LandingPage.tsx New 417-line landing page. SVG orbital dots trace circular arcs (animateTransform rotate) while the drawn ellipses have much smaller minor axes, so dots visually stray far from their orbit paths. Body overflow is mutated globally and restored to a hardcoded value.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    Root["/"] --> LP[LandingPage]
    LP -->|Launch Dashboard CTA| DB["/dashboard"]
    DB --> DLayout[MainLayout]
    DLayout --> DIndex["(index) Dashboard"]
    DLayout --> ST["/dashboard/space-traffic"]
    DLayout --> SAT["/dashboard/satellites"]
    DLayout --> DEB["/dashboard/debris"]
    DLayout --> CC["/dashboard/collision-center"]
    DLayout --> AI["/dashboard/ai-agents"]
    DLayout --> MP["/dashboard/mission-planner"]
    DLayout --> SET["/dashboard/settings"]
    OldST["/space-traffic"] -->|Navigate redirect| ST
    OldSAT["/satellites"] -->|Navigate redirect| SAT
    OldDEB["/debris"] -->|Navigate redirect| DEB
    OldCC["/collision-center"] -->|Navigate redirect| CC
    OldAI["/ai-agents"] -->|Navigate redirect| AI
    OldMP["/mission-planner"] -->|Navigate redirect| MP
    OldSET["/settings"] -->|Navigate redirect| SET
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    Root["/"] --> LP[LandingPage]
    LP -->|Launch Dashboard CTA| DB["/dashboard"]
    DB --> DLayout[MainLayout]
    DLayout --> DIndex["(index) Dashboard"]
    DLayout --> ST["/dashboard/space-traffic"]
    DLayout --> SAT["/dashboard/satellites"]
    DLayout --> DEB["/dashboard/debris"]
    DLayout --> CC["/dashboard/collision-center"]
    DLayout --> AI["/dashboard/ai-agents"]
    DLayout --> MP["/dashboard/mission-planner"]
    DLayout --> SET["/dashboard/settings"]
    OldST["/space-traffic"] -->|Navigate redirect| ST
    OldSAT["/satellites"] -->|Navigate redirect| SAT
    OldDEB["/debris"] -->|Navigate redirect| DEB
    OldCC["/collision-center"] -->|Navigate redirect| CC
    OldAI["/ai-agents"] -->|Navigate redirect| AI
    OldMP["/mission-planner"] -->|Navigate redirect| MP
    OldSET["/settings"] -->|Navigate redirect| SET
Loading

Reviews (3): Last reviewed commit: "Fix layout scrolling: use dynamic body o..." | Re-trigger Greptile

@codeant-ai

codeant-ai Bot commented Jul 16, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation frontend Frontend development size/L Large contribution requiring significant work. size:L Large size type:bug Fixes an existing bug or unexpected behavior. type:documentation Improves project documentation. type:frontend Changes frontend or client-side code. ECSoC26 Official label for ECSoC26 event contributions. ECSoC26-L2 Level 2 contribution for the ECSoC26 event. labels Jul 16, 2026
@coderabbitai

coderabbitai Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

Landing Page and Dashboard Routing

Layer / File(s) Summary
Landing page composition
frontend/src/pages/LandingPage.tsx
Adds the Kepler landing page with navigation, hero content, reduced-motion orbital artwork, informational sections, statistics, footer links, font injection, and dashboard CTAs.
Application route wiring
frontend/src/App.tsx
Makes LandingPage the root route, serves MainLayout under /dashboard, and redirects legacy dashboard paths.
Dashboard sidebar paths
frontend/src/components/layouts/MainLayout.tsx
Updates sidebar links to use /dashboard/... paths and applies exact active matching to the Dashboard link.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Visitor
  participant LandingPage
  participant ReactRouter
  participant MainLayout
  Visitor->>LandingPage: Selects Launch Dashboard
  LandingPage->>ReactRouter: navigate("/dashboard")
  ReactRouter->>MainLayout: Renders dashboard route
Loading
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too generic and does not identify the landing page and route refactor. Rename it to mention the new landing page and /dashboard route restructuring, e.g. 'Add Kepler landing page and move dashboard routes under /dashboard'.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR satisfies #28 by making the landing page the default route, adding dashboard CTAs, and separating dashboard routes under /dashboard.
Out of Scope Changes check ✅ Passed The changes stay focused on the landing page and routing refactor, with no obvious unrelated code added.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The description includes the required sections, issue link, checklist, screenshots, breaking changes, and the ECSoC26 selection.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@codeant-ai codeant-ai Bot added size:L Large size and removed size:L Large size labels Jul 16, 2026
@github-actions github-actions Bot added AI Artificial Intelligence and Machine Learning enhancement New feature or request type:feature Introduces a new feature or enhancement. labels Jul 16, 2026
Comment on lines +193 to +202
<button
onClick={onLaunchDashboard}
className="font-body-ui font-semibold text-[15px] text-[#060A14] bg-[#FFB020] hover:bg-[#e59b15] border-none rounded-lg px-6.5 py-3 cursor-pointer transition-colors duration-150"
>
Launch Dashboard
</button>
<a
href="#how-it-works"
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-6.5 py-3 text-none transition-colors duration-150"
>

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 px-6.5 is not a value in Tailwind CSS's default spacing scale (which goes px-6 → px-7). The class is silently dropped, so both CTA buttons end up with zero horizontal padding. Use px-7 (1.75rem) or an arbitrary value like px-[26px] instead.

Suggested change
<button
onClick={onLaunchDashboard}
className="font-body-ui font-semibold text-[15px] text-[#060A14] bg-[#FFB020] hover:bg-[#e59b15] border-none rounded-lg px-6.5 py-3 cursor-pointer transition-colors duration-150"
>
Launch Dashboard
</button>
<a
href="#how-it-works"
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-6.5 py-3 text-none transition-colors duration-150"
>
<button
onClick={onLaunchDashboard}
className="font-body-ui font-semibold text-[15px] text-[#060A14] bg-[#FFB020] hover:bg-[#e59b15] border-none rounded-lg px-7 py-3 cursor-pointer transition-colors duration-150"
>
Launch Dashboard
</button>
<a
href="#how-it-works"
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-7 py-3 no-underline transition-colors duration-150"
>
Prompt To Fix With AI
This is a comment left during a code review.
Path: frontend/src/pages/LandingPage.tsx
Line: 193-202

Comment:
`px-6.5` is not a value in Tailwind CSS's default spacing scale (which goes `px-6` → `px-7`). The class is silently dropped, so both CTA buttons end up with zero horizontal padding. Use `px-7` (1.75rem) or an arbitrary value like `px-[26px]` instead.

```suggestion
          <button
            onClick={onLaunchDashboard}
            className="font-body-ui font-semibold text-[15px] text-[#060A14] bg-[#FFB020] hover:bg-[#e59b15] border-none rounded-lg px-7 py-3 cursor-pointer transition-colors duration-150"
          >
            Launch Dashboard
          </button>
          <a
            href="#how-it-works"
            className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-7 py-3 no-underline transition-colors duration-150"
          >
```

How can I resolve this? If you propose a fix, please make it concise.

</button>
<a
href="#how-it-works"
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-6.5 py-3 text-none transition-colors duration-150"

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 text-none is not a valid Tailwind utility class, so it produces no CSS. If the intent is to suppress the link underline, the correct class is no-underline (maps to text-decoration: none).

Suggested change
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-6.5 py-3 text-none transition-colors duration-150"
className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-7 py-3 no-underline transition-colors duration-150"
Prompt To Fix With AI
This is a comment left during a code review.
Path: frontend/src/pages/LandingPage.tsx
Line: 201

Comment:
`text-none` is not a valid Tailwind utility class, so it produces no CSS. If the intent is to suppress the link underline, the correct class is `no-underline` (maps to `text-decoration: none`).

```suggestion
            className="font-body-ui font-semibold text-[15px] text-[#E7EBF3] bg-transparent border border-[#1B2436] hover:bg-[#1B2436]/30 rounded-lg px-7 py-3 no-underline transition-colors duration-150"
```

How can I resolve this? If you propose a fix, please make it concise.

};

return (
<div className="bg-[#060A14] min-h-screen text-[#E7EBF3] overflow-x-hidden select-none">

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 select-none on the root element prevents the user from selecting any text on the landing page — including the headline, marketing copy, and footer. This is usually appropriate for interactive app chrome but hurts usability on a marketing page where visitors may want to copy text.

Suggested change
<div className="bg-[#060A14] min-h-screen text-[#E7EBF3] overflow-x-hidden select-none">
<div className="bg-[#060A14] min-h-screen text-[#E7EBF3] overflow-x-hidden">
Prompt To Fix With AI
This is a comment left during a code review.
Path: frontend/src/pages/LandingPage.tsx
Line: 366

Comment:
`select-none` on the root element prevents the user from selecting any text on the landing page — including the headline, marketing copy, and footer. This is usually appropriate for interactive app chrome but hurts usability on a marketing page where visitors may want to copy text.

```suggestion
    <div className="bg-[#060A14] min-h-screen text-[#E7EBF3] overflow-x-hidden">
```

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@frontend/src/App.tsx`:
- Around line 17-18: Update the route configuration in App to add redirects for
the legacy paths /space-traffic, /satellites, /debris, /collision-center,
/ai-agents, /mission-planner, and /settings to their corresponding nested
dashboard routes, while preserving the existing landing-page route at /. Ensure
deep links resolve instead of remaining unmatched.

In `@frontend/src/components/layouts/MainLayout.tsx`:
- Line 40: Update the Dashboard navigation item in the MainLayout navigation
configuration to pass the NavLink end behavior for its /dashboard path, so it is
active only on the dashboard index route and not nested /dashboard/* routes.

In `@frontend/src/pages/LandingPage.tsx`:
- Around line 76-83: Update the orbital-dot rendering in the LandingPage
component to honor prefers-reduced-motion: reduce by suppressing
animateTransform or rendering the dots without animation for users who request
reduced motion, while preserving the existing indefinite rotation otherwise.
- Around line 325-340: Update the footer link mappings in LandingPage.tsx so
Product items navigate to `#product`, `#how-it-works`, and `#reliability`
respectively. Replace the placeholder # destinations for Company items with real
destinations, or render unavailable items as non-link elements instead of
anchors.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e6e7016a-1653-4439-b2ee-20bbf95e97bc

📥 Commits

Reviewing files that changed from the base of the PR and between 129ff02 and 1c78f6c.

⛔ Files ignored due to path filters (1)
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • frontend/src/App.tsx
  • frontend/src/components/layouts/MainLayout.tsx
  • frontend/src/pages/LandingPage.tsx

Comment thread frontend/src/App.tsx Resolved
Comment thread frontend/src/pages/LandingPage.tsx Resolved
Comment thread frontend/src/pages/LandingPage.tsx Resolved
Comment thread frontend/src/pages/LandingPage.tsx Outdated
Comment on lines +327 to +339
<a href="#" className="font-body-ui text-[13px] text-[#8892A6] hover:text-[#E7EBF3] no-underline transition-colors duration-150">
{t}
</a>
</div>
))}
</div>
<div>
<div className="font-body-ui text-xs text-[#4FE0C8] mb-3.5 font-semibold">
COMPANY
</div>
{["About", "Careers", "Contact"].map((t) => (
<div key={t} className="mb-2">
<a href="#" className="font-body-ui text-[13px] text-[#8892A6] hover:text-[#E7EBF3] no-underline transition-colors duration-150">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: The footer navigation links are wired to #, so they do not navigate to real destinations and instead jump to the top of the page. This creates broken navigation behavior; point these links to actual section anchors or real routes. [incomplete implementation]

Severity Level: Major ⚠️
⚠️ Footer PRODUCT links jump to top, not sections.
⚠️ Footer COMPANY links currently non-functional placeholders.
⚠️ Navigation inconsistent between header and footer anchors.
Steps of Reproduction ✅
1. The landing page footer component is defined in `frontend/src/pages/LandingPage.tsx`
lines 301-351, with the footer container having `id="contact"` and housing product/company
link groups.

2. Within the PRODUCT group at lines 323-331, links like "Overview", "How it works", and
"Reliability" are rendered using `<a href="#" ...>` (e.g. line 327), and similarly the
COMPANY group at lines 334-343 renders "About", "Careers", "Contact" as `<a href="#" ...>`
(e.g. line 339).

3. Earlier in the same file, the top navigation bar at lines 118-147 wires meaningful
anchors (`href="#product"`, `href="#how-it-works"`, `href="#reliability"`,
`href="#contact"`), and corresponding section IDs exist on the Hero, HowItWorks,
Reliability, and Footer sections at lines 170, 235, 282, and 306.

4. When a user reaches the footer on `/` and clicks "Overview" or "How it works" in the
footer, the browser navigates to `#` (top of the document) instead of the intended section
anchors, producing a jump-to-top behavior and leaving footer navigation effectively broken
compared to the correctly wired header links.

Fix in Cursor Fix in VSCode Claude

(Use Cmd/Ctrl + Click for best experience)

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** frontend/src/pages/LandingPage.tsx
**Line:** 327:339
**Comment:**
	*Incomplete Implementation: The footer navigation links are wired to `#`, so they do not navigate to real destinations and instead jump to the top of the page. This creates broken navigation behavior; point these links to actual section anchors or real routes.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

};

return (
<div className="bg-[#060A14] min-h-screen text-[#E7EBF3] overflow-x-hidden select-none">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: The landing page root only hides horizontal overflow, but the app’s global stylesheet sets body to overflow: hidden, so this page cannot scroll vertically. Users won’t be able to reach sections below the fold (including footer content and in-page anchor targets). Make the landing root an explicit scroll container (for example full-height with vertical overflow enabled) or scope the global overflow rule away from this route. [css layout issue]

Severity Level: Critical 🚨
❌ Landing page cannot scroll; content below fold inaccessible.
❌ HowItWorks, Reliability, Footer sections unreachable on `/`.
⚠️ In-page anchors (#how-it-works, #contact) never usable.
Steps of Reproduction ✅
1. The root route is defined in `frontend/src/App.tsx` at lines 16-18, where `<Route
path="/" element={<LandingPage />} />` maps the `/` URL to the `LandingPage` component.

2. Global base styles in `frontend/src/styles/index.css` lines 14-19 set `body {
background-color: #000000; color: #dfe2eb; overflow: hidden; }`, preventing the document
from scrolling vertically.

3. The `LandingPage` component root container in `frontend/src/pages/LandingPage.tsx` line
366 renders a `<div>` with `min-h-screen` and `overflow-x-hidden` but no `overflow-y`
rule, so it relies on the body for vertical scrolling.

4. When a user navigates to `/` in the running app, the page content (Hero, HowItWorks,
Reliability, Footer at lines 167-371 in `LandingPage.tsx`) extends beyond the viewport,
but the `body` overflow restriction stops vertical scroll, making sections below the fold
and anchor targets (e.g. `#how-it-works`, `#reliability`, `#contact`) unreachable.

Fix in Cursor Fix in VSCode Claude

(Use Cmd/Ctrl + Click for best experience)

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** frontend/src/pages/LandingPage.tsx
**Line:** 366:366
**Comment:**
	*Css Layout Issue: The landing page root only hides horizontal overflow, but the app’s global stylesheet sets `body` to `overflow: hidden`, so this page cannot scroll vertically. Users won’t be able to reach sections below the fold (including footer content and in-page anchor targets). Make the landing root an explicit scroll container (for example full-height with vertical overflow enabled) or scope the global overflow rule away from this route.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

@codeant-ai

codeant-ai Bot commented Jul 16, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

@github-actions github-actions Bot added the size/XL Very large or complex contribution. label Jul 16, 2026
Comment thread frontend/src/pages/LandingPage.tsx Resolved
@krishkhinchi

Copy link
Copy Markdown
Member

@ronaksarda, Please attach screenshots of the Landing Page along with your PR.

@ronaksarda

Copy link
Copy Markdown
Contributor Author

Adding it!

@github-actions github-actions Bot added the database Database and schema related changes label Jul 16, 2026
@ronaksarda

Copy link
Copy Markdown
Contributor Author

Done @krishkhinchi !

@krishkhinchi krishkhinchi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!!

@krishkhinchi
krishkhinchi merged commit dc50185 into 7-Blocks:main Jul 16, 2026
10 checks passed
@ronaksarda

ronaksarda commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor Author

LGTM!!

Sorry for taking up a lot of time , was working on multiple things

@ronaksarda
ronaksarda deleted the updates-landing-page branch July 16, 2026 07:30
@coderabbitai coderabbitai Bot mentioned this pull request Jul 16, 2026
3 of 4 tasks
@krishkhinchi

Copy link
Copy Markdown
Member

@ronaksarda No worries at all, and thank you for your contribution to Kepler! We’ve created a few more frontend issues, so if you’d like to keep working on it, feel free to check them out.

@ronaksarda

Copy link
Copy Markdown
Contributor Author

Surely @krishkhinchi , this is a really intriguing project
will try to look into more issues and fixes

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

Labels

AI Artificial Intelligence and Machine Learning bug Something isn't working database Database and schema related changes documentation Improvements or additions to documentation ECSoC26-L2 Level 2 contribution for the ECSoC26 event. ECSoC26 Official label for ECSoC26 event contributions. enhancement New feature or request frontend Frontend development size/L Large contribution requiring significant work. size:L Large size size/XL Very large or complex contribution. type:bug Fixes an existing bug or unexpected behavior. type:documentation Improves project documentation. type:feature Introduces a new feature or enhancement. type:frontend Changes frontend or client-side code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create the Main Landing Page for Kepler

2 participants