Skip to content

Commit 314b6f0

Browse files
techgangbossclaude
andauthored
chore: dark navy PWA icons from brand guidelines (#87)
* chore: replace PWA icons with dark navy background from brand guidelines Replaces white-background bolt icons with dark navy (#041017) versions from brand guidelines. Looks clean as circular app icon on mobile home screens — no more white square standing out. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: embed share URL in tweet text instead of &url= param The &url= parameter in Twitter intent URLs causes the composer to get stuck reloading state before showing the post preview. Embedding the URL directly in the tweet text avoids this — Twitter still auto-links and crawls the OG card. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 89b8efe commit 314b6f0

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

public/icons/icon-192x192.png

2.92 KB
Loading

public/icons/icon-512x512.png

27.4 KB
Loading

src/components/swap/SwapToast.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,11 @@ export function SwapToast({ hash }: { hash: string }) {
474474
if (secs <= 4.1) {
475475
fetch(`${window.location.origin}/og/preconfirm/${elapsedSec}`).catch(() => {})
476476
}
477+
// Embed URL in tweet text rather than using &url= param
478+
// The &url= param causes Twitter composer to get stuck reloading state
479+
const tweetText = `${text}\n\n${shareUrl}`
477480
window.open(
478-
`https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(shareUrl)}`,
481+
`https://twitter.com/intent/tweet?text=${encodeURIComponent(tweetText)}`,
479482
"_blank"
480483
)
481484
}}

0 commit comments

Comments
 (0)