'use client'; import Link from 'next/link'; import { ArrowLeft, ChevronDown, ChevronUp } from 'lucide-react'; import { useState } from 'react'; function FAQItem({ question, answer }: { question: string; answer: string }) { const [isOpen, setIsOpen] = useState(false); return (
{isOpen && (
{answer}
)}
); } const faqs = [ { q: "What is Yiield?", a: "Yiield is a DeFi yield comparison platform that helps you find the best stablecoin yields across various protocols with security scores." }, { q: "How is the security score calculated?", a: "Our score (0-100) is based on: audits (25 pts), protocol age (25 pts), TVL (25 pts), and exploit history (25 pts)." }, { q: "What are stablecoins?", a: "Stablecoins are cryptocurrencies pegged to fiat currencies. USD-pegged: USDC, USDT, DAI. EUR-pegged: EURe, EURC." }, { q: "What is APY?", a: "APY (Annual Percentage Yield) is the real rate of return over a year, including compound interest." }, { q: "Is Yiield free?", a: "Yes, Yiield is completely free. You interact directly with protocols' smart contracts." }, { q: "What's Lending vs Vault?", a: "Lending protocols let you lend directly to borrowers. Vault managers optimize yields across multiple strategies." }, { q: "How often is data updated?", a: "Data is refreshed hourly from DefiLlama's API." }, { q: "What are the risks?", a: "DeFi carries risks: smart contract bugs, oracle failures, market volatility. DYOR and invest responsibly." }, ]; export default function FAQPage() { return (
Back to Home

FAQ

Frequently Asked Questions

{faqs.map((faq, i) => ( ))}
); }