mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
BlockchainProductLayout draws every field it is handed with t(), and the fifteen product views mark their copy with phrase() where it is written. The index and the chain directory wrap their own words; chain names, code samples and figures stay as they are. The back arrow and the call-to-action arrows mirror under dir="rtl", and the two disclosure heads align to the start instead of the left.
101 lines
3.2 KiB
TypeScript
101 lines
3.2 KiB
TypeScript
'use client'
|
|
|
|
import React from "react";
|
|
import {
|
|
Image,
|
|
Search,
|
|
Database,
|
|
Globe,
|
|
Shield,
|
|
Zap,
|
|
RefreshCw,
|
|
BarChart3,
|
|
Layers,
|
|
} from "lucide-react";
|
|
import { phrase } from "@hanzo/i18n";
|
|
import BlockchainProductLayout, { type CodeExample } from "@/components/blockchain/BlockchainProductLayout";
|
|
|
|
const HanzoNFT = ({ codeExamples }: { codeExamples: CodeExample[] }) => {
|
|
return (
|
|
<BlockchainProductLayout
|
|
slug="nft"
|
|
name={phrase("NFT API")}
|
|
tagline={phrase("NFT metadata, ownership & marketplace data")}
|
|
description={phrase("Complete NFT data API for ERC-721 and ERC-1155 tokens. Get metadata, ownership history, floor prices, rarity scores, and collection stats across all major chains.")}
|
|
icon={Image}
|
|
features={[
|
|
{
|
|
icon: Image,
|
|
title: phrase("Rich Metadata"),
|
|
description: phrase("Normalized metadata with images, traits, and attributes."),
|
|
},
|
|
{
|
|
icon: Search,
|
|
title: phrase("Collection Discovery"),
|
|
description: phrase("Search and explore NFT collections by name or address."),
|
|
},
|
|
{
|
|
icon: Database,
|
|
title: phrase("Ownership History"),
|
|
description: phrase("Track ownership changes, sales, and provenance."),
|
|
},
|
|
{
|
|
icon: BarChart3,
|
|
title: phrase("Floor & Sales Data"),
|
|
description: phrase("Real-time floor prices and recent sales from marketplaces."),
|
|
},
|
|
{
|
|
icon: Layers,
|
|
title: phrase("Rarity Scoring"),
|
|
description: phrase("Automatic trait rarity calculation for collections."),
|
|
},
|
|
{
|
|
icon: Globe,
|
|
title: phrase("Multi-chain Support"),
|
|
description: phrase("ERC-721 and ERC-1155 across Ethereum, Polygon, and more."),
|
|
},
|
|
{
|
|
icon: Shield,
|
|
title: phrase("Spam Filtering"),
|
|
description: phrase("Automatic detection and filtering of spam NFTs."),
|
|
},
|
|
{
|
|
icon: Zap,
|
|
title: phrase("Fast Rendering"),
|
|
description: phrase("Optimized image proxying and thumbnail generation."),
|
|
},
|
|
{
|
|
icon: RefreshCw,
|
|
title: phrase("Metadata Refresh"),
|
|
description: phrase("On-demand metadata refresh for dynamic NFTs."),
|
|
},
|
|
]}
|
|
useCases={[
|
|
{
|
|
title: phrase("NFT Marketplaces"),
|
|
description: phrase("Build trading platforms with rich collection and item data."),
|
|
},
|
|
{
|
|
title: phrase("Wallet Integration"),
|
|
description: phrase("Display NFT collections with images and metadata."),
|
|
},
|
|
{
|
|
title: phrase("Gaming Platforms"),
|
|
description: phrase("Track in-game assets and player inventories."),
|
|
},
|
|
{
|
|
title: phrase("Analytics Tools"),
|
|
description: phrase("Collection analytics, whale tracking, and market trends."),
|
|
},
|
|
]}
|
|
chains={[
|
|
"Ethereum", "Polygon", "Arbitrum", "Optimism", "Base",
|
|
"BNB Chain", "Avalanche", "Solana", "Lux",
|
|
]}
|
|
codeExamples={codeExamples}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default HanzoNFT;
|