Cria landing page Kit Festa 30 imagens (R$19,99)

- Nova landing focada em conversao para o plano Kit Festa (30 imagens HD)
- Pagina enxuta: Hero > BeforeAfter > Video > Gallery > HowItWorks > Depoimentos > Offer > FAQ
- Offer sem email direto no checkout (plan=popular, R$19,99)
- VideoDemonstration repaginado com stats sociais e estilo browser
- HowItWorks e FAQ esclarecem que criacao e feita na plataforma
- Ancoragem de valor: decoradora R$400+ vs R$19,99 (R$0,67/img, -33%)
- Beneficios: 30 imagens HD, download em lote, valido 60 dias, suporte prioritario

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcio Bevervanso 2026-06-17 12:56:38 -03:00
commit 045e84e74c
49 changed files with 4616 additions and 0 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
node_modules/
dist/
.env
.env.local

102
index.html Normal file
View file

@ -0,0 +1,102 @@
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kit Festa IA — 30 Artes Personalizadas por R$19,99 | Festa Mágica IA</title>
<meta name="description" content="30 artes personalizadas com o rosto do seu filho em estilo Pixar 3D, prontas para imprimir. R$0,67 por imagem. Download em lote. Acesso imediato. Festa incrível sem complicação." />
<meta name="keywords" content="kit festa infantil personalizado, 30 imagens festa, decoração festa infantil IA, convite personalizado infantil, kit digital festa, festa com inteligência artificial" />
<meta name="author" content="Festa Mágica IA" />
<meta name="robots" content="index, follow" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Festa Mágica IA" />
<meta property="og:title" content="30 Artes para Festa Infantil por R$19,99 | Festa Mágica IA" />
<meta property="og:description" content="Kit completo com 30 imagens personalizadas geradas por IA. O rosto do seu filho em cada arte, pronto para imprimir. R$0,67 por imagem." />
<meta property="og:image" content="https://landpage.festamagicaia.com.br/share-card.jpeg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:url" content="https://kit.festamagicaia.com.br/" />
<meta property="og:locale" content="pt_BR" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="30 Artes para Festa Infantil por R$19,99 | Festa Mágica IA" />
<meta name="twitter:description" content="Kit completo com 30 imagens personalizadas geradas por IA. R$0,67 por imagem." />
<meta name="twitter:image" content="https://landpage.festamagicaia.com.br/share-card.jpeg" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Kit Festa Mágica IA — 30 Imagens",
"description": "Kit com 30 artes personalizadas para festa infantil geradas por Inteligência Artificial. A criança vira o personagem principal em formato 3D estilo animação. Qualidade HD, download em lote, válido por 60 dias.",
"image": "https://landpage.festamagicaia.com.br/share-card.jpeg",
"brand": {
"@type": "Brand",
"name": "Festa Mágica IA"
},
"offers": {
"@type": "Offer",
"url": "https://festamagicaia.com.br/checkout?plan=kit-festa",
"priceCurrency": "BRL",
"price": "19.99",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.9",
"reviewCount": "5423"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "O que inclui o Kit Festa de 30 imagens?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Você recebe 30 créditos para gerar artes personalizadas do nosso catálogo com mais de 21 modelos (convites, topos de bolo, caixas de pipoca, banners, tags, saia de cupcake e muito mais). Cada crédito gera uma arte em HD com o rosto do seu filho no estilo Pixar 3D."
}
}, {
"@type": "Question",
"name": "Quanto tempo tenho para usar os créditos?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Os 30 créditos ficam disponíveis por 60 dias a partir da data da compra. Você pode gerar as artes no seu próprio ritmo, sem pressa."
}
}]
}
</script>
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1494357542144348');
fbq('track', 'PageView');
</script>
<!-- End Meta Pixel Code -->
</head>
<body>
<noscript>
<img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1494357542144348&ev=PageView&noscript=1"/>
</noscript>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

2977
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

34
package.json Normal file
View file

@ -0,0 +1,34 @@
{
"name": "landpage-30",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --port=3001 --host=0.0.0.0",
"build": "vite build",
"preview": "vite preview",
"clean": "rm -rf dist",
"lint": "tsc --noEmit"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.14",
"@vitejs/plugin-react": "^5.0.4",
"clsx": "^2.1.1",
"framer-motion": "^12.38.0",
"lucide-react": "^0.546.0",
"motion": "^12.23.24",
"react": "^19.0.1",
"react-dom": "^19.0.1",
"react-router-dom": "^7.15.0",
"tailwind-merge": "^3.5.0",
"vite": "^6.2.3"
},
"devDependencies": {
"@types/node": "^22.14.0",
"autoprefixer": "^10.4.21",
"tailwindcss": "^4.1.14",
"tsx": "^4.21.0",
"typescript": "~5.8.2",
"vite": "^6.2.3"
}
}

5
postcss.config.js Normal file
View file

@ -0,0 +1,5 @@
export default {
plugins: {
autoprefixer: {},
},
}

8
public/.htaccess Normal file
View file

@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>

1
public/_redirects Normal file
View file

