feat: implement Product page with fund listing
Created a complete Product page based on prototype design with: Page Features: - New /product route with full page layout - AssetX Fund Market title section - 4 statistics cards (TVL, Cumulative Yield, Balance, Earnings) - Assets listing section with view toggle (list/grid) - Product cards grid layout ProductCard Component: - Reusable product card component with HeroUI integration - Product header with icon and category badge - Two-column metric display (Yield APY, Pool Cap, Maturity, etc.) - Risk indicator with color-coded bars (Low/Medium/High) - Pool capacity progress bar with gradient - Invest button with HeroUI Button component - Hover effects and transitions - Color-coded category badges (Quant Strategy, Real Estate) Assets: - Copied view toggle icons from prototype - edit-list-unordered0.svg (list view) - menu-more-grid-small0.svg (grid view) Internationalization: - Added productPage section to en.json and zh.json - All labels translated (English and Chinese) - Consistent with existing i18n pattern Technical Implementation: - Full responsive design - Dark mode support - Gradient styling for visual appeal - Smooth animations and transitions - Proper TypeScript types - Follows existing design system Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
288
locales/en.json
288
locales/en.json
@@ -1,133 +1,155 @@
|
||||
{
|
||||
"nav": {
|
||||
"assets": "Assets",
|
||||
"alp": "ALP",
|
||||
"swap": "Swap",
|
||||
"lending": "Lending",
|
||||
"transparency": "Transparency",
|
||||
"ecosystem": "Ecosystem",
|
||||
"points": "Points",
|
||||
"globalTVL": "Global TVL",
|
||||
"faqs": "FAQs"
|
||||
},
|
||||
"tabs": {
|
||||
"overview": "Overview",
|
||||
"assetDescription": "Asset Description",
|
||||
"analytics": "Analytics",
|
||||
"performanceAnalysis": "Performance Analysis",
|
||||
"assetCustody": "Asset Custody & Verification"
|
||||
},
|
||||
"product": {
|
||||
"gyUsEquityIndexToken": "High-Yield US Equity Quantitative Strategy",
|
||||
"contractAddress": "Contract"
|
||||
},
|
||||
"stats": {
|
||||
"currentAPY": "Current APY",
|
||||
"totalValueLocked": "Total Value Locked",
|
||||
"yourBalance": "Your Balance",
|
||||
"yourEarnings": "Your Earnings",
|
||||
"availableToWithdraw": "Available to Withdraw"
|
||||
},
|
||||
"assetOverview": {
|
||||
"title": "Asset Overview",
|
||||
"mediumRisk": "Medium Risk",
|
||||
"underlyingAssets": "Underlying Assets",
|
||||
"usEquityIndex": "US Equity Index",
|
||||
"maturityRange": "Maturity Range",
|
||||
"cap": "Cap",
|
||||
"minInvestment": "Min. Investment",
|
||||
"poolCapacity": "Pool Capacity",
|
||||
"currentPrice": "Current Price"
|
||||
},
|
||||
"apy": {
|
||||
"apyHistory": "APY History",
|
||||
"priceHistory": "Price History",
|
||||
"lastDays": "Last 30 days",
|
||||
"highest": "Highest",
|
||||
"lowest": "Lowest"
|
||||
},
|
||||
"description": {
|
||||
"title": "Asset Description",
|
||||
"content": "高盈美股量化策略 (High-Yield US Equity Quantitative Strategy) is an institutional-grade Real World Asset (RWA) offering investors exposure to a diversified portfolio of US equities. This strategy utilizes advanced quantitative models to generate high yields through market-neutral arbitrage and other sophisticated trading techniques. Designed for stability and consistent returns, it provides an on-chain gateway to traditional financial markets with enhanced transparency and instant settlement.\n\nThe strategy aims to minimize market risk while maximizing yield generation, making it suitable for investors seeking stable growth within the decentralized finance ecosystem. Underlying assets are held by institutional custodians and verified through robust compliance frameworks."
|
||||
},
|
||||
"mintSwap": {
|
||||
"mint": "Mint",
|
||||
"swap": "Swap",
|
||||
"deposit": "Deposit",
|
||||
"withdraw": "Withdraw",
|
||||
"balance": "Bal",
|
||||
"max": "MAX",
|
||||
"estimatedReturns": "Estimated Returns",
|
||||
"estAPY": "Est. APY",
|
||||
"estReturns": "Est. Returns",
|
||||
"transactionSummary": "Transaction Summary",
|
||||
"youGet": "You Get",
|
||||
"salesPrice": "Sales Price",
|
||||
"fee": "Fee",
|
||||
"gas": "Gas",
|
||||
"approveDeposit": "Approve & Deposit USDC",
|
||||
"termsText": "By depositing, you agree to the",
|
||||
"termsOfService": "Terms of Service",
|
||||
"and": "and",
|
||||
"privacyPolicy": "Privacy Policy"
|
||||
},
|
||||
"protocol": {
|
||||
"title": "Protocol Information",
|
||||
"whitepaper": "Whitepaper",
|
||||
"documentation": "Documentation",
|
||||
"github": "GitHub"
|
||||
},
|
||||
"rewards": {
|
||||
"season1": "Season 1 Rewards",
|
||||
"live": "Live",
|
||||
"earnPoints": "Earn 1 point per USDC per day holding GY-US",
|
||||
"yourPoints": "Your Points",
|
||||
"badgeBoost": "Badge Boost",
|
||||
"referrals": "Referrals"
|
||||
},
|
||||
"performance": {
|
||||
"title": "Performance Analysis",
|
||||
"description": "Historical daily net returns for the High-Yield US Equity Strategy.",
|
||||
"ytd": "2025 YTD",
|
||||
"dailyNetReturns": "Daily Net Returns (%)",
|
||||
"weekdays": {
|
||||
"sun": "SUN",
|
||||
"mon": "MON",
|
||||
"tue": "TUE",
|
||||
"wed": "WED",
|
||||
"thu": "THU",
|
||||
"fri": "FRI",
|
||||
"sat": "SAT"
|
||||
}
|
||||
},
|
||||
"custody": {
|
||||
"title": "Asset Custody & Verification",
|
||||
"description": "Real-time view of underlying asset holdings and institutional custodian verification status.",
|
||||
"underlyingHoldings": "Underlying Asset Holdings",
|
||||
"verifiedBy": "Verified by third-party institutional custodians",
|
||||
"lastUpdated": "Last updated",
|
||||
"minutesAgo": "minutes ago",
|
||||
"custodian": "Custodian",
|
||||
"assetType": "Asset Type",
|
||||
"maturity": "Maturity",
|
||||
"valueUSD": "Value (USD)",
|
||||
"status": "Status",
|
||||
"verified": "Verified",
|
||||
"totalValue": "Total underlying asset value",
|
||||
"smartContract": "Smart Contract",
|
||||
"smartContractDesc": "Audited by OpenZeppelin & Certik for security and reliability.",
|
||||
"compliance": "Compliance",
|
||||
"complianceDesc": "SEC-regulated structure & bankruptcy remote legal framework.",
|
||||
"proofOfReserves": "Proof of Reserves",
|
||||
"proofDesc": "Real-time on-chain verification via Chainlink Oracle.",
|
||||
"viewReports": "View Reports",
|
||||
"independentVerifications": "Independent Verifications",
|
||||
"independentDesc": "Every month, assetX undergoes third-party auditing to ensure complete transparency.",
|
||||
"attestationReport": "Attestation Report",
|
||||
"viewAllArchive": "View All Archive",
|
||||
"morganStanley": "Morgan Stanley",
|
||||
"primeBroker": "Prime Broker",
|
||||
"usEquityPortfolio": "US Equity Portfolio",
|
||||
"days": "days"
|
||||
}
|
||||
}
|
||||
{
|
||||
"nav": {
|
||||
"assets": "Assets",
|
||||
"alp": "ALP",
|
||||
"swap": "Swap",
|
||||
"lending": "Lending",
|
||||
"transparency": "Transparency",
|
||||
"ecosystem": "Ecosystem",
|
||||
"points": "Points",
|
||||
"globalTVL": "Global TVL",
|
||||
"faqs": "FAQs"
|
||||
},
|
||||
"tabs": {
|
||||
"overview": "Overview",
|
||||
"assetDescription": "Asset Description",
|
||||
"analytics": "Analytics",
|
||||
"performanceAnalysis": "Performance Analysis",
|
||||
"assetCustody": "Asset Custody & Verification"
|
||||
},
|
||||
"product": {
|
||||
"gyUsEquityIndexToken": "High-Yield US Equity Quantitative Strategy",
|
||||
"contractAddress": "Contract"
|
||||
},
|
||||
"stats": {
|
||||
"currentAPY": "Current APY",
|
||||
"totalValueLocked": "Total Value Locked",
|
||||
"yourBalance": "Your Balance",
|
||||
"yourEarnings": "Your Earnings",
|
||||
"availableToWithdraw": "Available to Withdraw"
|
||||
},
|
||||
"assetOverview": {
|
||||
"title": "Asset Overview",
|
||||
"mediumRisk": "Medium Risk",
|
||||
"underlyingAssets": "Underlying Assets",
|
||||
"usEquityIndex": "US Equity Index",
|
||||
"maturityRange": "Maturity Range",
|
||||
"cap": "Cap",
|
||||
"minInvestment": "Min. Investment",
|
||||
"poolCapacity": "Pool Capacity",
|
||||
"currentPrice": "Current Price"
|
||||
},
|
||||
"apy": {
|
||||
"apyHistory": "APY History",
|
||||
"priceHistory": "Price History",
|
||||
"lastDays": "Last 30 days",
|
||||
"highest": "Highest",
|
||||
"lowest": "Lowest"
|
||||
},
|
||||
"description": {
|
||||
"title": "Asset Description",
|
||||
"content": "高盈美股量化策略 (High-Yield US Equity Quantitative Strategy) is an institutional-grade Real World Asset (RWA) offering investors exposure to a diversified portfolio of US equities. This strategy utilizes advanced quantitative models to generate high yields through market-neutral arbitrage and other sophisticated trading techniques. Designed for stability and consistent returns, it provides an on-chain gateway to traditional financial markets with enhanced transparency and instant settlement.\n\nThe strategy aims to minimize market risk while maximizing yield generation, making it suitable for investors seeking stable growth within the decentralized finance ecosystem. Underlying assets are held by institutional custodians and verified through robust compliance frameworks."
|
||||
},
|
||||
"mintSwap": {
|
||||
"mint": "Mint",
|
||||
"swap": "Swap",
|
||||
"deposit": "Deposit",
|
||||
"withdraw": "Withdraw",
|
||||
"balance": "Bal",
|
||||
"max": "MAX",
|
||||
"estimatedReturns": "Estimated Returns",
|
||||
"estAPY": "Est. APY",
|
||||
"estReturns": "Est. Returns",
|
||||
"transactionSummary": "Transaction Summary",
|
||||
"youGet": "You Get",
|
||||
"salesPrice": "Sales Price",
|
||||
"fee": "Fee",
|
||||
"gas": "Gas",
|
||||
"approveDeposit": "Approve & Deposit USDC",
|
||||
"termsText": "By depositing, you agree to the",
|
||||
"termsOfService": "Terms of Service",
|
||||
"and": "and",
|
||||
"privacyPolicy": "Privacy Policy"
|
||||
},
|
||||
"protocol": {
|
||||
"title": "Protocol Information",
|
||||
"whitepaper": "Whitepaper",
|
||||
"documentation": "Documentation",
|
||||
"github": "GitHub"
|
||||
},
|
||||
"rewards": {
|
||||
"season1": "Season 1 Rewards",
|
||||
"live": "Live",
|
||||
"earnPoints": "Earn 1 point per USDC per day holding GY-US",
|
||||
"yourPoints": "Your Points",
|
||||
"badgeBoost": "Badge Boost",
|
||||
"referrals": "Referrals"
|
||||
},
|
||||
"performance": {
|
||||
"title": "Performance Analysis",
|
||||
"description": "Historical daily net returns for the High-Yield US Equity Strategy.",
|
||||
"ytd": "2025 YTD",
|
||||
"dailyNetReturns": "Daily Net Returns (%)",
|
||||
"weekdays": {
|
||||
"sun": "SUN",
|
||||
"mon": "MON",
|
||||
"tue": "TUE",
|
||||
"wed": "WED",
|
||||
"thu": "THU",
|
||||
"fri": "FRI",
|
||||
"sat": "SAT"
|
||||
}
|
||||
},
|
||||
"custody": {
|
||||
"title": "Asset Custody & Verification",
|
||||
"description": "Real-time view of underlying asset holdings and institutional custodian verification status.",
|
||||
"underlyingHoldings": "Underlying Asset Holdings",
|
||||
"verifiedBy": "Verified by third-party institutional custodians",
|
||||
"lastUpdated": "Last updated",
|
||||
"minutesAgo": "minutes ago",
|
||||
"custodian": "Custodian",
|
||||
"assetType": "Asset Type",
|
||||
"maturity": "Maturity",
|
||||
"valueUSD": "Value (USD)",
|
||||
"status": "Status",
|
||||
"verified": "Verified",
|
||||
"totalValue": "Total underlying asset value",
|
||||
"smartContract": "Smart Contract",
|
||||
"smartContractDesc": "Audited by OpenZeppelin & Certik for security and reliability.",
|
||||
"compliance": "Compliance",
|
||||
"complianceDesc": "SEC-regulated structure & bankruptcy remote legal framework.",
|
||||
"proofOfReserves": "Proof of Reserves",
|
||||
"proofDesc": "Real-time on-chain verification via Chainlink Oracle.",
|
||||
"viewReports": "View Reports",
|
||||
"independentVerifications": "Independent Verifications",
|
||||
"independentDesc": "Every month, assetX undergoes third-party auditing to ensure complete transparency.",
|
||||
"attestationReport": "Attestation Report",
|
||||
"viewAllArchive": "View All Archive",
|
||||
"morganStanley": "Morgan Stanley",
|
||||
"primeBroker": "Prime Broker",
|
||||
"usEquityPortfolio": "US Equity Portfolio",
|
||||
"days": "days"
|
||||
},
|
||||
"productPage": {
|
||||
"title": "AssetX Fund Market",
|
||||
"assets": "Assets",
|
||||
"totalValueLocked": "Total Value Locked",
|
||||
"cumulativeYield": "Cumulative Yield",
|
||||
"yourTotalBalance": "Your Total Balance",
|
||||
"yourTotalEarning": "Your Total Earning",
|
||||
"yieldAPY": "Yield APY",
|
||||
"poolCap": "Pool CaP",
|
||||
"maturity": "Maturity",
|
||||
"risk": "Risk",
|
||||
"lockUp": "Lock-Up",
|
||||
"circulatingSupply": "Circulating supply",
|
||||
"poolCapacity": "Pool Capacity",
|
||||
"filled": "Filled",
|
||||
"invest": "Invest",
|
||||
"quantStrategy": "Quant Strategy",
|
||||
"realEstate": "Real Estate",
|
||||
"low": "LOW",
|
||||
"medium": "Medium",
|
||||
"high": "High"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user