Skip to content

Commit 8837952

Browse files
committed
adicionei os tutoriais na barra lateral
1 parent 9ed5dec commit 8837952

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/components/Sidebar.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Bot,
1414
Settings,
1515
DollarSign,
16+
PlayCircle,
1617
} from "lucide-react";
1718
import { useState } from "react";
1819

@@ -22,6 +23,7 @@ const categories = [
2223
{ icon: Settings, label: "Automações", count: 1, active: false },
2324
{ icon: MessageCircle, label: "Atalhos para WhatsApp", count: 1, active: false },
2425
{ icon: DollarSign, label: "Financeiro", count: 5, active: false },
26+
{ icon: PlayCircle, label: "Tutoriais", count: 1, active: false },
2527
];
2628

2729
const Sidebar = () => {
@@ -72,6 +74,7 @@ const Sidebar = () => {
7274
if (category.label === "Automações") href = "#automacoes";
7375
if (category.label === "Atalhos para WhatsApp") href = "#outros-atalhos-whatsapp";
7476
if (category.label === "Financeiro") href = "#financeiro";
77+
if (category.label === "Tutoriais") href = "#tutoriais";
7578
return (
7679
<a
7780
key={category.label}

‎src/pages/Index.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function Index() {
397397
</section>
398398

399399
{/* Tutoriais Section */}
400-
<section>
400+
<section id="tutoriais">
401401
<h2 className="text-2xl font-bold text-foreground mb-6">Tutoriais</h2>
402402
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
403403
{tutorials.map((tutorial) => (

0 commit comments

Comments
 (0)