|
| 1 | +'use client' |
| 2 | + |
| 3 | +interface Product { |
| 4 | + name: string |
| 5 | + description: string |
| 6 | + href: string |
| 7 | + price?: string |
| 8 | +} |
| 9 | + |
| 10 | +const PRODUCTS: Product[] = [ |
| 11 | + { name: 'RulesForge', description: 'AI coding rules generator', href: 'https://rulesforge.vercel.app', price: '$29' }, |
| 12 | + { name: 'AgentAudit', description: 'AI agent security scanner', href: 'https://agentaudit-five.vercel.app', price: 'Free scan' }, |
| 13 | + { name: 'CryptoPayKit', description: 'x402 crypto payment toolkit', href: 'https://cryptopaykit.vercel.app', price: '$49' }, |
| 14 | + { name: 'PromptForge', description: '200+ AI prompts library', href: 'https://promptforge-indol.vercel.app', price: '$19' }, |
| 15 | + { name: 'PageForge', description: 'AI landing page generator', href: 'https://pageforge-phi.vercel.app', price: '$29' }, |
| 16 | + { name: 'OGForge', description: 'AI social card generator', href: 'https://ogforge.vercel.app', price: '$9' }, |
| 17 | + { name: 'ScreenForge', description: 'App Store screenshots', href: 'https://screenforge-ten.vercel.app', price: '$19' }, |
| 18 | + { name: 'AIToolsRadar', description: 'Compare 40+ AI tools', href: 'https://aitoolsradar-zeta.vercel.app', price: 'Free' }, |
| 19 | +] |
| 20 | + |
| 21 | +interface EcosystemFooterProps { |
| 22 | + currentProduct?: string // name of the current product to exclude from the list |
| 23 | +} |
| 24 | + |
| 25 | +export function EcosystemFooter({ currentProduct }: EcosystemFooterProps) { |
| 26 | + const otherProducts = PRODUCTS.filter(p => p.name !== currentProduct) |
| 27 | + |
| 28 | + return ( |
| 29 | + <section className="border-t border-zinc-800/50 mt-12"> |
| 30 | + <div className="mx-auto max-w-6xl px-4 sm:px-6 py-12 sm:py-16"> |
| 31 | + <div className="text-center mb-8"> |
| 32 | + <p className="text-sm text-zinc-500 uppercase tracking-wider">From AI Business Factory</p> |
| 33 | + <h3 className="mt-2 text-lg font-bold text-white tracking-tight">More tools for builders</h3> |
| 34 | + </div> |
| 35 | + <div className="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-3"> |
| 36 | + {otherProducts.map((product) => ( |
| 37 | + <a |
| 38 | + key={product.name} |
| 39 | + href={product.href} |
| 40 | + target="_blank" |
| 41 | + rel="noopener noreferrer" |
| 42 | + className="group rounded-xl border border-zinc-800 bg-zinc-900/30 p-4 transition-all hover:border-zinc-600 hover:bg-zinc-900/60" |
| 43 | + > |
| 44 | + <div className="flex items-center justify-between mb-1.5"> |
| 45 | + <span className="text-sm font-semibold text-white group-hover:text-zinc-100">{product.name}</span> |
| 46 | + {product.price && <span className="text-xs text-zinc-500">{product.price}</span>} |
| 47 | + </div> |
| 48 | + <p className="text-xs text-zinc-500 leading-relaxed">{product.description}</p> |
| 49 | + </a> |
| 50 | + ))} |
| 51 | + </div> |
| 52 | + |
| 53 | + <div className="mt-10 pt-6 border-t border-zinc-800/50 flex flex-col sm:flex-row items-center justify-between gap-4 text-xs text-zinc-500"> |
| 54 | + <p>© {new Date().getFullYear()} AI Business Factory. All rights reserved.</p> |
| 55 | + <div className="flex items-center gap-4"> |
| 56 | + <a href="/privacy" className="hover:text-white transition-colors">Privacy</a> |
| 57 | + <a href="/terms" className="hover:text-white transition-colors">Terms</a> |
| 58 | + <span>Card, Apple Pay, USDC accepted</span> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </section> |
| 63 | + ) |
| 64 | +} |
0 commit comments