From 7580065e8488e8bc1ca7ebe82e937dcfc75d5f34 Mon Sep 17 00:00:00 2001 From: Joseph Chimebuka Date: Mon, 30 Dec 2024 18:59:16 +0000 Subject: [PATCH] feat: enhance feature section with clickable links in descriptions (#81) --- .../app/components/ui/feature-section.tsx | 160 ++++++++++-------- 1 file changed, 87 insertions(+), 73 deletions(-) diff --git a/frontend/app/components/ui/feature-section.tsx b/frontend/app/components/ui/feature-section.tsx index 0ccefb9..cc1bed6 100644 --- a/frontend/app/components/ui/feature-section.tsx +++ b/frontend/app/components/ui/feature-section.tsx @@ -2,78 +2,92 @@ import { BarChart3, Coins, Lock, Shield, Users, Zap } from "lucide-react"; import * as React from "react"; export function FeatureSection() { - const features = [ - { - icon: , - title: "Smart Contract Escrow", - description: - "Automated protection with Stellar smart contracts. Trustless Work API abstracts the complexities of smart contract configuration. It leverages the blockchain to ensure transactions are secure and transparent, providing fairness without bias in the marketplace. Read more on trustless Work: https://www.trustlesswork.com/", - gradient: "from-blue-500 to-cyan-500", - }, - { - icon: , - title: "Lightning Settlement", - description: "3-5 second finality on Stellar network", - gradient: "from-yellow-500 to-orange-500", - }, - { - icon: , - title: "Non-Custodial Trading", - description: "Keep full control of your assets", - gradient: "from-purple-500 to-pink-500", - }, - { - icon: , - title: "Multi-Asset Support", - description: "Trade any Stellar-based token", - gradient: "from-green-500 to-emerald-500", - }, - { - icon: , - title: "DAO Governance", - description: "Community-driven protocol decisions", - gradient: "from-red-500 to-pink-500", - }, - { - icon: , - title: "Real-Time Analytics", - description: "Advanced trading metrics & insights", - gradient: "from-indigo-500 to-purple-500", - }, - ]; + const features = [ + { + icon: , + title: "Smart Contract Escrow", + description: ( + <> + Automated protection with Stellar smart contracts. Trustless Work API + abstracts the complexities of smart contract configuration. It + leverages the blockchain to ensure transactions are secure and + transparent, providing fairness without bias in the marketplace. Read + more on + + Trustless Work + + + ), + gradient: "from-blue-500 to-cyan-500", + }, + { + icon: , + title: "Lightning Settlement", + description: "3-5 second finality on Stellar network", + gradient: "from-yellow-500 to-orange-500", + }, + { + icon: , + title: "Non-Custodial Trading", + description: "Keep full control of your assets", + gradient: "from-purple-500 to-pink-500", + }, + { + icon: , + title: "Multi-Asset Support", + description: "Trade any Stellar-based token", + gradient: "from-green-500 to-emerald-500", + }, + { + icon: , + title: "DAO Governance", + description: "Community-driven protocol decisions", + gradient: "from-red-500 to-pink-500", + }, + { + icon: , + title: "Real-Time Analytics", + description: "Advanced trading metrics & insights", + gradient: "from-indigo-500 to-purple-500", + }, + ]; - return ( -
-
-

- Built for the Future of Finance -

-

- Leveraging the power of Stellar blockchain to provide a secure, - efficient, and truly decentralized trading experience. -

-
- {features.map((feature) => ( -
-
-
-
- {feature.icon} -
-

{feature.title}

-

{feature.description}

-
-
- ))} -
-
-
- ); + return ( +
+
+

+ Built for the Future of Finance +

+

+ Leveraging the power of Stellar blockchain to provide a secure, + efficient, and truly decentralized trading experience. +

+
+ {features.map((feature) => ( +
+
+
+
+ {feature.icon} +
+

{feature.title}

+

{feature.description}

+
+
+ ))} +
+
+
+ ); }