Add PHU AI branded hero artwork and social preview metadata#36
Merged
Add PHU AI branded hero artwork and social preview metadata#36
Conversation
Co-authored-by: phuquoc81 <51638662+phuquoc81@users.noreply.github.com>
Co-authored-by: phuquoc81 <51638662+phuquoc81@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix image loading issue in user attachments
Add PHU AI branded hero artwork and social preview metadata
Mar 14, 2026
phuquoc81
approved these changes
Mar 14, 2026
There was a problem hiding this comment.
Pull request overview
Adds PHU AI branding to the Fastcash landing/dashboard experience, including a new hero block, local artwork assets, and richer social preview metadata so shared links render a first-party preview image.
Changes:
- Introduces a new dashboard hero card with tagline + CTA buttons that switch to existing tabs.
- Adds/uses local PHU AI artwork (SVG for in-app + favicon; PNG for social preview tags).
- Refactors tab switching into a shared
_showTab()method reused by header nav and hero CTAs.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| styles.css | Adds styling + responsive rules for the new hero card layout and artwork presentation. |
| script.js | Extracts tab switching into _showTab() and wires hero CTA buttons to reuse it. |
| index.html | Adds hero markup, updates favicon, and adds description/OG/Twitter metadata for link previews. |
| assets/phu-ai-spark.svg | Adds the PHU AI hero/fav icon SVG artwork. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dashboard did not reflect the supplied PHU AI key art or tagline. This updates the landing experience to surface that branding directly in the app and ensures shared links use a local preview image instead of an external attachment.
Dashboard hero
Local branding assets
Metadata / share preview
description,og:*, andtwitter:*metadataNavigation reuse
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github-production-user-asset-6210df.s3.amazonaws.com/usr/bin/curl curl -L REDACTED -o assets/phu-ai-spark.png(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.