Skip to content

Revert "feat(homepage): Bifurcated homepage refresh" - #18870

Merged
sergical merged 1 commit into
masterfrom
revert-18786-Coolguyzone/feat/bifurcate-homepage-no-sidebar
Jul 29, 2026
Merged

Revert "feat(homepage): Bifurcated homepage refresh"#18870
sergical merged 1 commit into
masterfrom
revert-18786-Coolguyzone/feat/bifurcate-homepage-no-sidebar

Conversation

@sergical

Copy link
Copy Markdown
Member

Reverts #18786

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview Jul 29, 2026 2:22pm
sentry-docs Ready Ready Preview Jul 29, 2026 2:22pm

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit afde0dd. Configure here.

Comment thread src/components/home.tsx
,{' '}
<Link href="/product/drains/" className="text-[#8b5cf6] underline">
Logs
</Link>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wrong Logs product link

Medium Severity

The homepage feature list labels this link as Logs, but href points to /product/drains/ (Log and Trace Drains) instead of /product/logs/. Visitors expecting Logs docs land on a different product page.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit afde0dd. Configure here.

Comment thread src/components/home.tsx
<div className="w-full relative hero-gradient">
{/* Single decorative squiggle at top right */}
<img
src={SquiggleSVG.src}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: The code accesses SquiggleSVG.src directly. If the SVG is imported as a string URL instead of an object, .src will be undefined, causing a broken image.
Severity: LOW

Suggested Fix

To prevent a broken image, update the img tag to handle cases where the SVG is imported as a string. Use a defensive check like src={typeof SquiggleSVG === 'string' ? SquiggleSVG : SquiggleSVG?.src} to ensure the image source is always a valid string.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: src/components/home.tsx#L67

Potential issue: The `img` tag at `src/components/home.tsx:67` uses `SquiggleSVG.src` as
its source. This assumes the `SquiggleSVG` import is an object with a `.src` property.
However, depending on the Next.js configuration, SVG imports can resolve to a simple
string URL. In that scenario, attempting to access the `.src` property of a string
results in `undefined`, which will cause the image to fail to load. The codebase already
contains a safer pattern for this in `platformIcon.tsx`, which handles both string and
object imports: `typeof svg === 'string' ? svg : svg?.src`.

Also affects:

  • src/components/home.tsx:17~17

Did we get this right? 👍 / 👎 to inform future reviews.

@sergical
sergical merged commit fea20cc into master Jul 29, 2026
23 checks passed
@sergical
sergical deleted the revert-18786-Coolguyzone/feat/bifurcate-homepage-no-sidebar branch July 29, 2026 14:29
sergical added a commit that referenced this pull request Jul 29, 2026
sergical added a commit that referenced this pull request Jul 29, 2026
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.

2 participants