From 52ba4b115af5052f7f7cf2707ccc88b3cb19ca5f Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:10:13 +0000 Subject: [PATCH] Reverted to commit 41946a7e9c39b7ae14130255dca06c65522be4eb --- src/components/ui/background-paths.tsx | 133 ------------------- src/pages/Landing.tsx | 169 ++++++------------------- 2 files changed, 36 insertions(+), 266 deletions(-) delete mode 100644 src/components/ui/background-paths.tsx diff --git a/src/components/ui/background-paths.tsx b/src/components/ui/background-paths.tsx deleted file mode 100644 index 1f9da9a..0000000 --- a/src/components/ui/background-paths.tsx +++ /dev/null @@ -1,133 +0,0 @@ - -"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 65a2969..3eef40d 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -2,7 +2,6 @@ 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, @@ -11,10 +10,7 @@ import { ArrowRight, TrendingUp, Shield, - Clock, - Mic, - FileText, - Receipt + Clock } from 'lucide-react'; const Landing = () => { @@ -50,34 +46,10 @@ 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 with Background */} -
- -
-
-

- Controle financeiro - via WhatsApp -

+ {/* 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. +

+ +
+ + + -

- 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
-
+
+ + Configuração em 2 minutos
-
-
- {/* 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 -

-
- -
+ {/* Stats */} +
-

Dashboard Financeiro

- Dashboard Financeiro +
100%
+
Via WhatsApp
-

Calendário de Transações

- Calendário de Transações +
0
+
Apps extras
+
+
+
24/7
+
Disponível
{/* Features Section */} -
+