@ -0,0 +1 @@
/* /index.html 200

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

1
public/share-card.jpeg Normal file
View file

@ -0,0 +1 @@
<html><body>404</body></html>

14
src/App.tsx Normal file
View file

@ -0,0 +1,14 @@
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import LandingPage from './pages/LandingPage';
import SuccessPage from './pages/SuccessPage';
export default function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<LandingPage />} />
<Route path="/sucesso" element={<SuccessPage />} />
</Routes>
</BrowserRouter>
);
}

View file

@ -0,0 +1,103 @@
import { motion } from 'framer-motion';
import { ArrowRight, Sparkles } from 'lucide-react';
import InlineCTA from './InlineCTA';
export default function BeforeAfter() {
const pairs = [
{
name: 'Miguel',
real: '/images/antes-depois/miguel-real.webp',
avatar: '/images/antes-depois/miguel-avatar.webp',
},
{
name: 'Duda',
real: '/images/antes-depois/duda-real.webp',
avatar: '/images/antes-depois/duda-avatar.webp',
},
{
name: 'Valentina',
real: '/images/antes-depois/valentina-real.webp',
avatar: '/images/antes-depois/valentina-avatar.webp',
},
{
name: 'Miguel e Valentina',
real: '/images/antes-depois/irmaos-real.webp',
avatar: '/images/antes-depois/irmaos-avatar.webp',
},
];
return (
<section className="py-24 bg-white relative overflow-hidden" id="antes-e-depois">
<div className="absolute top-0 left-0 w-96 h-96 bg-violet-300 blur-[120px] rounded-full mix-blend-multiply opacity-20 -z-10 -translate-x-1/2 -translate-y-1/2" />
<div className="absolute bottom-0 right-0 w-96 h-96 bg-pink-300 blur-[120px] rounded-full mix-blend-multiply opacity-20 -z-10 translate-x-1/2 translate-y-1/2" />
<div className="container mx-auto px-6 max-w-6xl relative z-10">
<div className="text-center mb-16">
<div className="inline-flex items-center gap-2 px-5 py-2.5 rounded-full border border-pink-200 bg-pink-50 mb-6 text-pink-600">
<Sparkles className="w-4 h-4 text-amber-500" />
<span className="text-sm font-bold uppercase tracking-wider">Resultado real, sem mockup</span>
</div>
<h2 className="text-3xl md:text-5xl font-display font-bold mb-6 text-indigo-950">
De uma foto qualquer para um <span className="text-gradient">personagem 3D mágico.</span>
</h2>
<p className="text-lg text-indigo-900/70 max-w-2xl mx-auto font-medium">
Estes são exemplos reais gerados na nossa plataforma com fotos de verdade, sem edição manual. Veja a transformação acontecer.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 lg:gap-10">
{pairs.map((pair, i) => (
<motion.div
key={i}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: i * 0.1 }}
className="rounded-[2.5rem] border-2 border-pink-100 bg-pink-50/40 p-6 md:p-8 shadow-lg shadow-indigo-100/50"
>
<div className="flex items-center gap-3 sm:gap-5">
<div className="flex-1 relative">
<span className="absolute top-3 left-3 z-10 bg-white/90 backdrop-blur-sm text-indigo-900 text-xs font-bold uppercase tracking-wider px-3 py-1.5 rounded-full shadow-sm">
Foto real
</span>
<div className="rounded-3xl overflow-hidden border-4 border-white shadow-xl aspect-[4/5]">
<img
src={pair.real}
alt={`Foto real de ${pair.name} antes da transformação`}
className="w-full h-full object-cover"
loading="lazy"
/>
</div>
</div>
<div className="shrink-0 w-9 h-9 sm:w-12 sm:h-12 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 flex items-center justify-center text-white shadow-lg">
<ArrowRight className="w-4 h-4 sm:w-6 sm:h-6" />
</div>
<div className="flex-1 relative">
<span className="absolute top-3 left-3 z-10 bg-gradient-to-r from-pink-500 to-violet-500 text-white text-xs font-bold uppercase tracking-wider px-3 py-1.5 rounded-full shadow-sm flex items-center gap-1">
<Sparkles className="w-3 h-3" /> Gerado por IA
</span>
<div className="rounded-3xl overflow-hidden border-4 border-white shadow-xl aspect-[4/5] bg-white">
<img
src={pair.avatar}
alt={`Personagem 3D de ${pair.name} gerado pela IA`}
className="w-full h-full object-cover"
loading="lazy"
/>
</div>
</div>
</div>
<p className="text-center mt-6 text-indigo-950 font-bold text-lg">{pair.name}</p>
</motion.div>
))}
</div>
<InlineCTA
text="Quero Criar o Meu Agora!"
subtext="Clica aqui e veja a transformação do seu filho em minutos"
/>
</div>
</section>
);
}

View file

@ -0,0 +1,85 @@
import { motion } from 'framer-motion';
import { ImageIcon, Download, Clock, Headphones, Printer, Wand2 } from 'lucide-react';
import { cn } from '../lib/utils';
export default function Benefits() {
const cards = [
{
title: "30 Artes em HD",
description: "30 créditos para gerar as artes que você escolher do catálogo com mais de 21 modelos exclusivos — convites, topos, banners, tags, caixinhas e muito mais. Tudo com o rosto do seu filho.",
icon: <ImageIcon className="w-8 h-8 text-pink-500" />,
className: "md:col-span-2 bg-gradient-to-br from-pink-50 to-white hover:border-pink-300"
},
{
title: "Download em Lote",
description: "Baixe todas as suas artes de uma vez, em alta resolução, prontas para a gráfica ou impressora.",
icon: <Download className="w-8 h-8 text-violet-500" />,
className: "md:col-span-1 bg-gradient-to-br from-indigo-50 to-white hover:border-violet-300"
},
{
title: "Válido por 60 Dias",
description: "Sem pressão. Use seus créditos no seu ritmo — você tem 60 dias para gerar todas as artes.",
icon: <Clock className="w-8 h-8 text-amber-500" />,
className: "md:col-span-1 bg-gradient-to-br from-orange-50 to-white hover:border-amber-300"
},
{
title: "100% Personalizado",
description: "A IA transforma a foto do seu filho em um personagem 3D estilo Pixar aplicado em cada arte. Tema único, exclusivo, impossível de copiar.",
icon: <Wand2 className="w-8 h-8 text-pink-500" />,
className: "md:col-span-1 bg-gradient-to-br from-pink-50 to-white hover:border-pink-300"
},
{
title: "Pronto para Imprimir",
description: "Arquivos em PDF já formatados na medida certa. Leva pra gráfica ou imprime em casa — sem precisar de nenhum programa.",
icon: <Printer className="w-8 h-8 text-emerald-500" />,
className: "md:col-span-1 bg-gradient-to-br from-emerald-50 to-white hover:border-emerald-300"
},
{
title: "Suporte Prioritário",
description: "Atendimento dedicado via WhatsApp para clientes do Kit Festa. Nossa equipe te ajuda em qualquer etapa.",
icon: <Headphones className="w-8 h-8 text-violet-500" />,
className: "md:col-span-1 bg-gradient-to-br from-violet-50 to-white hover:border-violet-300"
},
];
return (
<section className="py-24 relative overflow-hidden bg-white" id="benefits">
<div className="absolute top-1/2 left-0 w-[500px] h-[500px] bg-pink-100/50 blur-[120px] rounded-full pointer-events-none -translate-y-1/2 opacity-60" />
<div className="container mx-auto px-6 max-w-6xl relative z-10">
<div className="mb-16 md:mb-20 text-center">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-6 tracking-tight text-indigo-950">
Tudo para uma festa <br className="hidden md:block" /><span className="text-transparent bg-clip-text bg-gradient-to-r from-pink-500 to-violet-500">inesquecível.</span>
</h2>
<p className="text-lg text-indigo-800/70 max-w-2xl mx-auto font-medium">
Kit completo com o que você precisa para decorar sem gastar uma fortuna e sem passar horas em lojas.
</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 auto-rows-fr">
{cards.map((card, i) => (
<motion.div
key={i}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.5, delay: i * 0.1 }}
className={cn(
"rounded-[2.5rem] border-2 border-indigo-50/50 p-10 flex flex-col transition-all duration-300 group shadow-xl shadow-indigo-100/50 hover:shadow-2xl relative bg-white",
card.className
)}
>
<div className="w-16 h-16 rounded-2xl bg-white shadow-sm border border-indigo-50 flex items-center justify-center mb-10 group-hover:scale-110 transition-transform relative z-20 shrink-0">
{card.icon}
</div>
<div className="relative z-20 mt-auto">
<h3 className="text-2xl font-display font-bold mb-4 text-indigo-950">{card.title}</h3>
<p className="text-indigo-900/70 font-medium text-lg leading-relaxed">{card.description}</p>
</div>
</motion.div>
))}
</div>
</div>
</section>
);
}

39
src/components/CTA.tsx Normal file
View file

@ -0,0 +1,39 @@
import { ArrowRight, Sparkles } from 'lucide-react';
export default function CTA() {
return (
<section className="py-24 relative overflow-hidden bg-indigo-950">
<div className="absolute inset-0 bg-gradient-to-tr from-pink-600/20 to-violet-600/20 mix-blend-overlay" />
<div className="absolute -top-40 -right-40 w-[600px] h-[600px] bg-pink-500/20 blur-[100px] rounded-full pointer-events-none" />
<div className="absolute -bottom-40 -left-40 w-[600px] h-[600px] bg-violet-500/20 blur-[100px] rounded-full pointer-events-none" />
<div className="container mx-auto px-6 max-w-4xl relative z-10 text-center">
<h2 className="text-4xl md:text-6xl font-display font-bold text-white mb-6">
30 artes. R$19,99. <br className="hidden md:block" />A festa mais linda que ele teve.
</h2>
<p className="text-xl text-indigo-200 font-medium mb-10 max-w-2xl mx-auto">
Chega de correr atrás de lojas e pagar caro em decoradora. Com nossa IA, você tem 30 artes personalizadas em minutos.
</p>
<div className="flex flex-col items-center justify-center gap-4">
<a
href="#oferta"
onClick={() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
}}
className="h-16 px-12 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-bold text-xl flex items-center justify-center gap-3 hover:scale-105 transition-all shadow-[0_0_40px_rgba(236,72,153,0.5)]"
>
Quero Meu Kit de 30 Imagens <ArrowRight className="w-5 h-5" />
</a>
<span className="text-indigo-300 font-medium text-sm flex items-center gap-2">
<Sparkles className="w-4 h-4 text-amber-400" />
Acesso imediato · Pagamento 100% seguro pelo Stripe
</span>
</div>
</div>
</section>
);
}

93
src/components/FAQ.tsx Normal file
View file

@ -0,0 +1,93 @@
import { useState } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import { Plus, Minus } from 'lucide-react';
import { cn } from '../lib/utils';
export default function FAQ() {
const [openIndex, setOpenIndex] = useState<number | null>(0);
const faqs = [
{
q: "Vou receber as imagens prontas no e-mail?",
a: "Não automaticamente — você cria as artes na nossa plataforma online! Após o pagamento, você recebe um link no e-mail para acessar o painel de criação. Lá você envia a foto do seu filho, escolhe os itens e nossa IA gera cada arte em 2 a 5 minutos. Com o Kit Festa você tem 30 créditos para usar no seu ritmo. Baixa tudo em lote diretamente da plataforma!"
},
{
q: "O que são os 30 créditos?",
a: "Cada crédito gera uma arte personalizada do nosso catálogo com mais de 21 modelos (convite, topo de bolo, banner, caixa de pipoca, tag, saia de cupcake, adesivos e muito mais). Com 30 créditos você pode, por exemplo, gerar 5 convites com variações diferentes, 3 banners, 10 tags de lembrancinha... você escolhe como usar!"
},
{
q: "Como funciona a geração da arte em IA?",
a: "Após a compra, você recebe acesso imediato ao painel. Faça o upload de 1 foto do seu filho (de preferência de corpo inteiro e frente), escolha o item e o estilo. A IA transforma o rosto dele em um personagem 3D estilo Pixar/Disney e aplica na arte escolhida. A primeira imagem é por nossa conta — não consome nenhum crédito!"
},
{
q: "Por quanto tempo ficam disponíveis os créditos?",
a: "Os 30 créditos ficam ativos por 60 dias a partir da data da compra. Você pode usar no seu ritmo, sem pressa — gere hoje, amanhã, ou vai usando ao longo do tempo conforme precisa de cada item."
},
{
q: "Como faço para baixar todas as imagens de uma vez?",
a: "No painel, você tem um botão de download em lote que baixa todas as artes geradas de uma só vez em um arquivo ZIP. Cada arquivo já vem em PDF formatado e em alta resolução, pronto para impressão."
},
{
q: "Preciso de algum programa para imprimir?",
a: "Não! Os arquivos já chegam em PDF na medida exata para impressão. Basta abrir no celular ou computador e mandar imprimir — em casa ou na gráfica mais próxima."
},
{
q: "Quanto tempo demora para ficar pronto?",
a: "A geração de cada arte leva de 2 a 5 minutos. O acesso ao painel é imediato após o pagamento."
}
];
return (
<section className="py-24 bg-white border-y border-pink-100">
<div className="container mx-auto px-6 max-w-3xl">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-4 text-indigo-950">Dúvidas Frequentes</h2>
<p className="text-indigo-500 font-medium text-lg">Tudo que você precisa saber antes de comprar.</p>
</div>
<div className="space-y-4">
{faqs.map((faq, i) => (
<div
key={i}
className={cn(
"border-2 rounded-3xl overflow-hidden transition-colors duration-300",
openIndex === i ? "border-pink-300 bg-pink-50/50" : "border-pink-100 hover:border-pink-200"
)}
>
<button
onClick={() => setOpenIndex(openIndex === i ? null : i)}
className="w-full px-8 py-6 flex items-center justify-between text-left focus:outline-none"
>
<span className="font-bold text-lg text-indigo-950 pr-8">{faq.q}</span>
{openIndex === i ? (
<div className="shrink-0 w-8 h-8 rounded-full bg-pink-200 flex items-center justify-center">
<Minus className="w-4 h-4 text-pink-600" />
</div>
) : (
<div className="shrink-0 w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center">
<Plus className="w-4 h-4 text-indigo-500" />
</div>
)}
</button>
<AnimatePresence>
{openIndex === i && (
<motion.div
initial={{ height: 0, opacity: 0 }}
animate={{ height: "auto", opacity: 1 }}
exit={{ height: 0, opacity: 0 }}
transition={{ duration: 0.3, ease: "easeInOut" }}
>
<div className="px-8 pb-6 text-indigo-900/80 font-medium leading-relaxed">
{faq.a}
</div>
</motion.div>
)}
</AnimatePresence>
</div>
))}
</div>
</div>
</section>
);
}

18
src/components/Footer.tsx Normal file
View file

@ -0,0 +1,18 @@
export default function Footer() {
return (
<footer className="py-12 border-t border-pink-200 bg-pink-50">
<div className="container mx-auto px-6 max-w-5xl text-center text-indigo-900/60 font-medium text-xs">
<p className="mb-4 max-w-3xl mx-auto leading-relaxed">
Este site não é afiliado ao Facebook ou a qualquer entidade do Meta.
Depois que você sair do Facebook, a responsabilidade não é deles e sim do nosso site.
</p>
<p className="mb-2">
MMV Comércio de Eletrônicos Ltda · CNPJ 47.082.683/0001-37
</p>
<p>
© {new Date().getFullYear()} Festa Mágica IA. Todos os direitos reservados.
</p>
</div>
</footer>
);
}

View file

@ -0,0 +1,63 @@
import { motion } from 'framer-motion';
import InlineCTA from './InlineCTA';
export default function Gallery() {
const images = [
{ src: "/images/galeria-real/topo-de-bolo.webp", title: "Topo de Bolo 3D", desc: "Perfeito para destacar a mesa" },
{ src: "/images/galeria-real/painel-de-fundo.webp", title: "Painel de Fundo", desc: "Transforma o cenário da festa" },
{ src: "/images/galeria-real/caixa-de-pipoca.webp", title: "Caixa de Pipoca", desc: "A alegria garantida no lanche" },
{ src: "/images/galeria-real/convite-digital.webp", title: "Convite Digital", desc: "Para enviar no WhatsApp" },
{ src: "/images/galeria-real/faixa-de-parede.webp", title: "Faixa de Parede", desc: "Decoração com a cara do tema" },
{ src: "/images/galeria-real/tag-de-agradecimento.webp", title: "Tag de Agradecimento", desc: "Pronto para as lembrancinhas" },
{ src: "/images/galeria-real/saia-de-cupcake.webp", title: "Saia de Cupcake", desc: "Mais estilo para os docinhos" },
{ src: "/images/galeria-real/chapeu-de-festa.webp", title: "Chapéu de Festa", desc: "Divertido, personalizado e único" },
{ src: "/images/galeria-real/adesivos-redondos.webp", title: "Adesivos Redondos", desc: "Ideais para potinhos e lembrancinhas" },
];
return (
<section className="py-24 bg-pink-50 relative overflow-hidden pb-32">
<div className="absolute -left-20 top-0 w-72 h-72 bg-violet-300 blur-[100px] rounded-full opacity-30" />
<div className="container mx-auto px-6 max-w-6xl relative z-10">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-6 text-indigo-950">
Veja a magia <span className="text-gradient">acontecer.</span>
</h2>
<p className="text-lg text-indigo-900/70 max-w-2xl mx-auto font-medium">
Itens reais gerados na nossa plataforma sem mockup, sem edição manual. É exatamente isso que você recebe pronto para imprimir.
</p>
</div>
<div className="columns-1 sm:columns-2 lg:columns-3 gap-6 space-y-6">
{images.map((img, i) => (
<motion.div
key={i}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ delay: i * 0.1 }}
className="break-inside-avoid relative rounded-[2rem] overflow-hidden bg-white border border-indigo-100 group shadow-lg hover:shadow-xl transition-all duration-300"
>
<div className="relative w-full overflow-hidden flex items-center justify-center p-6 bg-indigo-50/50">
<img
src={img.src}
alt={img.title}
className="w-full h-auto object-contain rounded-2xl drop-shadow-xl transition-transform duration-700 group-hover:scale-105 max-h-[400px]"
/>
</div>
<div className="p-6 bg-white border-t border-indigo-50">
<h3 className="font-display font-bold text-xl text-indigo-950 mb-1">{img.title}</h3>
<p className="text-sm font-medium text-indigo-900/60">{img.desc}</p>
</div>
</motion.div>
))}
</div>
<InlineCTA
text="Quero o Meu Kit Personalizado!"
subtext="Clica aqui e escolha os itens que combinam com o tema do seu filho"
/>
</div>
</section>
);
}

154
src/components/Hero.tsx Normal file
View file

@ -0,0 +1,154 @@
import { motion } from 'framer-motion';
import { ArrowRight, Sparkles, Star, ImageIcon, Download, Clock } from 'lucide-react';
export default function Hero() {
return (
<section className="relative pt-32 pb-20 md:pt-40 md:pb-24 overflow-hidden bg-pink-50">
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[500px] opacity-40 pointer-events-none">
<div className="absolute top-10 left-10 w-64 h-64 bg-pink-400 blur-[80px] rounded-full mix-blend-multiply opacity-50 animate-float" />
<div className="absolute top-20 right-10 w-72 h-72 bg-violet-400 blur-[80px] rounded-full mix-blend-multiply opacity-50 animate-pulse-slow" />
<div className="absolute -bottom-10 left-40 w-60 h-60 bg-yellow-300 blur-[80px] rounded-full mix-blend-multiply opacity-50 animate-float" style={{ animationDelay: '2s' }} />
</div>
<div className="absolute inset-0 pointer-events-none overflow-hidden">
<Star className="absolute top-32 left-10 text-yellow-400 w-6 h-6 animate-pulse-slow" />
<Star className="absolute top-40 right-20 text-pink-400 w-8 h-8 animate-float" />
<div className="absolute top-[40%] left-[15%] w-3 h-3 rounded-full bg-violet-400 animate-bounce-slow" />
<div className="absolute top-[60%] right-[10%] w-4 h-4 rounded-full bg-pink-400 animate-float" />
</div>
<div className="container mx-auto px-6 max-w-7xl relative z-10">
<div className="flex flex-col lg:flex-row items-center gap-12 lg:gap-20">
<div className="flex-1 flex flex-col items-center lg:items-start text-center lg:text-left pt-10">
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-full border border-pink-200 bg-white/60 backdrop-blur-md mb-8 text-pink-600 shadow-sm"
>
<Sparkles className="w-4 h-4 text-amber-500 animate-pulse" />
<span className="text-sm font-bold uppercase tracking-wider">Kit Festa Completo · 30 Imagens HD</span>
</motion.div>
<motion.h1
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.1 }}
className="text-4xl md:text-5xl lg:text-6xl xl:text-[4.5rem] tracking-tight leading-[1.1] font-display font-bold text-indigo-950 mb-6"
>
30 Artes Exclusivas para a<br className="hidden md:block" />
<span className="text-gradient"> Festa Perfeita!</span>
</motion.h1>
<motion.p
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.2 }}
className="text-lg md:text-xl text-indigo-800/80 mb-8 max-w-xl font-medium leading-relaxed"
>
Envie a foto do seu filho e nossa IA transforma em <strong>30 artes personalizadas estilo Pixar</strong> convites, topos de bolo, banners e muito mais. Tudo em HD, pronto para imprimir.
</motion.p>
{/* Mini benefícios */}
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.25 }}
className="flex flex-wrap gap-3 mb-8 justify-center lg:justify-start"
>
{[
{ icon: <ImageIcon className="w-4 h-4" />, text: "30 imagens HD" },
{ icon: <Download className="w-4 h-4" />, text: "Download em lote" },
{ icon: <Clock className="w-4 h-4" />, text: "Válido por 60 dias" },
].map((item, i) => (
<div key={i} className="flex items-center gap-1.5 px-4 py-2 rounded-full bg-white border border-pink-200 text-indigo-800 text-sm font-semibold shadow-sm">
<span className="text-pink-500">{item.icon}</span>
{item.text}
</div>
))}
</motion.div>
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.3 }}
className="inline-flex items-center gap-2 px-5 py-2 rounded-full bg-white border-2 border-pink-200 shadow-sm mb-6 text-indigo-900"
>
<span className="text-sm font-medium">Kit Festa por apenas</span>
<span className="text-lg font-display font-black text-pink-600">R$ 19,99</span>
<span className="text-xs text-indigo-500 font-medium">· R$0,67/img</span>
</motion.div>
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.4 }}
className="flex flex-col sm:flex-row items-center gap-4 w-full justify-center lg:justify-start"
>
<a
href="#oferta"
onClick={() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
}}
className="w-full sm:w-auto h-16 px-10 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-bold text-xl flex items-center justify-center gap-3 hover:scale-105 hover:shadow-2xl transition-all shadow-xl shadow-pink-500/30"
>
Quero Meu Kit de 30 Imagens <ArrowRight className="w-6 h-6" />
</a>
<div className="flex flex-col items-center sm:items-start text-indigo-600/70 text-xs sm:text-sm mt-3 sm:mt-0 font-medium">
<div className="flex items-center gap-1 mb-1">
{[...Array(5)].map((_, i) => <Star key={i} className="w-4 h-4 text-amber-500 fill-amber-500" />)}
</div>
<span>Mais de 10.000 famílias<br /> fizeram a festa!</span>
</div>
</motion.div>
</div>
<motion.div
initial={{ opacity: 0, scale: 0.95, rotate: -2 }}
animate={{ opacity: 1, scale: 1, rotate: 0 }}
transition={{ duration: 0.8, delay: 0.3 }}
className="flex-1 w-full max-w-2xl lg:max-w-none relative pb-10 pr-10"
>
<div className="relative rounded-[2rem] overflow-hidden border-8 border-white shadow-2xl rotate-2 hover:rotate-0 transition-transform duration-500 bg-white">
<img
src="/images/antes-depois/miguel-avatar.webp"
className="w-full h-auto object-cover aspect-square md:aspect-[4/3] lg:aspect-square"
alt="Personagem 3D estilo Pixar gerado pela IA a partir da foto de uma criança"
fetchPriority="high"
/>
<div className="absolute inset-0 ring-1 ring-inset ring-black/10 rounded-[1.5rem]" />
<div className="absolute top-6 right-6 bg-white rounded-2xl p-3 shadow-xl transform rotate-12 animate-float">
<div className="bg-pink-100 text-pink-600 font-bold text-xs px-3 py-1.5 rounded-lg flex items-center gap-1">
<Sparkles className="w-3 h-3" /> Gerado por IA
</div>
</div>
{/* Badge 30 imagens */}
<div className="absolute bottom-6 left-6 bg-indigo-950/90 backdrop-blur-sm text-white rounded-2xl px-4 py-3 shadow-xl">
<div className="text-2xl font-display font-black text-pink-400 leading-none">30</div>
<div className="text-xs font-semibold text-indigo-200 mt-0.5">artes inclusas</div>
</div>
</div>
<div className="absolute -bottom-2 -left-2 sm:left-4 w-28 sm:w-40 rounded-2xl overflow-hidden border-4 border-white shadow-2xl -rotate-6 hover:rotate-0 transition-transform duration-500 z-20">
<img
src="/images/antes-depois/miguel-real.webp"
className="w-full h-auto object-cover aspect-square"
alt="Foto real da criança antes da transformação para personagem 3D"
loading="lazy"
/>
<span className="absolute bottom-1.5 left-1/2 -translate-x-1/2 bg-white/90 backdrop-blur-sm text-indigo-900 text-[10px] sm:text-xs font-bold uppercase tracking-wider px-2.5 py-1 rounded-full shadow-sm whitespace-nowrap">
Foto real
</span>
</div>
<div className="absolute -inset-6 bg-gradient-to-tr from-pink-400 to-violet-500 blur-2xl opacity-20 -z-10 rounded-full" />
</motion.div>
</div>
</div>
</section>
);
}

