Skip to content

Commit 35f834b

Browse files
committed
feat: revisão inicial
1 parent f923627 commit 35f834b

File tree

6 files changed

+51
-42
lines changed

6 files changed

+51
-42
lines changed

src/components/CodeExamples.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Button } from "@/components/ui/button";
22
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
33
import CodeBlock from "@/components/CodeBlock";
4-
import { ArrowRight, Package, Zap, Layers } from "lucide-react";
4+
import { ArrowRight, Blocks, Zap, Layers } from "lucide-react";
55

66
const CodeExamples = () => {
77
return (
@@ -22,7 +22,7 @@ const CodeExamples = () => {
2222
<div className="space-y-6 lg:col-span-1">
2323
<div className="flex items-center space-x-3">
2424
<div className="w-12 h-12 bg-gradient-constructo rounded-xl flex items-center justify-center shadow-constructo">
25-
<Package className="w-6 h-6 text-constructo-foreground" />
25+
<Blocks className="w-6 h-6 text-constructo-foreground" />
2626
</div>
2727
<div>
2828
<h3 className="text-2xl font-bold text-constructo">Constructo</h3>
@@ -56,7 +56,7 @@ const CodeExamples = () => {
5656
<div className="pl-6">
5757
<Button
5858
variant="outline"
59-
className="group border-constructo/30 hover:border-constructo hover:text-constructo"
59+
className="group border-constructo /30 hover:border-constructo hover:text-constructo-foreground hover:bg-constructo "
6060
>
6161
Explorar Constructo
6262
<ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" />
@@ -179,7 +179,7 @@ $this->assertValidUser($users->first());`}
179179
<div className="pl-6">
180180
<Button
181181
variant="outline"
182-
className="group border-serendipity/30 hover:border-serendipity hover:text-serendipity"
182+
className="group border-serendipity/30 hover:border-serendipity hover:text-serendipity-foreground hover:bg-serendipity"
183183
>
184184
Explorar Serendipity
185185
<ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" />
@@ -350,7 +350,7 @@ class UserRepository extends Repository
350350
<div className="pl-6">
351351
<Button
352352
variant="outline"
353-
className="group border-effulgence/30 hover:border-effulgence hover:text-effulgence"
353+
className="group border-effulgence/30 hover:border-effulgence hover:text-effulgence-foreground hover:bg-effulgence"
354354
>
355355
Explorar Effulgence
356356
<ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" />

src/components/Packages.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PackageCard from "./PackageCard";
2-
import { Package, Layers, Database, Zap, TestTube, Shield } from "lucide-react";
2+
import { Blocks, Zap, Layers, Database, Shield, TestTube } from "lucide-react";
33

44
const Packages = () => {
55
return (
@@ -20,7 +20,7 @@ const Packages = () => {
2020
name="Constructo"
2121
description="Ferramentas fundamentais para qualquer projeto PHP como serialização, validação e testes simplificados."
2222
gradient="bg-gradient-constructo"
23-
icon={<Package className="w-7 h-7 text-white" />}
23+
icon={<Blocks className="w-7 h-7 text-constructo-foreground" />}
2424
docsLink="/docs/constructo"
2525
githubLink="https://github.com/devitools/constructo"
2626
features={[
@@ -35,7 +35,7 @@ const Packages = () => {
3535
name="Serendipity"
3636
description="O pacote ideal para quem quer lidar com o framework Hyperf, simplificando ao máximo a ferramenta baseada no Swoole."
3737
gradient="bg-gradient-serendipity"
38-
icon={<Zap className="w-7 h-7 text-white" />}
38+
icon={<Zap className="w-7 h-7 text-serendipity-foreground" />}
3939
docsLink="/docs/serendipity"
4040
githubLink="https://github.com/devitools/serendipity"
4141
features={[
@@ -50,7 +50,7 @@ const Packages = () => {
5050
name="Effulgence"
5151
description="Extensão do Constructo especificamente otimizada para o framework Laravel, oferecendo ferramentas avançadas."
5252
gradient="bg-gradient-effulgence"
53-
icon={<Layers className="w-7 h-7 text-white" />}
53+
icon={<Layers className="w-7 h-7 text-effulgence-foreground" />}
5454
docsLink="/docs/effulgence"
5555
githubLink="https://github.com/devitools/effulgence"
5656
features={[

src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ All colors MUST be HSL.
118118
--muted: 217.2 32.6% 17.5%;
119119
--muted-foreground: 215 20.2% 65.1%;
120120

121-
--accent: 217.2 32.6% 17.5%;
121+
--accent: 217.2 20% 40%;
122122
--accent-foreground: 210 40% 98%;
123123

124124
/* Package-specific colors for dark mode */

src/pages/Constructo.tsx

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,34 @@ import Footer from "@/components/Footer";
33
import { Button } from "@/components/ui/button";
44
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
55
import { Badge } from "@/components/ui/badge";
6-
import { Code, Download, ExternalLink, CheckCircle, Zap, Settings, Database } from "lucide-react";
6+
import {
7+
Code,
8+
Download,
9+
ExternalLink,
10+
CheckCircle,
11+
Blocks,
12+
Settings,
13+
Database,
14+
} from "lucide-react";
715
import Hero from "@/components/Hero.tsx";
816

917
const Constructo = () => {
1018
const features = [
1119
{
12-
icon: <Settings className="w-6 h-6" />,
13-
title: "Configuração Flexível",
14-
description: "Sistema de configuração poderoso e flexível para suas aplicações PHP",
20+
icon: <Blocks className="w-6 h-6 text-constructo" />,
21+
title: "Serialização Inteligente",
22+
description:
23+
"Converta objetos para arrays/JSON e vice-versa automaticamente com validação integrada",
1524
},
1625
{
17-
icon: <Database className="w-6 h-6" />,
18-
title: "Gestão de Dependências",
19-
description: "Gerenciamento inteligente de dependências e injeção automática",
26+
icon: <Database className="w-6 h-6 text-constructo" />,
27+
title: "Validação Robusta",
28+
description: "Sistema de validação flexível baseado na estrutura das suas classes",
2029
},
2130
{
22-
icon: <Zap className="w-6 h-6" />,
23-
title: "Performance Otimizada",
24-
description: "Construído para máxima performance e eficiência",
31+
icon: <Settings className="w-6 h-6 text-constructo" />,
32+
title: "Testes Simplificados",
33+
description: "Gere dados de teste realistas com base nas suas classes usando Faker",
2534
},
2635
];
2736

src/pages/Effulgence.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
import Header from "@/components/Header";
22
import Footer from "@/components/Footer";
33
import { Button } from "@/components/ui/button";
4-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
4+
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
55
import { Badge } from "@/components/ui/badge";
66
import CodeBlock from "@/components/CodeBlock";
7-
import { Code, Download, ExternalLink, CheckCircle, Layers, Database, Shield } from "lucide-react";
7+
import { CheckCircle, Code, Database, Download, ExternalLink, Layers, Shield } from "lucide-react";
88
import Hero from "@/components/Hero.tsx";
99

1010
const Effulgence = () => {
1111
const features = [
1212
{
13-
icon: <Database className="w-6 h-6" />,
14-
title: "Integração Eloquent",
15-
description: "Integração nativa com Eloquent ORM para desenvolvimento ágil",
13+
icon: <Layers className="w-6 h-6 text-effulgence" />,
14+
title: "Componentes UI",
15+
description: "Biblioteca completa de componentes reutilizáveis e elegantes",
1616
},
1717
{
18-
icon: <Shield className="w-6 h-6" />,
19-
title: "Validação Automática",
20-
description: "Sistema robusto de validação automática para DTOs Laravel",
18+
icon: <Database className="w-6 h-6 text-effulgence" />,
19+
title: "Sistema de Layout",
20+
description: "Sistema de layout flexível e responsivo para suas interfaces",
2121
},
2222
{
23-
icon: <Code className="w-6 h-6" />,
24-
title: "Controllers Simplificados",
25-
description: "Controllers elegantes com menos código boilerplate",
23+
icon: <Shield className="w-6 h-6 text-effulgence" />,
24+
title: "Themes Customizáveis",
25+
description: "Sistema de temas poderoso com suporte a modo escuro automático",
2626
},
2727
];
2828

src/pages/Serendipity.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ import Footer from "@/components/Footer";
33
import { Button } from "@/components/ui/button";
44
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
55
import { Badge } from "@/components/ui/badge";
6-
import { Code, Download, ExternalLink, CheckCircle, Sparkles, Shield, Gauge } from "lucide-react";
6+
import { Code, Download, ExternalLink, CheckCircle, Zap, Shield, Gauge } from "lucide-react";
77
import Hero from "@/components/Hero.tsx";
88

99
const Serendipity = () => {
1010
const features = [
1111
{
12-
icon: <Sparkles className="w-6 h-6" />,
13-
title: "API Elegante",
14-
description: "Interface intuitiva e expressiva para desenvolvimento ágil",
12+
icon: <Zap className="w-6 h-6 text-serendipity" />,
13+
title: "Roteamento Moderno",
14+
description: "Roteamento automático com annotations PHP 8+ para APIs e Workers",
1515
},
1616
{
17-
icon: <Shield className="w-6 h-6" />,
18-
title: "Segurança Integrada",
19-
description: "Proteções automáticas contra vulnerabilidades comuns",
17+
icon: <Shield className="w-6 h-6 text-serendipity" />,
18+
title: "Tratamento de Erros",
19+
description: "Sistema automático de captura e tratamento de erros em background",
2020
},
2121
{
22-
icon: <Gauge className="w-6 h-6" />,
23-
title: "Alta Performance",
24-
description: "Otimizações inteligentes para máxima velocidade",
22+
icon: <Gauge className="w-6 h-6 text-serendipity" />,
23+
title: "Performance Hyperf",
24+
description: "Aproveite toda a performance do Swoole com simplicidade",
2525
},
2626
];
2727

@@ -62,7 +62,7 @@ $router->group(['middleware' => 'auth'], function($router) {
6262
{/* Hero Section */}
6363
<Hero>
6464
<div className="w-20 h-20 bg-gradient-serendipity rounded-3xl mx-auto mb-8 flex items-center justify-center shadow-serendipity">
65-
<Sparkles className="w-10 h-10 text-serendipity-foreground" />
65+
<Zap className="w-10 h-10 text-serendipity-foreground" />
6666
</div>
6767

6868
<h1 className="text-5xl md:text-6xl font-bold mb-6 bg-gradient-hero bg-clip-text text-transparent">

0 commit comments

Comments
 (0)