Skip to content
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

[landing]: bridge UI Improvement #2484

Merged
merged 5 commits into from
Dec 13, 2024
Merged

[landing]: bridge UI Improvement #2484

merged 5 commits into from
Dec 13, 2024

Conversation

credence0x
Copy link
Collaborator

@credence0x credence0x commented Dec 13, 2024

  • add connect wallet messages
  • make $lords default resource when bridging in resources
  • update bridge section description messages

Summary by CodeRabbit

  • New Features

    • Enhanced user interface for the bridging process across multiple components.
    • Introduced structured layouts with detailed instructions for bridging assets and withdrawals.
    • Improved visual appeal with new icons and engaging messages when no realms or season passes are available.
  • Bug Fixes

    • Improved messaging for wallet connection status in the UI.
  • Documentation

    • Updated instructional text for users regarding resource selection and withdrawal processes.

Copy link

vercel bot commented Dec 13, 2024

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

Name Status Preview Comments Updated (UTC)
eternum ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 6:30pm
eternum-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 6:30pm
eternum-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2024 6:30pm

Copy link
Contributor

coderabbitai bot commented Dec 13, 2024

Walkthrough

The changes in this pull request involve significant updates to four components: BridgeIn, BridgeOutStep1, BridgeOutStep2, RealmsGrid, and SeasonPassesGrid. The BridgeIn component now pre-selects the Lords resource upon mounting and enhances the UI with clearer instructions for the bridging process. The BridgeOutStep1 and BridgeOutStep2 components feature improved layouts and messaging, guiding users through the withdrawal process more effectively. The RealmsGrid and SeasonPassesGrid components have enhanced their UI for scenarios when no data is available, improving user engagement. These modifications focus on enhancing user experience through better organization and clarity without altering the core functionality of the components.

Changes

File Path Change Summary
landing/src/components/modules/bridge-in.tsx - Pre-selects Lords resource on mount.
- Enhanced UI with structured layout and detailed steps for bridging.
- Resets state after successful bridge.
- Conditional rendering for wallet connection prompt.
landing/src/components/modules/bridge-out-step-1.tsx - Restructured UI with detailed instructions for bridging.
- Conditional rendering for wallet connection prompt.
landing/src/components/modules/bridge-out-step-2.tsx - Updated UI structure and text for withdrawal instructions.
- Clearer wallet connection messaging.
- Simplified button text for final withdrawal action.
landing/src/components/modules/realms-grid.tsx - Enhanced UI when no realms are found, including a styled container and Castle icon.
- Added button linking to marketplace for acquiring realms.
landing/src/components/modules/season-passes-grid.tsx - Enhanced UI when no season passes are available, including a styled container and Crown icon.
- Added button linking to marketplace for purchasing season passes.

Possibly related PRs

  • Bridge UX #2266: The changes in the BridgeIn component regarding the UI and fee management are related to the Bridge UX PR, which also focuses on enhancing the user experience during the bridging process.
  • refactor bridge - prepare for main merge #2371: The modifications in the BridgeIn component to improve resource management and fee calculations are connected to the refactor bridge - prepare for main merge PR, which also addresses similar aspects of the bridging functionality.
  • Fix/army stamina #2448: The updates in the BridgeIn component to enhance resource management during the bridging process align with the changes made in the Fix/army stamina PR, which also involves adjustments to state management and calculations.
  • Fix bridge light theme #2464: The styling updates in the BridgeIn component to improve the light theme are related to the Fix bridge light theme PR, which aims to address visual consistency in the bridge interface.

Suggested reviewers

  • bob0005
  • RedBeardEth

🐰 In the land where resources flow,
A bridge was built to help us grow.
With Lords selected, we take our stand,
Clear steps to guide, a helping hand.
So hop along, donkeys in tow,
To wallets we send, let the good times glow! 🌟


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Experiment)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

mentatbot bot commented Dec 13, 2024

You are out of MentatBot reviews. Your usage will refresh December 16 at 08:00 AM.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (1)
landing/src/components/modules/bridge-out-step-2.tsx (1)

139-172: Extract SVG icon into a reusable component

While the UI layout is well-organized, the inline SVG checkmark icon should be extracted into a reusable component for better maintainability and consistency.

Consider creating a CheckIcon component:

// components/ui/icons/CheckIcon.tsx
export const CheckIcon = () => (
  <svg
    xmlns="http://www.w3.org/2000/svg"
    width="16"
    height="16"
    viewBox="0 0 24 24"
    fill="none"
    stroke="currentColor"
    strokeWidth="2"
    strokeLinecap="round"
    strokeLinejoin="round"
  >
    <path d="M20 6L9 17l-5-5" />
  </svg>
);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0f6fcc3 and 50753b5.

