diff --git a/src/components/ui/background-paths.tsx b/src/components/ui/background-paths.tsx new file mode 100644 index 0000000..1f9da9a --- /dev/null +++ b/src/components/ui/background-paths.tsx @@ -0,0 +1,133 @@ + +"use client"; + +import { motion } from "framer-motion"; +import { Button } from "@/components/ui/button"; + +function FloatingPaths({ position }: { position: number }) { + const paths = Array.from({ length: 36 }, (_, i) => ({ + id: i, + d: `M-${380 - i * 5 * position} -${189 + i * 6}C-${ + 380 - i * 5 * position + } -${189 + i * 6} -${312 - i * 5 * position} ${216 - i * 6} ${ + 152 - i * 5 * position + } ${343 - i * 6}C${616 - i * 5 * position} ${470 - i * 6} ${ + 684 - i * 5 * position + } ${875 - i * 6} ${684 - i * 5 * position} ${875 - i * 6}`, + color: `rgba(15,23,42,${0.1 + i * 0.03})`, + width: 0.5 + i * 0.03, + })); + + return ( +
+ + Background Paths + {paths.map((path) => ( + + ))} + +
+ ); +} + +export function BackgroundPaths({ + title = "Background Paths", +}: { + title?: string; +}) { + const words = title.split(" "); + + return ( +
+
+ + +
+ +
+ +

+ {words.map((word, wordIndex) => ( + + {word.split("").map((letter, letterIndex) => ( + + {letter} + + ))} + + ))} +

+ +
+ +
+
+
+
+ ); +} diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index 3eef40d..65a2969 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -2,6 +2,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import { Button } from '@/components/ui/button'; +import { Boxes } from '@/components/ui/background-boxes'; import { MessageSquareText, Smartphone, @@ -10,7 +11,10 @@ import { ArrowRight, TrendingUp, Shield, - Clock + Clock, + Mic, + FileText, + Receipt } from 'lucide-react'; const Landing = () => { @@ -46,10 +50,34 @@ const Landing = () => { "100% seguro e privado" ]; + const howItWorks = [ + { + icon: , + title: "Mensagem de Texto", + description: "Digite suas despesas diretamente no chat", + example: "Gastei 100 em compras no Atacadão", + image: "/whatsapp-text-message.png" + }, + { + icon: , + title: "Mensagem de Áudio", + description: "Grave um áudio com sua transação", + example: "Áudio: 'Gastei 150 em compras no Atacadão'", + image: "/whatsapp-audio-message.png" + }, + { + icon: , + title: "Comprovante PIX", + description: "Envie o comprovante e deixe o resto conosco", + example: "Comprovante automático do PIX", + image: "/whatsapp-receipt-message.png" + } + ]; + return (
{/* Header */} -
+
{
- {/* Hero Section */} -
-
-

- Controle financeiro - via WhatsApp -

- -

- A única plataforma que permite organizar suas finanças pessoais 100% integrada com o WhatsApp. - Sem apps extras, sem complicação. -

- -
- - - + {/* Hero Section with Background */} +
+ +
+
+

+ Controle financeiro + via WhatsApp +

-
- - Configuração em 2 minutos +

+ A única plataforma que permite organizar suas finanças pessoais 100% integrada com o WhatsApp. + Sem apps extras, sem complicação. +

+ +
+ + + + +
+ + Configuração em 2 minutos +
+
+ + {/* Stats */} +
+
+
100%
+
Via WhatsApp
+
+
+
0
+
Apps extras
+
+
+
24/7
+
Disponível
+
+
+
- {/* Stats */} -
+ {/* How It Works Section */} +
+
+
+

+ Como funciona? +

+

+ Três formas simples de registrar suas transações no WhatsApp +

+
+ +
+ {howItWorks.map((method, index) => ( +
+
+
+ {method.icon} +
+

{method.title}

+

{method.description}

+
+

"{method.example}"

+
+
+ +
+ {`Exemplo +
+
+ ))} +
+ + {/* Dashboard Preview */} +
+

Visualize tudo no dashboard

+

+ Acompanhe suas finanças com gráficos detalhados e relatórios completos +

+
+ +
-
100%
-
Via WhatsApp
+

Dashboard Financeiro

+ Dashboard Financeiro
-
0
-
Apps extras
-
-
-
24/7
-
Disponível
+

Calendário de Transações

+ Calendário de Transações
{/* Features Section */} -
+