View file

@ -0,0 +1,69 @@
import { motion } from 'framer-motion';
import InlineCTA from './InlineCTA';
export default function HowItWorks() {
const steps = [
{
number: "01",
title: "Compre e Acesse a Plataforma",
description: "Após o pagamento, você recebe um link no e-mail para acessar nossa plataforma de criação. Tudo online, sem instalar nada, acesso imediato.",
image: "https://festamagicaia.com.br/images/before-after.png"
},
{
number: "02",
title: "Crie suas 30 Artes com IA",
description: "Dentro da plataforma, envie a foto do seu filho, escolha o item e clique em gerar. Nossa IA cria o personagem 3D exclusivo em 2 a 5 minutos — você repete para cada arte que quiser.",
image: "https://s3.seureview.com.br/festamagica/6a591904-cf2a-4a51-8581-1891373eea29/805441e0-925e-4674-b7b3-ba640431eeb1/convite-digital.webp"
},
{
number: "03",
title: "Baixe em Lote e Imprima",
description: "Baixe todas as artes de uma vez em HD direto da plataforma. Leva pra gráfica ou imprime em casa. A festa mais linda que ele já teve!",
image: "https://s3.seureview.com.br/festamagica/6a591904-cf2a-4a51-8581-1891373eea29/805441e0-925e-4674-b7b3-ba640431eeb1/adesivos-redondos.webp"
}
];
return (
<section className="py-24 bg-indigo-950 border-y border-white/10" id="como-funciona">
<div className="container mx-auto px-6 max-w-7xl">
<div className="text-center mb-20">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-6 tracking-tight text-white">
Como a <span className="text-pink-500">Mágica</span> Acontece
</h2>
<p className="text-lg text-indigo-200 max-w-2xl mx-auto font-medium">
Em apenas 3 passos simples, você terá 30 artes exclusivas prontas para a festa dos sonhos!
</p>
</div>
<div className="relative">
<div className="grid grid-cols-1 md:grid-cols-3 gap-12 md:gap-8 relative z-10">
{steps.map((step, i) => (
<motion.div
key={i}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: i * 0.2 }}
className="flex flex-col items-center text-center group"
>
<div className="w-full h-64 md:h-72 rounded-3xl overflow-hidden mb-6 border-4 border-indigo-900 shadow-2xl relative group-hover:scale-105 transition-transform duration-500">
<img src={step.image} alt={step.title} className="w-full h-full object-cover" />
<div className="absolute top-4 left-4 w-12 h-12 rounded-full bg-pink-500 flex items-center justify-center text-white font-display font-bold text-xl shadow-lg">
{step.number}
</div>
</div>
<h3 className="text-2xl font-bold mb-3 text-white">{step.title}</h3>
<p className="text-indigo-200 font-medium text-base leading-relaxed">{step.description}</p>
</motion.div>
))}
</div>
</div>
<InlineCTA
text="Quero Criar Meu Kit Agora"
subtext="Acesso imediato após o pagamento — leva menos de 1 minuto"
/>
</div>
</section>
);
}