📒 Files selected for processing (3)
  • landing/src/components/modules/bridge-in.tsx (4 hunks)
  • landing/src/components/modules/bridge-out-step-1.tsx (1 hunks)
  • landing/src/components/modules/bridge-out-step-2.tsx (2 hunks)
🔇 Additional comments (6)
landing/src/components/modules/bridge-in.tsx (3)

41-44: LGTM: Default resource initialization

The implementation correctly sets Lords as the default resource with a safe initial amount of 0, improving user experience by pre-selecting the most commonly used resource.


156-159: LGTM: Consistent state reset

The state reset after a successful bridge operation maintains consistency by reverting to the default Lords selection, providing a smooth user experience for subsequent operations.


230-234: LGTM: Clear wallet connection messaging

The conditional rendering provides clear feedback about wallet connection status, improving user guidance and maintaining consistency across the application.

landing/src/components/modules/bridge-out-step-1.tsx (2)

156-172: LGTM: Consistent UI structure

The UI layout maintains consistency with the bridge-in component, providing clear steps and instructions for the withdrawal process.


177-177: LGTM: Consistent wallet connection handling

The wallet connection prompt maintains consistency with other components in the application.

landing/src/components/modules/bridge-out-step-2.tsx (1)

343-343: LGTM: Simplified button text

The button text has been simplified while maintaining clarity, providing a better user experience.

Comment on lines +175 to +217
<div className="space-y-4">
<h2 className="text-2xl font-bold mb-4 text-gold border-b border-gold/20 pb-2">
Bridge Resources Into Your Realm
</h2>

<div className="flex flex-col gap-4 bg-gold/5 p-4 rounded-lg border border-gold/10">
<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
1
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Bridge Assets into the Game</h3>
<p className="text-sm opacity-80">
Bridge your ERC20 assets, resources and lords from your Starknet wallet into the Eternum game.
</p>
</div>
</div>

<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
2
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Complete Claim</h3>
<p className="text-sm opacity-80">
Complete the claim on your Realm in the{" "}
<a
href="https://eternum.realms.world/"
target="_blank"
className="text-gold underline hover:text-gold/80 transition-colors"
>
<span className="font-bold">game</span>
</a>{" "}
by checking the <span className="font-bold">Resource Arrivals (Donkeys)</span> tab in the game.
</p>
</div>
</div>
</div>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Add security attribute to external link

The new UI layout provides clear instructions with well-organized steps. However, the external link to the game should include the rel="noopener noreferrer" security attribute when using target="_blank".

 <a
   href="https://eternum.realms.world/"
   target="_blank"
+  rel="noopener noreferrer"
   className="text-gold underline hover:text-gold/80 transition-colors"
 >
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<div className="space-y-4">
<h2 className="text-2xl font-bold mb-4 text-gold border-b border-gold/20 pb-2">
Bridge Resources Into Your Realm
</h2>
<div className="flex flex-col gap-4 bg-gold/5 p-4 rounded-lg border border-gold/10">
<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
1
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Bridge Assets into the Game</h3>
<p className="text-sm opacity-80">
Bridge your ERC20 assets, resources and lords from your Starknet wallet into the Eternum game.
</p>
</div>
</div>
<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
2
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Complete Claim</h3>
<p className="text-sm opacity-80">
Complete the claim on your Realm in the{" "}
<a
href="https://eternum.realms.world/"
target="_blank"
className="text-gold underline hover:text-gold/80 transition-colors"
>
<span className="font-bold">game</span>
</a>{" "}
by checking the <span className="font-bold">Resource Arrivals (Donkeys)</span> tab in the game.
</p>
</div>
</div>
</div>
</div>
<div className="space-y-4">
<h2 className="text-2xl font-bold mb-4 text-gold border-b border-gold/20 pb-2">
Bridge Resources Into Your Realm
</h2>
<div className="flex flex-col gap-4 bg-gold/5 p-4 rounded-lg border border-gold/10">
<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
1
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Bridge Assets into the Game</h3>
<p className="text-sm opacity-80">
Bridge your ERC20 assets, resources and lords from your Starknet wallet into the Eternum game.
</p>
</div>
</div>
<div className="flex items-start space-x-3">
<div className="flex-shrink-0">
<span className="inline-flex items-center justify-center w-7 h-7 rounded-full bg-gold/20 text-gold font-semibold text-sm">
2
</span>
</div>
<div className="space-y-1">
<h3 className="font-semibold text-gold/90">Complete Claim</h3>
<p className="text-sm opacity-80">
Complete the claim on your Realm in the{" "}
<a
href="https://eternum.realms.world/"
target="_blank"
rel="noopener noreferrer"
className="text-gold underline hover:text-gold/80 transition-colors"
>
<span className="font-bold">game</span>
</a>{" "}
by checking the <span className="font-bold">Resource Arrivals (Donkeys)</span> tab in the game.
</p>
</div>
</div>
</div>
</div>

