Major content additions to prioritize hardware purchase while providing cloud options: 1. Why Buy Hardware Section (NEW): - 4 key benefits: Lower TCO, Complete control, Predictable performance, Unlimited usage - Cost comparison matrix: DGX Spark ($4K) vs Cloud 6-Month ($135K) vs Cloud Annual ($240K) - Shows 33x-60x cost savings with hardware ownership - Emphasizes ROI in 3-6 months with hardware purchase 2. Use Cases & Industries Section (NEW): - 3 use cases: Training, Fine-Tuning, Inference - Detailed benefits and workflows for each stage - 5 industry solutions: Generative AI, Autonomous/Robotics, Computer Vision, HPC, Audio/NLP - Real-world examples for each industry vertical 3. Cloud Pricing Updates: - Repositioned as secondary option with emphasis on hardware purchase - Updated header: "Need Cloud Instead?" with clear messaging - Prominent "Visit Hanzo Cloud" CTA button linking to hanzo.ai - All pricing CTAs now link to hanzo.ai for cloud access - Reference pricing note directing users to full cloud offering Content Strategy: - Hardware purchase (DGX Spark) positioned as best value and primary recommendation - Cloud presented as flexible alternative with direct links to Hanzo.AI - Comprehensive use case coverage for Training, Fine-Tuning, Inference workflows - Industry solutions showcase breadth of applications - Clear ROI messaging: Hardware pays for itself in 3-6 months Page Flow: 1. Hero โ DGX Spark Highlight 2. Partners โ Features โ Hardware Specs 3. Image Gallery 4. Use Cases (Training/Fine-Tuning/Inference) + Industries 5. Testimonials (Social Proof) 6. Why Buy Hardware (Cost Comparison emphasizing ownership) 7. Trust & Security 8. Pricing (DGX Spark focus) 9. Cloud Pricing (Secondary option with hanzo.ai links) 10. FAQ โ Call to Action Build verified: 379KB JS (+23KB), 48KB CSS (+4KB) All components responsive and optimized
Hanzo.Computer - AI Hardware Marketplace
A modern ecommerce platform for purchasing AI compute hardware, featuring the DGX Spark instance ($4,000) as the only credit card purchasable item, with enterprise solutions requiring sales consultation.
๐ Features
Ecommerce Functionality
- Shopping Cart: Full cart management with add/remove/quantity controls
- Checkout Flow: Secure Stripe payment integration for DGX Spark
- Order Management: Account page with order history and status tracking
- Purchase Methods:
- โ Credit Card (Stripe): DGX Spark ($4,000) - instant online purchase
- ๐ Sales Call Required: GPU On-Demand and Enterprise solutions
User Experience
- Cart Icon: Live cart item counter in header
- Account Dashboard: View order history, active instances, and total spent
- Visual Indicators:
- "Buy Now" badge on purchasable items
- "Contact Sales Required" badges on enterprise items
- Clear payment method indicators on each product card
- Responsive Design: Mobile-first, works on all devices
Technical Stack
- Framework: React 19 + TypeScript + Vite
- Styling: Tailwind CSS v4
- Routing: React Router v7
- Payments: Stripe (via @stripe/stripe-js + @stripe/react-stripe-js)
- State Management: React Context API
- Persistence: LocalStorage for cart and orders
๐ฆ Installation
npm install
๐ง Configuration
Stripe Setup
- Create a
.envfile from the example:
cp .env.example .env
- Add your Stripe publishable key:
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_YOUR_KEY_HERE
Get your keys from: https://dashboard.stripe.com/apikeys
Environment Variables
| Variable | Description | Required |
|---|---|---|
VITE_STRIPE_PUBLISHABLE_KEY |
Stripe publishable key | Yes (for checkout) |
๐ Development
npm run dev
Visit http://localhost:5173
๐๏ธ Build
npm run build
Preview production build:
npm run preview
๐ Project Structure
computer/
โโโ src/
โ โโโ context/
โ โ โโโ CartContext.tsx # Shopping cart state management
โ โโโ pages/
โ โโโ Cart.tsx # Shopping cart page
โ โโโ Checkout.tsx # Stripe checkout form
โ โโโ Account.tsx # Order history & account dashboard
โโโ components/
โ โโโ Header.tsx # Navigation with cart icon
โ โโโ Pricing.tsx # Product cards with purchase methods
โ โโโ Hero.tsx # Landing page hero
โ โโโ Features.tsx # Feature highlights
โ โโโ HardwareSpec.tsx # Hardware specifications
โ โโโ Partners.tsx # Partner logos
โ โโโ ImageGallery.tsx # Product images
โ โโโ CallToAction.tsx # CTA section
โ โโโ Footer.tsx # Site footer
โโโ App.tsx # Main app with routing
โโโ .env.example # Environment variables template
๐ Shopping Flow
1. Browse Products (Homepage)
- View 3 tiers: DGX Spark, GPU On-Demand, Enterprise
- DGX Spark shows "Buy Now" badge and credit card icon
- Other products show "Contact Sales Required"
2. Add to Cart (DGX Spark Only)
- Click "Add to Cart" on DGX Spark
- See success feedback
- Cart icon updates with item count
- Auto-redirect to cart page
3. Shopping Cart
- Stripe Purchasable Items: DGX Spark with quantity controls
- Sales Items: Enterprise products with "Schedule Sales Call" button
- Remove items or update quantities
- See total price for purchasable items
- Proceed to checkout or contact sales
4. Checkout (Stripe)
- Secure payment form with Stripe Elements
- Billing address collection
- Credit card input with validation
- Order summary sidebar
- Real-time processing feedback
5. Order Confirmation
- Redirect to Account page with success message
- Order appears in history
- Instance provisioning timeline: 24-48 hours
- Email confirmation (to be implemented on backend)
6. Account Dashboard
- View all orders with status
- See active instances
- Track total spending
- Quick links to support and enterprise sales
๐ณ Payment Methods
Credit Card (Stripe)
Product: DGX Spark ($4,000)
- Instant online purchase
- Secure payment via Stripe
- Immediate order confirmation
- Instance provisioned in 24-48 hours
Features:
- ๐ PCI-compliant checkout
- ๐ณ Supports all major credit cards
- ๐ International payments
- ๐ง Email confirmations
Sales Call (Enterprise)
Products: GPU On-Demand, Enterprise & Resale
- Custom quotes required
- Configuration consultation
- Volume discounts available
- Managed services options
Contact: https://hanzo.ai/contact
๐จ Design Highlights
Visual Indicators
- โ "Buy Now" Badge: Green badge on DGX Spark
- ๐ณ Credit Card Icon: Shows Stripe payment available
- ๐ Sales Icon: Indicates sales consultation required
- ๐ Cart Counter: Live update on items added
Color Scheme
- Primary:
#FF6B35(Vibrant Orange) - CTAs, highlights - Secondary:
#00D9FF(Cyan) - Sales call actions - Dark BG:
#0A0A0A- Background - Dark Card:
#1A1A1A- Cards and components - Dark Border:
#2A2A2A- Borders
Responsive Breakpoints
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
๐ Security
- Stripe handles all sensitive payment data (PCI-compliant)
- No credit card data stored on client or server
- HTTPS required for production
- Environment variables for API keys
- CORS and CSP headers recommended
๐ Data Storage
LocalStorage
- Cart:
localStorage.cart- Shopping cart items - Orders:
localStorage.orders- Order history (demo)
Note: In production, orders should be stored in a backend database with proper authentication.
๐ Deployment
GitHub Pages (Current)
The site is deployed to GitHub Pages via GitHub Actions:
# .github/workflows/deploy.yml
- Builds on push to main
- Deploys to gh-pages branch
- Live at: https://hanzoai.github.io/computer/
Production Deployment
For production with real payments:
-
Backend API: Implement server-side Stripe integration
- Create Payment Intents
- Handle webhooks
- Store orders in database
- Send email confirmations
-
Environment: Use production Stripe keys
VITE_STRIPE_PUBLISHABLE_KEY=pk_live_YOUR_LIVE_KEY -
Database: Store orders, users, instances
- PostgreSQL or MongoDB recommended
- User authentication (Auth0, Clerk, etc.)
- Order tracking and status updates
-
Email: Set up transactional emails
- Order confirmations
- Instance provisioning updates
- Invoice generation
๐ฎ Future Enhancements
Short Term
- Backend API for order processing
- User authentication (login/signup)
- Email confirmations
- Invoice generation
- Payment receipts
Medium Term
- Subscription support (GPU On-Demand)
- Usage tracking dashboard
- Multiple payment methods (ACH, wire transfer)
- Tax calculation
- Discount codes
Long Term
- Self-service instance management
- Usage-based billing
- Multi-region support
- Enterprise portal
- API access for programmatic orders
๐ Known Issues
- Orders stored in LocalStorage (demo only)
- No actual payment processing (needs backend)
- No email confirmations
- No inventory management
- No tax calculation
๐ License
Proprietary - Hanzo AI Inc.
๐ค Support
- Website: https://hanzo.ai
- Sales: https://hanzo.ai/contact
- Email: [email protected]
Built with โค๏ธ by Hanzo AI Inc.