View file

@ -0,0 +1,34 @@
import { motion } from 'framer-motion';
import { Sparkles } from 'lucide-react';
import type { ReactNode } from 'react';
interface InlineCTAProps {
text: string;
subtext?: string;
icon?: ReactNode;
}
export default function InlineCTA({ text, subtext, icon }: InlineCTAProps) {
return (
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="flex flex-col items-center gap-3 mt-16"
>
<a
href="#oferta"
onClick={() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
}}
className="h-16 px-10 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-bold text-lg flex items-center justify-center gap-3 hover:scale-105 hover:shadow-2xl transition-all shadow-xl shadow-pink-500/30 animate-pulse-slow"
>
{text} {icon ?? <Sparkles className="w-5 h-5" />}
</a>
{subtext && <span className="text-indigo-500 text-sm font-semibold">{subtext}</span>}
</motion.div>
);
}

45
src/components/Navbar.tsx Normal file
View file

@ -0,0 +1,45 @@
import { useState, useEffect } from 'react';
import { ArrowRight, Wand2 } from 'lucide-react';
import { cn } from '../lib/utils';
export default function Navbar() {
const [isScrolled, setIsScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => setIsScrolled(window.scrollY > 20);
window.addEventListener('scroll', handleScroll);
return () => window.removeEventListener('scroll', handleScroll);
}, []);
return (
<header
className={cn(
"fixed top-0 w-full z-40 transition-all duration-300",
isScrolled ? "bg-white/90 backdrop-blur-xl border-b border-pink-100 py-3 shadow-sm" : "bg-transparent py-5"
)}
>
<div className="container mx-auto px-6 max-w-6xl flex items-center justify-between">
<div className="flex items-center gap-3 group cursor-pointer">
<div className="w-10 h-10 rounded-full bg-gradient-to-tr from-pink-400 to-violet-500 flex items-center justify-center transition-transform group-hover:scale-110 shadow-lg shadow-pink-500/30">
<Wand2 className="w-5 h-5 text-white" />
</div>
<span className="font-display font-bold text-2xl tracking-tight text-indigo-950">Festa Mágica<span className="text-pink-500">IA</span></span>
</div>
<div className="flex items-center gap-4">
<a
href="#oferta"
onClick={() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
}}
className="h-11 px-6 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-semibold text-sm flex items-center gap-2 hover:shadow-[0_0_20px_rgba(236,72,153,0.4)] hover:scale-105 transition-all"
>
Quero 30 Imagens <ArrowRight className="w-4 h-4" />
</a>
</div>
</div>
</header>
);
}