Copy link

Failed to generate code suggestions for PR

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (3)
landing/src/components/modules/season-passes-grid.tsx (1)

26-58: Enhance accessibility and maintainability of the empty state UI

The empty state UI implementation looks great with its decorative elements and clear user guidance. Consider these improvements:

  1. Move the marketplace URL to a constants file for better maintainability
  2. Add aria-label to the button for better screen reader support
- <a href={`https://market.realms.world/collection/0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80`} target="_blank">
+ <a href={`https://market.realms.world/collection/0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80`} 
+    target="_blank"
+    rel="noopener noreferrer">
   <Button 
     variant="outline" 
-    className="mt-6 group hover:border-primary/50 transition-all duration-300">
+    className="mt-6 group hover:border-primary/50 transition-all duration-300"
+    aria-label="Navigate to marketplace to purchase your first season pass">
     <Crown className="w-4 h-4 mr-2 group-hover:text-primary transition-colors" />
     Buy Your First Pass 
   </Button>
landing/src/components/modules/realms-grid.tsx (2)

34-67: Add aria-label and security attributes to marketplace link

Similar to the season passes grid, enhance accessibility and security of the marketplace link.

- <a href={`https://market.realms.world/collection/0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809`} target="_blank">
+ <a href={`https://market.realms.world/collection/0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809`} 
+    target="_blank"
+    rel="noopener noreferrer">
   <Button 
     variant="outline" 
-    className="mt-6 group hover:border-primary/50 transition-all duration-300">
+    className="mt-6 group hover:border-primary/50 transition-all duration-300"
+    aria-label="Navigate to marketplace to purchase your first realm">
     <Castle className="w-4 h-4 mr-2 group-hover:text-primary transition-colors" />
     Buy Your First Realm
   </Button>

34-67: Consider moving marketplace URLs to environment variables or constants

The marketplace URLs should be configurable to support different environments (development, staging, production).

Create a constants file:

// constants/marketplace.ts
export const MARKETPLACE_URLS = {
  SEASON_PASS: 'https://market.realms.world/collection/0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80',
  REALM: 'https://market.realms.world/collection/0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809'
} as const;
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 50753b5 and 3f51571.

📒 Files selected for processing (2)
  • landing/src/components/modules/realms-grid.tsx (2 hunks)
  • landing/src/components/modules/season-passes-grid.tsx (2 hunks)
🔇 Additional comments (2)
landing/src/components/modules/season-passes-grid.tsx (1)

3-3: LGTM: Icon import added for empty state enhancement

The Crown icon import aligns with the UI improvements for the empty state visualization.

landing/src/components/modules/realms-grid.tsx (1)

3-3: LGTM: Icon import added for empty state enhancement

The Castle icon import aligns with the UI improvements for the empty state visualization.

Comment on lines 34 to 67
if (!realms?.length) {
return (
<div className="relative flex flex-col items-center justify-center p-16 text-center space-y-6 min-h-[500px] rounded-xl border-2 border-dashed border-gray-200 bg-gradient-to-b from-gray-50/50 to-gray-100/50">
{/* Decorative elements */}
<div className="absolute inset-0 overflow-hidden">
<div className="absolute -top-4 -left-4 w-24 h-24 bg-primary/5 rounded-full blur-xl" />
<div className="absolute -bottom-4 -right-4 w-24 h-24 bg-primary/5 rounded-full blur-xl" />
</div>
<Castle className="w-20 h-20 text-primary/60 animate-pulse" />

<div className="relative">
<h3 className="text-2xl font-bold text-gray-900 tracking-tight mt-6">
No Realms Yet
</h3>

<p className="text-gray-600 max-w-md leading-relaxed">
Your collection of realms will appear here once you acquire them.

Get your first realm to start your journey into Realms World!
</p>

<a href={`https://market.realms.world/collection/0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809`} target="_blank">
<Button
variant="outline"
className="mt-6 group hover:border-primary/50 transition-all duration-300"
>
<Castle className="w-4 h-4 mr-2 group-hover:text-primary transition-colors" />
Buy Your First Realm
</Button>
</a>
</div>
</div>
);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Consider extracting empty state UI into a reusable component

The empty state UI implementation is well-designed but duplicates the pattern from season-passes-grid.tsx. Consider extracting this into a reusable component to improve maintainability and consistency.

// components/ui/empty-state.tsx
interface EmptyStateProps {
  icon: React.ReactNode;
  title: string;
  description: string;
  ctaText: string;
  ctaHref: string;
  ctaIcon: React.ReactNode;
}

export const EmptyState = ({
  icon,
  title,
  description,
  ctaText,
  ctaHref,
  ctaIcon
}: EmptyStateProps) => (
  <div className="relative flex flex-col items-center justify-center p-16 text-center space-y-6 min-h-[500px] rounded-xl border-2 border-dashed border-gray-200 bg-gradient-to-b from-gray-50/50 to-gray-100/50">
    {/* Decorative elements */}
    <div className="absolute inset-0 overflow-hidden">
      <div className="absolute -top-4 -left-4 w-24 h-24 bg-primary/5 rounded-full blur-xl" />
      <div className="absolute -bottom-4 -right-4 w-24 h-24 bg-primary/5 rounded-full blur-xl" />
    </div>
    <div className="w-20 h-20 text-primary/60 animate-pulse">
      {icon}
    </div>
    
    <div className="relative">
      <h3 className="text-2xl font-bold text-gray-900 tracking-tight mt-6">
        {title}
      </h3>
      
      <p className="text-gray-600 max-w-md leading-relaxed">
        {description}
      </p>
      
      <a href={ctaHref} target="_blank" rel="noopener noreferrer">
        <Button 
          variant="outline" 
          className="mt-6 group hover:border-primary/50 transition-all duration-300"
          aria-label={`Navigate to marketplace to purchase your first ${title.toLowerCase()}`}
        >
          <span className="w-4 h-4 mr-2 group-hover:text-primary transition-colors">
            {ctaIcon}
          </span>
          {ctaText}
        </Button>
      </a>
    </div>
  </div>
);

Usage example:

if (!realms?.length) {
  return (
    <EmptyState
      icon={<Castle />}
      title="No Realms Yet"
      description="Your collection of realms will appear here once you acquire them. Get your first realm to start your journey into Realms World!"
      ctaText="Buy Your First Realm"
      ctaHref="https://market.realms.world/collection/0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad7947a2809"
      ctaIcon={<Castle />}
    />
  );
}

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
landing/src/components/modules/season-passes-grid.tsx (1)

54-58: Consider improvements for maintainability

A few suggestions to enhance maintainability:

  1. Consider extracting the hardcoded marketplace URL to a configuration file
  2. The instructional text could be moved to a localization file for easier updates and potential internationalization

Example refactor:

+ // In config/constants.ts
+ export const MARKETPLACE_URLS = {
+   SEASON_PASS: 'https://market.realms.world/collection/0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80'
+ };

+ // In locales/en.ts
+ export const SEASON_PASS_MESSAGES = {
+   empty_state: {
+     description: 'Your collection of season passes will appear here...',
+     sub_description: 'Once you burn a pass, it will be removed from this view.',
+     cta: 'Get your pass to join the game and start your journey into Eternum!'
+   }
+ };

- <p className="text-gray-600 max-w-lg mx-auto leading-relaxed">
-   Your collection of season passes will appear here until you burn them to mint a realm in the game.
- </p>
+ <p className="text-gray-600 max-w-lg mx-auto leading-relaxed">
+   {SEASON_PASS_MESSAGES.empty_state.description}
+ </p>

- href="https://market.realms.world/collection/0x057675b9c0bd62b096a2e15502a37b290fa766ead21c33eda42993e48a714b80"
+ href={MARKETPLACE_URLS.SEASON_PASS}

Also applies to: 42-51

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3f51571 and 067697d.

📒 Files selected for processing (2)
  • landing/src/components/modules/realms-grid.tsx (2 hunks)
  • landing/src/components/modules/season-passes-grid.tsx (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • landing/src/components/modules/realms-grid.tsx
🔇 Additional comments (2)
landing/src/components/modules/season-passes-grid.tsx (2)

3-3: LGTM: Clean import addition

The Crown icon import is properly grouped with other lucide-react imports.


28-68: Well-crafted empty state implementation!

The empty state UI is thoughtfully designed with:

  • Clear visual hierarchy guiding users
  • Engaging animations and visual effects
  • Proper accessibility considerations
  • Secure external link handling

@aymericdelab aymericdelab merged commit 742995a into next Dec 13, 2024
23 of 29 checks passed
@aymericdelab aymericdelab deleted the bridge-ui-improvement branch December 13, 2024 19:20
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