From 8ade69c43846de9cbd1406cfeb700ac2b63b7a96 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 17:59:59 +0000
Subject: [PATCH] feat: Add app usage showcase to landing page
Implemented a section on the landing page to showcase app usage with images representing audio, text, receipts, dashboard, and calendar views. Also added a background effect using the provided `background-paths.tsx` component and dependencies.
---
src/components/ui/background-paths.tsx | 133 +++++++++++++++++++
src/pages/Landing.tsx | 169 +++++++++++++++++++------
2 files changed, 266 insertions(+), 36 deletions(-)
create mode 100644 src/components/ui/background-paths.tsx
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 (
+
+
+
+ );
+}
+
+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 */}
+
+
+
- {/* 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}
+
+
+
+
+

+
+
+ ))}
+
+
+ {/* Dashboard Preview */}
+
+
Visualize tudo no dashboard
+
+ Acompanhe suas finanças com gráficos detalhados e relatórios completos
+
+
+
+
-
100%
-
Via WhatsApp
+
Dashboard Financeiro
+
-
-
24/7
-
Disponível
+
Calendário de Transações
+
{/* Features Section */}
-