| import gradio as gr |
|
|
| |
| css = """ |
| body { |
| background: linear-gradient(135deg, #0b0d10 0%, #1a1f26 100%); |
| color: #ffffff; |
| font-family: 'Inter', sans-serif; |
| } |
| .gradio-container { |
| background: transparent !important; |
| } |
| .card { |
| background: rgba(26, 31, 38, 0.8); |
| border: 1px solid #00e5ff; |
| border-radius: 12px; |
| padding: 20px; |
| margin: 10px 0; |
| } |
| .buy-button { |
| background: linear-gradient(45deg, #00e5ff, #4dd0e1); |
| color: #0b0d10; |
| border: none; |
| border-radius: 8px; |
| padding: 12px 24px; |
| font-weight: bold; |
| cursor: pointer; |
| transition: all 0.3s ease; |
| } |
| .buy-button:hover { |
| transform: translateY(-2px); |
| box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4); |
| } |
| """ |
|
|
| produtos = [ |
| { |
| "nome": "GXD Prompt Pack Pro", |
| "preco": "R$ 47", |
| "descricao": "50 prompts otimizados para GPT-4, Claude e Gemini", |
| "link": "https://gumroad.com/l/seu-link-1", |
| "icone": "💎" |
| }, |
| { |
| "nome": "API Starter Kit", |
| "preco": "R$ 97", |
| "descricao": "5 APIs prontas para deploy imediato + documentação", |
| "link": "https://gumroad.com/l/seu-link-2", |
| "icone": "⚡" |
| }, |
| { |
| "nome": "Agent Creator Template", |
| "preco": "R$ 147", |
| "descricao": "Template completo para criar agents personalizados", |
| "link": "https://gumroad.com/l/seu-link-3", |
| "icone": "🤖" |
| }, |
| { |
| "nome": "XPEX Neural Dashboard", |
| "preco": "R$ 197", |
| "descricao": "Painel futurista pronto para personalizar + código fonte", |
| "link": "https://gumroad.com/l/seu-link-4", |
| "icone": "🎛️" |
| } |
| ] |
|
|
| with gr.Blocks(css=css, theme=gr.themes.Default(primary_hue="blue")) as demo: |
| |
| |
| with gr.Row(): |
| gr.Markdown(""" |
| # 🚀 XPEX AUTONOMOUS STORE |
| ### *Sua loja de ferramentas de IA premium* |
| """) |
| |
| gr.Markdown("---") |
| |
| |
| with gr.Row(): |
| gr.Markdown("## 🛍️ Nossos Produtos") |
| |
| for produto in produtos: |
| with gr.Row(): |
| with gr.Column(scale=1): |
| gr.Markdown(f"### {produto['icone']} {produto['nome']}") |
| gr.Markdown(f"**{produto['preco']}** • {produto['descricao']}") |
| |
| with gr.Column(scale=1): |
| gr.Button( |
| f"🛒 Comprar Agora - {produto['preco']}", |
| link=produto['link'], |
| elem_classes="buy-button" |
| ) |
| |
| gr.Markdown("---") |
| |
| |
| with gr.Row(): |
| gr.Markdown(""" |
| ### 💼 **XPEX Neural Corporation** |
| 📧 Contato: seu-email@protonmail.com |
| 🐦 Twitter: [@juniorsena](https://x.com/juniorsena) |
| 💻 GitHub: [juniorsena](https://github.com/juniorsena) |
| """) |
|
|
| demo.launch() |