Skip to content

Commit ccae16c

Browse files
committed
fiz mais um monte de alteração e esqueci de dar commit
1 parent 8c99f43 commit ccae16c

4 files changed

Lines changed: 76 additions & 6 deletions

File tree

‎public/appleintelligencelogo.png‎

1.04 MB
Loading

‎src/components/ShortcutModal.tsx‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,13 @@ const ShortcutModal: React.FC<ShortcutModalProps> = ({
108108
<h3 className="font-medium text-gray-900 dark:text-gray-100 mb-3">
109109
Sobre este Atalho
110110
</h3>
111-
<div className="flex items-start gap-3">
112-
<div className="w-6 h-6 bg-gray-300 dark:bg-gray-600 rounded-full flex items-center justify-center flex-shrink-0 mt-0.5">
113-
<span className="text-xs">🔊</span>
111+
<div className="flex items-center gap-3">
112+
<div className="w-10 h-10 flex items-center justify-center flex-shrink-0">
113+
<img
114+
src="/appleintelligencelogo.png"
115+
alt="Apple Intelligence"
116+
className="w-10 h-10 object-contain"
117+
/>
114118
</div>
115119
<p className="text-gray-600 dark:text-gray-400 text-sm">
116120
Diga "E aí Siri, {shortcut.title}" para executar
@@ -138,9 +142,7 @@ const ShortcutModal: React.FC<ShortcutModalProps> = ({
138142
{shortcut.category && (
139143
<span>Categoria: {shortcut.category}</span>
140144
)}
141-
{shortcut.minIOS && (
142-
<span>iOS {shortcut.minIOS}+</span>
143-
)}
145+
<span>Versão 1.0</span>
144146
</div>
145147
</div>
146148
)}

‎src/components/Sidebar.tsx‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ import {
1010
Zap,
1111
PiggyBank,
1212
Menu,
13+
Bot,
14+
Settings,
15+
DollarSign,
1316
} from "lucide-react";
1417
import { useState } from "react";
1518

1619
const categories = [
1720
{ icon: PiggyBank, label: "Poupa.ai", count: 5, active: false },
21+
{ icon: Bot, label: "Atalhos de IA", count: 5, active: false },
22+
{ icon: Settings, label: "Automações", count: 1, active: false },
1823
{ icon: MessageCircle, label: "Atalhos para WhatsApp", count: 1, active: false },
24+
{ icon: DollarSign, label: "Financeiro", count: 5, active: false },
1925
];
2026

2127
const Sidebar = () => {
@@ -62,7 +68,10 @@ const Sidebar = () => {
6268
const Icon = category.icon;
6369
let href = "#";
6470
if (category.label === "Poupa.ai") href = "#especial-poupa-ai";
71+
if (category.label === "Atalhos de IA") href = "#atalhos-ia";
72+
if (category.label === "Automações") href = "#automacoes";
6573
if (category.label === "Atalhos para WhatsApp") href = "#outros-atalhos-whatsapp";
74+
if (category.label === "Financeiro") href = "#financeiro";
6675
return (
6776
<a
6877
key={category.label}

‎src/pages/Index.tsx‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,26 @@ function Index() {
255255
</a>
256256
);
257257
}
258+
// Card "Atalhos para IAs no WhatsApp" - scroll para Atalhos de IA
259+
if (shortcut.title === "Atalhos para IAs no WhatsApp") {
260+
return (
261+
<a
262+
key={index}
263+
href="#atalhos-ia"
264+
onClick={e => {
265+
e.preventDefault();
266+
const el = document.querySelector("#atalhos-ia");
267+
if (el) el.scrollIntoView({ behavior: "smooth" });
268+
} }
269+
style={{ textDecoration: "none" }}
270+
>
271+
<FeatureCard
272+
title={shortcut.title}
273+
background={shortcut.background}
274+
icon={shortcut.icon} />
275+
</a>
276+
);
277+
}
258278
// Card "Atalhos para WhatsApp" - scroll para Outros Atalhos para WhatsApp
259279
if (shortcut.title === "Atalhos para WhatsApp") {
260280
return (
@@ -300,6 +320,32 @@ function Index() {
300320
</div>
301321
</section>
302322

323+
{/* Atalhos de IA Section */}
324+
<section id="atalhos-ia" className="mb-8">
325+
<h2 className="text-2xl font-bold text-foreground mb-6">Atalhos de IA</h2>
326+
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
327+
{shortcuts.filter(shortcut => shortcut.isAI).map((shortcut) => (
328+
<ShortcutCard
329+
key={shortcut.id}
330+
shortcut={shortcut}
331+
/>
332+
))}
333+
</div>
334+
</section>
335+
336+
{/* Automações Section */}
337+
<section id="automacoes" className="mb-8">
338+
<h2 className="text-2xl font-bold text-foreground mb-6">Automações</h2>
339+
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
340+
{shortcuts.filter(shortcut => shortcut.isAutomacao).map((shortcut) => (
341+
<ShortcutCard
342+
key={shortcut.id}
343+
shortcut={shortcut}
344+
/>
345+
))}
346+
</div>
347+
</section>
348+
303349
{/* Outros Atalhos para WhatsApp Section */}
304350
<section id="outros-atalhos-whatsapp" className="mb-8">
305351
<h2 className="text-2xl font-bold text-foreground mb-6">Outros Atalhos para WhatsApp</h2>
@@ -329,6 +375,19 @@ function Index() {
329375
</div>
330376
</section>
331377

378+
{/* Financeiro Section */}
379+
<section id="financeiro" className="mb-8">
380+
<h2 className="text-2xl font-bold text-foreground mb-6">Financeiro</h2>
381+
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
382+
{shortcuts.filter(shortcut => shortcut.category === "Financeiro").map((shortcut) => (
383+
<ShortcutCard
384+
key={shortcut.id}
385+
shortcut={shortcut}
386+
/>
387+
))}
388+
</div>
389+
</section>
390+
332391
{/* Tutoriais Section */}
333392
<section>
334393
<h2 className="text-2xl font-bold text-foreground mb-6">Tutoriais</h2>

0 commit comments

Comments
 (0)