Standardize NEXT logo assets#16
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
nextcommerce-docs | a0e961f | Commit Preview URL Branch Preview URL |
Jul 16 2026, 02:39 PM |
| <Link href="/" className="flex items-center gap-3"> | ||
| <img src="/logo-light.png" alt="Next Commerce" width={105} height={21} className="dark:hidden" /> | ||
| <img src="/logo-dark.png" alt="Next Commerce" width={105} height={21} className="hidden dark:block" /> | ||
| <img src="/next-dark.svg" alt="Next Commerce" width={79} height={26} className="dark:hidden" /> |
There was a problem hiding this comment.
SUGGESTION: Aspect-ratio mismatch between SVG viewBox and rendered box.
The new SVG has viewBox="0 0 451 148" (ratio 451/148 ≈ 3.0474), but it's being rendered at width={79} height={26} (ratio 79/26 ≈ 3.0385). That's a ~0.3% horizontal squish, which is below most visual perception thresholds but still a non-uniform scale.
Either size the box to the SVG's true ratio (e.g. width={80} height={26} or width={79} height={26} with a tiny tweak) or, since SVGs scale crisply, consider dropping the hard-coded width/height and letting CSS control the size via the natural ratio.
| <img src="/next-dark.svg" alt="Next Commerce" width={79} height={26} className="dark:hidden" /> | |
| <img src="/next-dark.svg" alt="Next Commerce" width={80} height={26} className="dark:hidden" /> |
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
| <> | ||
| <img src="/logo-light.png" alt={siteConfig.companyName} width={105} height={21} className="dark:hidden" /> | ||
| <img src="/logo-dark.png" alt={siteConfig.companyName} width={105} height={21} className="hidden dark:block" /> | ||
| <img src="/next-dark.svg" alt={siteConfig.companyName} width={79} height={26} className="dark:hidden" /> |
There was a problem hiding this comment.
SUGGESTION: Same aspect-ratio mismatch as in app/page.tsx — SVG viewBox is 451x148 (ratio ≈ 3.0474) but rendered box is 79x26 (ratio ≈ 3.0385). Adjust to width={80} height={26} to preserve the canonical proportions, or drop the hard-coded dimensions and let CSS size it from the intrinsic SVG ratio.
| <img src="/next-dark.svg" alt={siteConfig.companyName} width={79} height={26} className="dark:hidden" /> | |
| <img src="/next-dark.svg" alt={siteConfig.companyName} width={80} height={26} className="dark:hidden" /> |
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The follow-up commit ( Files Reviewed (2 files)
Previous Review Summary (commit 61a69f3)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 61a69f3)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (6 files)
Reviewed by minimax-m3 · Input: 43.9K · Output: 1.3K · Cached: 126.7K |
Summary
Validation