148
src/components/Offer.tsx Normal file
View file

@ -0,0 +1,148 @@
import { useState, type FormEvent } from 'react';
import { motion } from 'framer-motion';
import { Check, ShieldCheck, Gift, ArrowRight, ImageIcon, Download, Clock, Headphones, Tag, Zap, Loader2 } from 'lucide-react';
import { cn } from '../lib/utils';
export default function Offer() {
const benefits = [
{ icon: <ImageIcon className="w-5 h-5 text-pink-500" />, text: "30 créditos para gerar artes do catálogo com 21+ modelos" },
{ icon: <Check className="w-5 h-5 text-pink-500" />, text: "Personagem 3D exclusivo do seu filho gerado por IA" },
{ icon: <Check className="w-5 h-5 text-pink-500" />, text: "Arquivos em PDF prontos para imprimir em HD" },
{ icon: <Download className="w-5 h-5 text-pink-500" />, text: "Download em lote de todas as artes" },
{ icon: <Clock className="w-5 h-5 text-pink-500" />, text: "Créditos válidos por 60 dias" },
{ icon: <Headphones className="w-5 h-5 text-pink-500" />, text: "Suporte prioritário via WhatsApp" },
{ icon: <Zap className="w-5 h-5 text-pink-500" />, text: "Acesso imediato após o pagamento" },
];
const [email, setEmail] = useState('');
const [isLoading, setIsLoading] = useState(false);
const [error, setError] = useState('');
const handleCheckout = async (e: FormEvent) => {
e.preventDefault();
if (!email) { setError('Por favor, informe seu e-mail.'); return; }
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) { setError('Por favor, informe um e-mail válido.'); return; }
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
setIsLoading(true);
setError('');
window.location.href = `/checkout?plan=popular&source=landing-30&email=${encodeURIComponent(email)}`;
};
return (
<section className="py-24 bg-indigo-950 relative overflow-hidden" id="oferta">
<div className="absolute top-0 right-0 w-full h-full bg-[url('https://s3.seureview.com.br/festamagica/6a591904-cf2a-4a51-8581-1891373eea29/805441e0-925e-4674-b7b3-ba640431eeb1/adesivos-redondos.webp')] bg-cover bg-center opacity-5 mix-blend-overlay" />
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-pink-500/20 blur-[130px] rounded-full pointer-events-none mix-blend-screen" />
<div className="container mx-auto px-6 max-w-5xl relative z-10">
<div className="text-center mb-12">
<h2 className="text-4xl md:text-5xl font-display font-bold mb-4 text-white">
Kit Festa Completo:<br className="hidden md:block" /><span className="text-pink-400">30 Artes por R$19,99.</span>
</h2>
<p className="text-indigo-200 text-lg max-w-2xl mx-auto">
Menos de <strong className="text-white">R$0,67 por imagem</strong> kit de decoradora pelo preço de um guaraná na lanchonete.
</p>
</div>
{/* Comparação de valor */}
<motion.div
initial={{ opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
className="flex flex-col sm:flex-row items-center justify-center gap-4 mb-12"
>
<div className="flex items-center gap-3 px-6 py-3 rounded-2xl bg-white/10 border border-white/20 text-white">
<Tag className="w-5 h-5 text-red-400 shrink-0" />
<span className="text-sm font-semibold">Decoradora profissional cobraria <span className="line-through text-white/50">R$400+</span></span>
</div>
<div className="hidden sm:block text-white/40 text-2xl font-bold"></div>
<div className="flex items-center gap-3 px-6 py-3 rounded-2xl bg-pink-500/20 border border-pink-400/40 text-white">
<Check className="w-5 h-5 text-pink-400 shrink-0" />
<span className="text-sm font-bold text-pink-300">Você paga <span className="text-white">R$19,99</span> · 33% por imagem</span>
</div>
</motion.div>
<div className="bg-white rounded-[2.5rem] p-8 md:p-12 shadow-[0_30px_60px_-15px_rgba(236,72,153,0.3)] relative overflow-hidden flex flex-col md:flex-row items-center gap-12 max-w-4xl mx-auto border border-pink-100">
{/* Lista de benefícios */}
<div className="flex-1 w-full">
<h3 className="text-3xl font-display font-bold text-indigo-950 mb-6">
Kit Festa
</h3>
<div className="space-y-3 mb-8">
{benefits.map((benefit, i) => (
<div key={i} className="flex items-center gap-4">
<div className="w-6 h-6 rounded-full bg-pink-100 flex items-center justify-center shrink-0">
{benefit.icon}
</div>
<span className="text-indigo-900 font-medium text-base leading-relaxed">{benefit.text}</span>
</div>
))}
</div>
<div className="pt-6 border-t border-indigo-100 flex items-center gap-3">
<Gift className="w-6 h-6 text-pink-500" />
<p className="text-indigo-800 font-bold text-sm">Primeira imagem é por nossa conta não consome créditos!</p>
</div>
</div>
{/* Bloco de preço e CTA */}
<div className="w-full md:w-[340px] rounded-3xl p-6 md:p-8 text-center flex flex-col justify-center relative bg-gradient-to-b from-indigo-50 to-white border border-indigo-100 shadow-inner">
{/* Badge -33% */}
<div className="absolute -top-4 left-1/2 -translate-x-1/2 bg-gradient-to-r from-pink-500 to-violet-500 text-white text-xs font-bold px-4 py-1.5 rounded-full shadow-lg whitespace-nowrap">
33% por imagem vs. a média do mercado
</div>
<div className="mb-2 text-pink-600 font-bold text-sm tracking-[0.2em] uppercase mt-3">Kit Festa · 30 Imagens</div>
<div className="flex items-start justify-center mb-1">
<span className="text-2xl font-bold text-indigo-950 mt-2 mr-1">R$</span>
<span className="text-8xl font-display font-black tracking-tight text-indigo-950">19</span>
<span className="text-2xl font-bold mb-1 text-indigo-950 mt-2">,99</span>
</div>
<p className="text-sm text-indigo-500 font-semibold mb-1">R$0,67 por imagem · Pagamento único</p>
<p className="text-xs text-indigo-400 font-medium mb-6">Créditos válidos por 60 dias</p>
<form onSubmit={handleCheckout} className="flex flex-col gap-3 w-full mb-4">
<div className="flex flex-col gap-1 text-left">
<input
type="email"
value={email}
onChange={(e) => { setEmail(e.target.value); if (error) setError(''); }}
placeholder="Seu melhor e-mail"
disabled={isLoading}
className={cn(
"w-full h-14 px-5 rounded-full border-2 bg-white outline-none transition-all placeholder:text-gray-400 font-medium",
error ? "border-red-400 focus:border-red-500" : "border-indigo-100 focus:border-pink-500/50"
)}
/>
{error && <span className="text-red-500 text-xs px-2 font-medium">{error}</span>}
</div>
<button
type="submit"
disabled={isLoading}
className="w-full h-16 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-bold text-lg hover:shadow-[0_0_30px_rgba(236,72,153,0.5)] hover:scale-105 transition-all flex items-center justify-center gap-2 disabled:opacity-70 disabled:hover:scale-100 disabled:hover:shadow-none"
>
{isLoading ? (
<>Gerando Pedido... <Loader2 className="w-5 h-5 animate-spin" /></>
) : (
<>Gerar Tema Agora <ArrowRight className="w-5 h-5" /></>
)}
</button>
</form>
<div className="flex items-center justify-center gap-2 text-sm text-indigo-400 font-medium">
<ShieldCheck className="w-5 h-5 text-emerald-500" />
<span>Compra 100% segura pelo Stripe.</span>
</div>
</div>
</div>
</div>
</section>
);
}

View file

@ -0,0 +1,69 @@
import { motion } from 'framer-motion';
import { XCircle } from 'lucide-react';
import InlineCTA from './InlineCTA';
export default function Problem() {
const problems = [
"Orçamentos de decoração que chegam a R$ 2.000,00.",
"Aquela correria louca atrás de lojas e fornecedores.",
"A frustração de ver todo ano 'os mesmos temas'.",
"Não ter tempo ou habilidade para desenhar lembrancinhas do zero."
];
return (
<section className="py-24 border-y border-pink-100 bg-white">
<div className="container mx-auto px-6 max-w-6xl">
<div className="flex flex-col lg:flex-row items-center gap-12 lg:gap-16">
{/* Left Text / Problems List */}
<div className="flex-1">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-8 text-indigo-950">
Sua vida de mãe é corrida. <br className="hidden md:block"/><span className="text-pink-500">A festa não precisa ser um caos.</span>
</h2>
<div className="flex flex-col gap-4">
{problems.map((problem, i) => (
<motion.div
key={i}
initial={{ opacity: 0, x: -20 }}
whileInView={{ opacity: 1, x: 0 }}
viewport={{ once: true }}
transition={{ delay: i * 0.1 }}
className="p-5 rounded-2xl bg-pink-50 border border-pink-100 flex items-start gap-4 hover:shadow-lg transition-shadow"
>
<div className="mt-1 bg-pink-200 rounded-full p-1 shrink-0">
<XCircle className="w-5 h-5 text-pink-600" />
</div>
<p className="text-lg text-indigo-900 font-medium">{problem}</p>
</motion.div>
))}
</div>
</div>
{/* Right Image/Illustration */}
<motion.div
initial={{ opacity: 0, scale: 0.9 }}
whileInView={{ opacity: 1, scale: 1 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="flex-1 w-full"
>
<div className="relative rounded-[2.5rem] overflow-hidden shadow-2xl border-4 border-white bg-slate-100">
<img src="https://s3.seureview.com.br/festamagica/6a591904-cf2a-4a51-8581-1891373eea29/805441e0-925e-4674-b7b3-ba640431eeb1/topo-de-bolo.webp" alt="Solução mágica" className="w-full h-auto object-contain opacity-95 hover:scale-105 transition-transform duration-500" />
<div className="absolute inset-0 bg-indigo-950/10 mix-blend-multiply pointer-events-none" />
</div>
{/* Small floating badge */}
<div className="absolute top-[60%] sm:right-[10%] bg-white rounded-xl p-4 shadow-xl z-20 animate-bounce-slow">
<p className="text-indigo-900 font-bold text-sm">Fim da correria 😍</p>
</div>
</motion.div>
</div>
<InlineCTA
text="Quero Resolver Isso Agora!"
subtext="Clica aqui e troca a correria pela mágica em poucos minutos"
/>
</div>
</section>
);
}

View file

@ -0,0 +1,67 @@
import { motion } from 'framer-motion';
import { Star, Heart } from 'lucide-react';
import InlineCTA from './InlineCTA';
export default function Results() {
const textTestimonials = [
{ name: "Juliana Mendes", role: "Mãe do Pedro (4 anos)", initials: "JM", content: "Gente, eu não acreditei quando vi! O Pedro pirou quando viu ele vestido de astronauta no convite. Todo mundo da escola elogiou, foi muito incrível e super barato." },
{ name: "Camila V.", role: "Mãe da Alice (6 anos)", initials: "CV", content: "Eu tava desesperada porque deixei tudo pra última hora. Criei o kit, imprimi na gráfica da esquina e a festa ficou parecendo de decoradora cara. Salvaram a vida!" },
{ name: "Fernanda Costa", role: "Decoradora", initials: "FC", content: "Trabalho com festas e agora ofereço essa opção VIP para minhas clientes. A IA gera imagens perfeitas e de altíssima resolução. É o futuro da papelaria." },
{ name: "Amanda K.", role: "Mãe do Leo (2 anos)", initials: "AK", content: "A festinha foi na creche, fiz tudo na minha impressora de casa mesmo. Recortei e colei os rótulos de guaraná e as marmitinhas. Ficou um luxo, muito maravilhoso." },
];
return (
<section className="py-24 relative overflow-hidden bg-white" id="results">
<div className="container mx-auto px-6 max-w-6xl relative z-10">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-5xl font-display font-bold mb-6 tracking-tight text-indigo-950">
Mamães <span className="text-pink-500">encantadas.</span>
</h2>
<p className="text-lg text-indigo-900/70 font-medium max-w-2xl mx-auto">
Veja quem transformou a festa dos filhos em um verdadeiro universo mágico Pixar!
</p>
</div>
{/* Text Testimonials */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8">
{textTestimonials.map((t, i) => (
<motion.div
key={i}
initial={{ opacity: 0, scale: 0.95 }}
whileInView={{ opacity: 1, scale: 1 }}
viewport={{ once: true }}
transition={{ delay: i * 0.1 }}
className="relative rounded-3xl p-8 border-2 border-pink-100 bg-pink-50/50 hover:bg-pink-100/50 transition-colors group shadow-sm hover:shadow-md"
>
<div className="absolute -top-4 -right-4 w-12 h-12 bg-white rounded-full flex items-center justify-center shadow-md rotate-12">
<Heart className="w-6 h-6 text-pink-500 fill-pink-500" />
</div>
<div className="flex items-center gap-1 mb-6">
{[...Array(5)].map((_, idx) => (
<Star key={idx} className="w-5 h-5 text-amber-400 fill-amber-400" />
))}
</div>
<p className="text-indigo-900 font-medium leading-relaxed mb-8 italic">
"{t.content}"
</p>
<div className="flex items-center gap-4 mt-auto">
<div className="w-14 h-14 rounded-full border-2 border-white shadow-sm bg-gradient-to-br from-pink-400 to-violet-500 flex items-center justify-center text-white font-display font-bold text-lg shrink-0">
{t.initials}
</div>
<div>
<h4 className="text-indigo-950 font-bold text-base">{t.name}</h4>
<span className="text-sm text-pink-600 font-medium">{t.role}</span>
</div>
</div>
</motion.div>
))}
</div>
<InlineCTA
text="Eu Também Quero Viver Essa Mágica!"
subtext="Clica aqui e seja a próxima mãe encantada"
/>
</div>
</section>
);
}

View file

@ -0,0 +1,44 @@
import { useState, useEffect } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import { ImageIcon } from 'lucide-react';
export default function StickyMobileCTA() {
const [isVisible, setIsVisible] = useState(false);
useEffect(() => {
const handleScroll = () => {
const scrolled = window.scrollY > 400;
const bottom = Math.ceil(window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight - 600;
setIsVisible(scrolled && !bottom);
};
window.addEventListener('scroll', handleScroll, { passive: true });
return () => window.removeEventListener('scroll', handleScroll);
}, []);
return (
<AnimatePresence>
{isVisible && (
<motion.div
initial={{ y: 100, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
exit={{ y: 100, opacity: 0 }}
transition={{ type: "spring", stiffness: 260, damping: 20 }}
className="fixed bottom-4 left-4 right-4 z-[100] md:hidden"
>
<a
href="#oferta"
onClick={() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'InitiateCheckout');
}
}}
className="w-full h-14 rounded-full bg-gradient-to-r from-pink-500 to-violet-500 text-white font-bold text-lg flex items-center justify-center gap-2 shadow-[0_10px_40px_-10px_rgba(236,72,153,0.8)] border border-white/20 active:scale-95 transition-transform"
>
Kit Festa · 30 Imagens por R$19,99 <ImageIcon className="w-5 h-5" />
</a>
</motion.div>
)}
</AnimatePresence>
);
}

View file

@ -0,0 +1,120 @@
import { motion } from 'framer-motion';
import { Sparkles, Star, Users, ImageIcon, Clock } from 'lucide-react';
import InlineCTA from './InlineCTA';
const stats = [
{ icon: <Users className="w-5 h-5 text-pink-400" />, value: "+10.000", label: "famílias atendidas" },
{ icon: <ImageIcon className="w-5 h-5 text-violet-400" />, value: "+180.000", label: "artes geradas" },
{ icon: <Star className="w-5 h-5 text-amber-400" />, value: "4.9★", label: "avaliação média" },
{ icon: <Clock className="w-5 h-5 text-emerald-400" />, value: "2~5 min", label: "por arte gerada" },
];
export default function VideoDemonstration() {
return (
<section className="py-24 bg-indigo-950 relative overflow-hidden" id="video">
{/* Background glow */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[700px] bg-pink-600/10 blur-[120px] rounded-full pointer-events-none" />
<div className="absolute top-0 right-0 w-96 h-96 bg-violet-600/10 blur-[100px] rounded-full pointer-events-none" />
<div className="container mx-auto px-6 max-w-5xl relative z-10">
{/* Header */}
<div className="text-center mb-14">
<motion.div
initial={{ opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-full border border-pink-500/30 bg-pink-500/10 mb-6 text-pink-300"
>
<Sparkles className="w-4 h-4 text-amber-400 animate-pulse" />
<span className="text-sm font-bold uppercase tracking-wider">Veja ao vivo</span>
</motion.div>
<motion.h2
initial={{ opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ delay: 0.05 }}
className="text-3xl md:text-5xl font-display font-bold mb-5 tracking-tight text-white"
>
Da foto ao kit de festa<br className="hidden md:block" />
<span className="text-transparent bg-clip-text bg-gradient-to-r from-pink-400 to-violet-400"> em menos de 5 minutos.</span>
</motion.h2>
<motion.p
initial={{ opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ delay: 0.1 }}
className="text-lg text-indigo-200/80 max-w-xl mx-auto font-medium"
>
Veja como é simples usar a plataforma do upload da foto até o PDF pronto para imprimir.
</motion.p>
</div>
{/* Video */}
<motion.div
initial={{ opacity: 0, scale: 0.97 }}
whileInView={{ opacity: 1, scale: 1 }}
viewport={{ once: true }}
transition={{ duration: 0.6 }}
className="relative group"
>
{/* Glow ring */}
<div className="absolute -inset-1 bg-gradient-to-r from-pink-500 via-violet-500 to-pink-500 rounded-[2.2rem] blur-md opacity-40 group-hover:opacity-60 transition-opacity duration-500" />
<div className="relative rounded-[2rem] overflow-hidden border border-white/10 shadow-2xl bg-indigo-950">
{/* Barra superior estilo browser */}
<div className="flex items-center gap-2 px-5 py-3 bg-white/5 border-b border-white/10">
<div className="flex gap-1.5">
<div className="w-3 h-3 rounded-full bg-red-500/70" />
<div className="w-3 h-3 rounded-full bg-yellow-500/70" />
<div className="w-3 h-3 rounded-full bg-emerald-500/70" />
</div>
<div className="flex-1 mx-4 h-6 rounded-full bg-white/10 flex items-center px-4">
<span className="text-white/40 text-xs font-medium">festamagicaia.com.br/criar</span>
</div>
<div className="flex items-center gap-1.5 text-[10px] font-bold text-emerald-400 bg-emerald-500/10 border border-emerald-500/20 px-2.5 py-1 rounded-full">
<div className="w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse" />
AO VIVO
</div>
</div>
<video
src="https://s3.seureview.com.br/festamagica/0510(2).mp4"
className="w-full h-auto object-cover"
controls
preload="metadata"
playsInline
poster="/images/antes-depois/miguel-avatar.webp"
/>
</div>
</motion.div>
{/* Stats */}
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ delay: 0.2 }}
className="grid grid-cols-2 md:grid-cols-4 gap-4 mt-10"
>
{stats.map((s, i) => (
<div key={i} className="flex flex-col items-center gap-2 bg-white/5 border border-white/10 rounded-2xl py-5 px-4 hover:bg-white/10 transition-colors">
<div className="w-10 h-10 rounded-xl bg-white/10 flex items-center justify-center">
{s.icon}
</div>
<span className="text-2xl font-display font-black text-white">{s.value}</span>
<span className="text-xs font-semibold text-indigo-300 text-center">{s.label}</span>
</div>
))}
</motion.div>
<InlineCTA
text="Sim, Eu Quero Isso na Festa do Meu Filho!"
subtext="Acesso imediato após o pagamento"
/>
</div>
</section>
);
}

View file

@ -0,0 +1,48 @@
import { useEffect } from 'react';
/**
* Esse hook procura por links de checkout (que saem da página) e
* adiciona os parâmetros de URL (como UTMs) no final desses links.
*
* Assim, se o usuário entra via:
* meusite.com/?utm_source=facebook&utm_medium=stories
*
* Quando ele clicar em "Comprar", o link de checkout receberá esses mesmos parâmetros,
* garantindo que a venda seja rastreada perfeitamente.
*/
export function useUTMForwarder() {
useEffect(() => {
// Pega todos os parâmetros atuais da URL da landing page (UTMs, src, sck, etc)
const urlParams = window.location.search;
if (!urlParams) return;
// Encontra todas as tags de link (<a>) na página
const links = document.querySelectorAll('a');
links.forEach(link => {
const href = link.getAttribute('href');
// Checa se é um link externo de checkout ou similar
// Exemplo: https://pay.kiwify.com.br, https://pay.hotmart.com, ou links com http
if (href && href.startsWith('http') && !href.includes(window.location.host)) {
try {
const urlObj = new URL(href);
// Pega os parâmetros existentes na landing page e repassa pro link final
const params = new URLSearchParams(urlParams);
params.forEach((value, key) => {
// Se o link de checkout já não tiver esse UTM, ele adiciona
if (!urlObj.searchParams.has(key)) {
urlObj.searchParams.append(key, value);
}
});
link.setAttribute('href', urlObj.toString());
} catch (e) {
console.error("Erro ao processar UTMs do link: ", e);
}
}
});
}, []);
}

72
src/index.css Normal file
View file

@ -0,0 +1,72 @@
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');
@import "tailwindcss";
@theme {
--color-background: #fdf2f8; /* pink-50 */
--color-foreground: #3730a3; /* indigo-800 */
--color-primary: #ec4899; /* pink-500 */
--color-primary-foreground: #ffffff;
--color-muted: #fce7f3; /* pink-100 */
--color-muted-foreground: #6366f1; /* indigo-500 */
--color-accent: #f87171; /* red-400 */
--color-accent-foreground: #ffffff;
--color-border: #fbcfe8; /* pink-200 */
--font-sans: "Quicksand", ui-sans-serif, system-ui, sans-serif;
--font-display: "Fredoka", ui-sans-serif, system-ui, sans-serif;
--animate-bounce-slow: bounce-slow 3s ease-in-out infinite;
--animate-float: float 4s ease-in-out infinite;
--animate-pulse-slow: pulse-slow 3s ease-in-out infinite alternate;
}
@layer base {
:root {
color-scheme: light;
scroll-behavior: smooth;
}
body {
background-color: var(--color-background);
color: var(--color-foreground);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 600;
}
}
@layer utilities {
.text-gradient {
@apply bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500;
}
.glass-panel {
@apply bg-white/70 backdrop-blur-xl border border-white shadow-xl;
}
}
@keyframes bounce-slow {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
}
@keyframes float {
0% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-10px) rotate(2deg); }
100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes pulse-slow {
from { opacity: 0.8; transform: scale(1); }
to { opacity: 1; transform: scale(1.05); }
}

6
src/lib/utils.ts Normal file
View file

@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

10
src/main.tsx Normal file
View file

@ -0,0 +1,10 @@
import {StrictMode} from 'react';
import {createRoot} from 'react-dom/client';
import App from './App.tsx';
import './index.css';
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
);

53
src/pages/LandingPage.tsx Normal file
View file

@ -0,0 +1,53 @@
import { useEffect } from 'react';
import { motion, useScroll, useSpring } from 'framer-motion';
import Navbar from '../components/Navbar';
import Hero from '../components/Hero';
import BeforeAfter from '../components/BeforeAfter';
import VideoDemonstration from '../components/VideoDemonstration';
import Gallery from '../components/Gallery';
import HowItWorks from '../components/HowItWorks';
import Results from '../components/Results';
import Offer from '../components/Offer';
import FAQ from '../components/FAQ';
import Footer from '../components/Footer';
import StickyMobileCTA from '../components/StickyMobileCTA';
import { useUTMForwarder } from '../hooks/useUTMForwarder';
export default function LandingPage() {
const { scrollYProgress } = useScroll();
const scaleX = useSpring(scrollYProgress, {
stiffness: 100,
damping: 30,
restDelta: 0.001
});
useUTMForwarder();
useEffect(() => {
if (typeof window !== 'undefined' && 'fbq' in window) {
(window as any).fbq('track', 'ViewContent');
}
}, []);
return (
<div className="min-h-screen bg-pink-50 text-indigo-900 selection:bg-pink-300 selection:text-indigo-950 font-sans overflow-x-hidden">
<motion.div
className="fixed top-0 left-0 right-0 h-1.5 bg-gradient-to-r from-pink-400 via-violet-400 to-amber-400 origin-left z-50"
style={{ scaleX }}
/>
<Navbar />
<main>
<Hero />
<BeforeAfter />
<VideoDemonstration />
<Gallery />
<HowItWorks />
<Results />
<Offer />
<FAQ />
</main>
<Footer />
<StickyMobileCTA />
</div>
);
}

80
src/pages/SuccessPage.tsx Normal file
View file

@ -0,0 +1,80 @@
import { useEffect, useState } from "react";
import { useSearchParams, useNavigate } from "react-router-dom";
import { CheckCircle, Mail, LayoutDashboard, Sparkles } from "lucide-react";
import Footer from "../components/Footer";
export default function SuccessPage() {
const [searchParams] = useSearchParams();
const navigate = useNavigate();
const [isValid, setIsValid] = useState(false);
useEffect(() => {
// O Stripe passa 'session_id' automaticamente quando redireciona,
// Ou podemos checar um parâmetro manual como '?status=approved'
const sessionId = searchParams.get("session_id");
const status = searchParams.get("status");
if (sessionId || status === "approved") {
setIsValid(true);
} else {
// Se não tiver nenhum parâmetro válido, joga de volta pra home
navigate("/", { replace: true });
}
}, [searchParams, navigate]);
if (!isValid) {
return null; // Retorna nulo enquanto valida para não piscar a tela
}
return (
<div className="min-h-screen bg-pink-50 text-indigo-900 selection:bg-pink-300 font-sans flex flex-col">
<main className="flex-1 py-12 px-4 md:px-6 flex items-center justify-center">
<div className="max-w-5xl mx-auto w-full">
{/* Success Banner */}
<section className="text-center bg-white rounded-3xl p-8 md:p-12 shadow-xl border border-pink-100">
<CheckCircle className="w-20 h-20 text-emerald-500 mx-auto mb-6" />
<h1 className="text-3xl md:text-5xl font-display font-bold text-indigo-950 mb-4">
Pagamento Confirmado!
</h1>
<p className="text-lg text-indigo-600 md:text-xl max-w-2xl mx-auto mb-12">
Tudo certo com o seu pedido! Preparamos tudo para você começar a criar a festa dos sonhos em instantes.
</p>
<div className="grid md:grid-cols-3 gap-6 text-left max-w-4xl mx-auto">
<div className="bg-pink-50/50 rounded-2xl p-6 border border-pink-100 relative hover:shadow-md transition-shadow">
<div className="bg-white w-12 h-12 rounded-full flex items-center justify-center shadow-sm text-pink-500 mb-4">
<Mail className="w-6 h-6" />
</div>
<h3 className="font-bold text-indigo-950 text-lg mb-2">1. Fique de olho no e-mail</h3>
<p className="text-indigo-700/80 text-sm leading-relaxed">
Em até 5 minutos, você receberá um e-mail de confirmação com a nota do seu pedido e todos os detalhes.
</p>
</div>
<div className="bg-pink-50/50 rounded-2xl p-6 border border-pink-100 relative hover:shadow-md transition-shadow">
<div className="bg-white w-12 h-12 rounded-full flex items-center justify-center shadow-sm text-violet-500 mb-4">
<LayoutDashboard className="w-6 h-6" />
</div>
<h3 className="font-bold text-indigo-950 text-lg mb-2">2. Acesse o Painel</h3>
<p className="text-indigo-700/80 text-sm leading-relaxed">
No mesmo e-mail, enviaremos um <strong>link de acesso exclusivo</strong> direto para o nosso Painel de Criação Mágica. Não se preocupe em criar conta!
</p>
</div>
<div className="bg-pink-50/50 rounded-2xl p-6 border border-pink-100 relative hover:shadow-md transition-shadow">
<div className="bg-white w-12 h-12 rounded-full flex items-center justify-center shadow-sm text-amber-500 mb-4">
<Sparkles className="w-6 h-6" />
</div>
<h3 className="font-bold text-indigo-950 text-lg mb-2">3. Crie a Magia</h3>
<p className="text-indigo-700/80 text-sm leading-relaxed">
Dentro do painel, siga as instruções rápidas, faça o upload da foto e deixe a inteligência artificial transformar tudo em um kit inesquecível!
</p>
</div>
</div>
</section>
</div>
</main>
<Footer />
</div>
);
}

26
tsconfig.json Normal file
View file

@ -0,0 +1,26 @@
{
"compilerOptions": {
"target": "ES2022",
"experimentalDecorators": true,
"useDefineForClassFields": false,
"module": "ESNext",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
],
"skipLibCheck": true,
"moduleResolution": "bundler",
"isolatedModules": true,
"moduleDetection": "force",
"allowJs": true,
"jsx": "react-jsx",
"paths": {
"@/*": [
"./*"
]
},
"allowImportingTsExtensions": true,
"noEmit": true
}
}

24
vite.config.ts Normal file
View file

@ -0,0 +1,24 @@
import tailwindcss from '@tailwindcss/vite';
import react from '@vitejs/plugin-react';
import path from 'path';
import {defineConfig, loadEnv} from 'vite';
export default defineConfig(({mode}) => {
const env = loadEnv(mode, '.', '');
return {
plugins: [react(), tailwindcss()],
define: {
'process.env.GEMINI_API_KEY': JSON.stringify(env.GEMINI_API_KEY),
},
resolve: {
alias: {
'@': path.resolve(__dirname, '.'),
},
},
server: {
// HMR is disabled in AI Studio via DISABLE_HMR env var.
// Do not modify—file watching is disabled to prevent flickering during agent edits.
hmr: process.env.DISABLE_HMR !== 'true',
},
};
});