-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add blue/purple top border, Lovable icon, and sponsor section to navigation #5
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
Conversation
Co-authored-by: sumitduster-iMac <[email protected]>
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.
Pull request overview
This PR enhances the Lovable Desktop App UI with brand-consistent visual elements including a gradient top border on the navigation bar, an embedded Lovable logo with animation, and a new sponsor section between the webview and status bar.
- Added a 4px gradient border (blue→purple→pink) to the navigation bar
- Embedded an animated SVG logo (32x32px) in the navigation bar
- Created a sponsor section with interactive link and animated heart icon
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| styles.css | Added gradient border styling to nav-bar, nav-logo styles with pulse animation, and complete sponsor section styling with hover effects and animations |
| index.html | Embedded inline SVG logo in navigation bar and added sponsor section HTML between webview and status bar with community attribution and Lovable link |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <svg class="nav-logo" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> | ||
| <defs> | ||
| <linearGradient id="navGrad" x1="0%" y1="0%" x2="100%" y2="100%"> | ||
| <stop offset="0%" style="stop-color:rgb(139,92,246);stop-opacity:1" /> | ||
| <stop offset="100%" style="stop-color:rgb(236,72,153);stop-opacity:1" /> | ||
| </linearGradient> | ||
| <linearGradient id="navGrad2" x1="0%" y1="0%" x2="100%" y2="100%"> | ||
| <stop offset="0%" style="stop-color:rgb(236,72,153);stop-opacity:1" /> | ||
| <stop offset="100%" style="stop-color:rgb(251,113,133);stop-opacity:1" /> | ||
| </linearGradient> | ||
| </defs> | ||
| <circle cx="256" cy="256" r="240" fill="url(#navGrad)" opacity="0.2"/> | ||
| <path d="M256 100 L340 220 L256 190 L172 220 Z" fill="url(#navGrad)"/> | ||
| <path d="M256 190 L340 310 L256 420 L172 310 Z" fill="url(#navGrad2)"/> | ||
| <circle cx="256" cy="256" r="200" fill="none" stroke="url(#navGrad)" stroke-width="4" opacity="0.5"/> | ||
| </svg> |
Copilot
AI
Dec 30, 2025
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.
The SVG logo is embedded inline instead of using the existing assets/icon.svg file mentioned in the PR description. This creates duplicate code and makes maintenance harder. Consider using an <img> tag or <object> tag to reference the external SVG file.
| width: 32px; | ||
| height: 32px; | ||
| margin-right: 0.5rem; | ||
| animation: pulse 2s ease-in-out infinite; |
Copilot
AI
Dec 30, 2025
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.
The same pulse animation is used for both .nav-logo (2s duration) and .sponsor-heart (1.5s duration), but they reference the same @keyframes pulse definition. The elements will have different animation durations but share the same animation behavior. This works correctly, but consider documenting this intentional difference or using distinct animation names if the behaviors should differ in the future.
| <div class="sponsor-section"> | ||
| <span>Made with <span class="sponsor-heart">♥</span> by the community</span> | ||
| <span>•</span> | ||
| <a href="https://lovable.dev" target="_blank">Powered by Lovable</a> |
Copilot
AI
Dec 30, 2025
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.
The external link opens in target="_blank" without rel="noopener noreferrer", which creates a security vulnerability. The opened page can access window.opener and potentially redirect the parent page or access its context. This is especially important in an Electron app.
| <a href="https://lovable.dev" target="_blank">Powered by Lovable</a> | |
| <a href="https://lovable.dev" target="_blank" rel="noopener noreferrer">Powered by Lovable</a> |
| <svg class="nav-logo" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> | ||
| <defs> | ||
| <linearGradient id="navGrad" x1="0%" y1="0%" x2="100%" y2="100%"> | ||
| <stop offset="0%" style="stop-color:rgb(139,92,246);stop-opacity:1" /> | ||
| <stop offset="100%" style="stop-color:rgb(236,72,153);stop-opacity:1" /> | ||
| </linearGradient> | ||
| <linearGradient id="navGrad2" x1="0%" y1="0%" x2="100%" y2="100%"> | ||
| <stop offset="0%" style="stop-color:rgb(236,72,153);stop-opacity:1" /> | ||
| <stop offset="100%" style="stop-color:rgb(251,113,133);stop-opacity:1" /> | ||
| </linearGradient> | ||
| </defs> | ||
| <circle cx="256" cy="256" r="240" fill="url(#navGrad)" opacity="0.2"/> | ||
| <path d="M256 100 L340 220 L256 190 L172 220 Z" fill="url(#navGrad)"/> | ||
| <path d="M256 190 L340 310 L256 420 L172 310 Z" fill="url(#navGrad2)"/> | ||
| <circle cx="256" cy="256" r="200" fill="none" stroke="url(#navGrad)" stroke-width="4" opacity="0.5"/> | ||
| </svg> |
Copilot
AI
Dec 30, 2025
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.
The SVG logo lacks accessible text alternatives. Screen readers won't be able to convey the presence or purpose of the logo to users with visual impairments. Add an aria-label attribute (e.g., aria-label="Lovable logo") or include a <title> element within the SVG.
Enhanced the Lovable Desktop App UI with brand-consistent visual elements: a gradient top border, the Lovable app icon in the navigation bar, and a sponsor section.
Changes
Navigation Bar
assets/icon.svgon left side with pulse animationSponsor Section
Implementation
Screenshot
All enhancements use the existing color palette and design system. Modified files:
index.html,styles.css.Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Note
Enhances the navbar and footer area with branding and a sponsor callout.
nav-logoto navbar with pulse animation; aligns.nav-left/.nav-rightnav-barviaborder-imagesponsor-sectionbetweenwebviewand status bar with link and animated heartstyles.csswith new classes, hover states, and animations to support these UI elementsWritten by Cursor Bugbot for commit 8f32d84. Configure here.