RedWilly / Pump-UI

pump fun EVM ( UI )
https://bondle.xyz
8 stars 12 forks source link

custom 404 #22

Closed RedWilly closed 2 months ago

RedWilly commented 2 months ago

Summary by Sourcery

Implement a custom 404 error page and a detailed profile page for users, including token holdings and transaction history. Enhance the Navbar to support dynamic profile linking based on user connection status.

New Features:

Enhancements:

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pump-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 3:30pm
sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request implements a custom 404 page and enhances the profile page functionality. It also updates the navbar to include a profile link and adds error handling for unauthenticated users.

File-Level Changes

Change Details Files
Implement a custom 404 page
  • Create a new 404.tsx file with a custom 404 page layout
  • Include a 'Return Home' button for easy navigation
  • Add SEO component for better search engine optimization
src/pages/404.tsx
Enhance profile page functionality
  • Add tabs for 'Tokens Held' and 'Tokens Created'
  • Implement pagination for transactions and created tokens
  • Display token balances and transaction history
  • Add SEO component for profile pages
  • Implement responsive design for various screen sizes
src/pages/profile/[address].tsx
Update navbar to include profile link
  • Replace 'Dashboard' link with 'Profile' link
  • Add error handling for unauthenticated users trying to access profile
  • Implement a popup notification for users who need to connect their wallet
src/components/layout/Navbar.tsx

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.