Skip to content

Sync site updates: Earn card, history animation, design polish#4

Closed
sdfcharles wants to merge 4 commits into
mainfrom
charles-stellar
Closed

Sync site updates: Earn card, history animation, design polish#4
sdfcharles wants to merge 4 commits into
mainfrom
charles-stellar

Conversation

@sdfcharles
Copy link
Copy Markdown

Summary

  • New Earn feature card with circular progress ring + rolling-digit balance ($349 / 4% interest)
  • History card animation rework — existing rows now push down before the new row scale-pops in at the top
  • History card layout — 48px inner padding and a bottom gradient blur-out so the leaving row dissolves into the card edge
  • Removed third-party `ui.sh/ui-picker.js` script from the root layout
  • Misc UI tweaks — gray card backgrounds, download screenshots, mobile footer, responsive fixes; adds Nouns / USDC / XLM logo assets

This branch syncs the site with the latest local work that hadn't yet made it to this repo.

Test plan

  • `npm run dev` and visit `/` — verify Earn card shows green ring filling to ~85% with the trailing digit rolling 0→9
  • On the History card, confirm the list pushes down first, briefly leaves the top slot empty, then the new row scale-pops in
  • Verify History card has 48px inset and the bottom row fades into the card edge
  • Confirm no `ui.sh` script tag appears in the page source
  • Resize from mobile → desktop and check carousel + footer layouts
  • Netlify preview deploys cleanly

🤖 Generated with Claude Code

Brings the site in line with the latest local work, including:
- New Earn feature card with circular progress ring + rolling-digit balance
- History card: rows push down before new row scale-pops in; 48px inner padding; bottom gradient blur-out
- Removes ui.sh/ui-picker.js script from layout
- Misc UI: gray card backgrounds, download screenshots, mobile footer, responsive fixes
- Adds Nouns / USDC / XLM logo assets

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 1, 2026 21:49
@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for freighter-website ready!

Name Link
🔨 Latest commit f74d036
🔍 Latest deploy log https://app.netlify.com/projects/freighter-website/deploys/69fb8726e411730008e48b94
😎 Deploy Preview https://deploy-preview-4--freighter-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Restore output: "export" + images.unoptimized in next.config.ts (was clobbered when overlaying local content onto upstream)
- Add dynamic = "force-static" to robots.ts and sitemap.ts so they generate at build time under static export
- Pin dev/start to port 3004 to match local convention

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Syncs the marketing site UI/animations with the latest local design work, adding a new “Earn” feature card and reworking the Feature Carousel visuals/animations, plus a revamped Changelog that pulls release data from GitHub.

Changes:

  • Adds new Feature Carousel content/visual system (Earn card, editorial styling, updated animations, new CSS tokens).
  • Simplifies the Navbar and updates global typography (JetBrains Mono variable font).
  • Reworks Changelog to fetch and render GitHub releases with animated filtering.

Reviewed changes

Copilot reviewed 12 out of 28 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/components/ui/PhosphorIcons.tsx Adds additional Phosphor icons used by new animations/UI.
src/components/ui/ColorBends.tsx Adds ResizeObserver fallback for environments without it.
src/components/layout/Navbar.tsx Removes mobile overlay menu; adds entrance animation; download CTA now desktop-only.
src/components/home/FeatureCarousel.tsx Adds Earn item + cardStyle variants; adjusts card rendering and edge blur/opacity behavior.
src/components/home/FeatureAnimations.tsx Major animation overhaul; adds Earn stage and redesigned stages for existing features.
src/components/home/FAQSection.tsx Tweaks FAQ expand/collapse animation (spring icon rotation + blur transition).
src/app/sitemap.ts Removes dynamic = "force-static".
src/app/robots.ts Removes dynamic = "force-static".
src/app/page.tsx Adds multiple FeatureCarousel variants behind hidden blocks (ui-dotsh attributes).
src/app/layout.tsx Adds JetBrains Mono font variable to root HTML class list.
src/app/globals.css Adds extensive Feature Carousel styling system + new animations.
src/app/changelog/page.tsx Fetches GitHub releases for extension/mobile and passes to client renderer.
src/app/changelog/changelog-content.tsx New client-side rendering of release body + animated filtering/timeline.
public/images/usdc-logo.svg Adds USDC logo asset.
public/images/nouns/* Adds Nouns PNG assets used in collectibles animation.
next.config.ts Removes static export config; leaves placeholder config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +39 to +42
<div key={i} className="flex items-start gap-2">
<span className="text-accent mt-1.5 shrink-0">&bull;</span>
<span dangerouslySetInnerHTML={{ __html: inlineMarkdown(text) }} />
</div>
Comment on lines +61 to +69
// Minimal inline markdown: bold, links, code
function inlineMarkdown(text: string): string {
return text
.replace(/\*\*(.+?)\*\*/g, '<strong class="text-text-primary font-medium">$1</strong>')
.replace(/`(.+?)`/g, '<code class="text-xs bg-bg-hover px-1 py-0.5 rounded">$1</code>')
.replace(
/\[([^\]]+)\]\(([^)]+)\)/g,
'<a href="$2" target="_blank" rel="noopener noreferrer" class="text-accent hover:underline">$1</a>'
);
Comment on lines +89 to +92
// Merge and sort by date descending
const entries = [...extensionReleases, ...mobileReleases].sort(
(a, b) => new Date(b.date).getTime() - new Date(a.date).getTime()
);
Comment on lines +31 to +36
{/* Download button — hidden on mobile */}
<a
href={LINKS.chromeExtension}
target="_blank"
rel="noopener noreferrer"
className="hidden lg:inline-flex items-center justify-center px-6 py-3 text-sm font-medium text-white bg-white/10 backdrop-blur-md rounded-full hover:bg-white/20 transition-all duration-200"
Comment thread src/app/page.tsx
Comment on lines +17 to +30
<div data-uidotsh-pick="Card style" className="contents">
<div data-uidotsh-option="Solid (current)" className="contents">
<FeatureCarousel cardStyle="solid" />
</div>
<div data-uidotsh-option="Glow ring" className="contents" hidden>
<FeatureCarousel cardStyle="glow" />
</div>
<div data-uidotsh-option="Glass" className="contents" hidden>
<FeatureCarousel cardStyle="glass" />
</div>
<div data-uidotsh-option="Editorial" className="contents" hidden>
<FeatureCarousel cardStyle="editorial" />
</div>
</div>
- Expand swap coin to cycle through XLM/USDC/EUROC/ARST with synchronized label
- Replace ColorBends CTA background with new IridescenceBackground
- Add MotionProvider and Silk component
- Improve reduced-motion and hover:none handling across feature animations

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sdfcharles
Copy link
Copy Markdown
Author

Superseding with a fresh PR covering the latest scope (hero/discover card + swap coin polish + iridescence CTA).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants