Skip to content

[Frontend] FeaturesLanding Component #4

@aguilar1x

Description

@aguilar1x

🎯 Objective

Build the FeaturesLanding section for the landing page, showcasing the main benefits and functionalities of the DeFi template.


🏗 Component Structure

apps/webapp/components/home/features-landing.tsx

Integration:

  • Render below the HeroLanding component in apps/webapp/app/(landing)/page.tsx.

🗂 Requirements

FeaturesLanding

Top Elements:

  • Badge (small pill): “✨ Template Features” — subtle gradient or soft background.

  • Headline: Everything You Need for DeFi Success

    • "DeFi Success" highlighted in purple/magenta.
  • Description:
    Our template includes all the essential components to build a professional DeFi application on Stellar.

Features Grid (4 items):

  1. Instant Token Swaps

    • Icon: Lightning bolt (blue gradient background).
    • Description: Lightning-fast token exchanges with minimal slippage and competitive rates.
  2. Liquidity Pools

    • Icon: Droplet (purple/pink gradient background).
    • Description: Earn fees by providing liquidity to trading pairs on Stellar network.
  3. Yield Farming

    • Icon: Upward arrow (green gradient background).
    • Description: Maximize returns through automated yield farming strategies.
  4. Secure & Audited

    • Icon: Shield (orange/red gradient background).
    • Description: Built on Stellar’s secure network with audited smart contracts.

Layout:

  • Desktop: 4-column responsive grid.
  • Mobile: 1-column → Tablet: 2-column.
  • Feature cards: rounded-xl, shadow, hover-lift effect (transform scale-105), light background, centered text.

Accessibility:

  • Icons have descriptive aria-labels.
  • Proper heading hierarchy.

🎨 Design & Tokens

  • Headline: text-3xl md:text-4xl font-bold text-center.
  • Badge: rounded-full, padding-x small, text-sm, gradient text or subtle color fill.
  • Descriptions: text-gray-500 text-sm md:text-base.
  • Icons: 48x48px, centered, colored backgrounds with subtle shadows.

✅ Acceptance Criteria

  • Matches the provided design for badge, headline, descriptions, and cards.
  • Fully responsive at 360 / 768 / 1024 / 1280.
  • No TypeScript or console warnings.
  • Used only on the landing page.

🔗 Reference

Figma design

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions