-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Optimize marketing navbar logo image #1750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| --- | ||
| import { Image } from "astro:assets"; | ||
| import navIcon from "../assets/app-icon.png"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrong image asset used for navbar logoMedium Severity The Reviewed by Cursor Bugbot for commit 51aae21. Configure here. |
||
|
|
||
| interface Props { | ||
| title?: string; | ||
| description?: string; | ||
|
|
@@ -31,7 +34,14 @@ const { | |
| <div class="page"> | ||
| <nav class="nav"> | ||
| <a href="/" class="nav-brand"> | ||
| <img src="/icon.png" alt="T3" class="nav-icon" /> | ||
| <Image | ||
| src={navIcon} | ||
| alt="T3" | ||
| width={28} | ||
| height={28} | ||
| priority | ||
| class="nav-icon" | ||
| /> | ||
|
Comment on lines
+37
to
+44
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 High The src="/icon.png"
alt="T3"
width={28}
height={28}
- priority
+ loading="eager"
class="nav-icon"🤖 Copy this AI Prompt to have your agent fix this:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Astro 6 does support I verified this against the current Astro docs before updating the branch.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I'm unable to act on this request because you do not have permissions within this repository.
cursor[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </a> | ||
| <a | ||
| href="https://github.com/pingdotgg/t3code" | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Critical
layouts/Layout.astro:3The import path
../../../assets/prod/black-ios-1024.pngresolves toapps/assets/prod/black-ios-1024.png, which does not exist. The actual asset is atassets/prod/black-ios-1024.png. This causes a build failure when Astro attempts to resolve the image import.🤖 Copy this AI Prompt to have your agent fix this: