@@ -5,24 +5,25 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com
55import { Badge } from "@/components/ui/badge" ;
66import CodeBlock from "@/components/CodeBlock" ;
77import { Code , Download , ExternalLink , CheckCircle , Layers , Database , Shield } from "lucide-react" ;
8+ import Hero from "@/components/Hero.tsx" ;
89
910const Effulgence = ( ) => {
1011 const features = [
1112 {
1213 icon : < Database className = "w-6 h-6" /> ,
1314 title : "Integração Eloquent" ,
14- description : "Integração nativa com Eloquent ORM para desenvolvimento ágil"
15+ description : "Integração nativa com Eloquent ORM para desenvolvimento ágil" ,
1516 } ,
1617 {
1718 icon : < Shield className = "w-6 h-6" /> ,
1819 title : "Validação Automática" ,
19- description : "Sistema robusto de validação automática para DTOs Laravel"
20+ description : "Sistema robusto de validação automática para DTOs Laravel" ,
2021 } ,
2122 {
2223 icon : < Code className = "w-6 h-6" /> ,
2324 title : "Controllers Simplificados" ,
24- description : "Controllers elegantes com menos código boilerplate"
25- }
25+ description : "Controllers elegantes com menos código boilerplate" ,
26+ } ,
2627 ] ;
2728
2829 const codeExample = `<?php
@@ -60,44 +61,42 @@ class UserController extends BaseController
6061}` ;
6162
6263 return (
63- < div className = "min-h-screen" style = { { background : ' var(--gradient-background)' } } >
64+ < div className = "min-h-screen" style = { { background : " var(--gradient-background)" } } >
6465 < Header />
65-
66+
6667 { /* Hero Section */ }
67- < section className = "py-20 px-6" >
68- < div className = "container mx-auto text-center" >
69- < div className = "w-20 h-20 bg-gradient-success rounded-3xl mx-auto mb-8 flex items-center justify-center shadow-elegant" >
70- < Layers className = "w-10 h-10 text-success-foreground" />
71- </ div >
72-
73- < h1 className = "text-5xl md:text-6xl font-bold mb-6 bg-gradient-hero bg-clip-text text-transparent" >
74- Effulgence
75- </ h1 >
76-
77- < p className = "text-xl text-muted-foreground mb-8 max-w-3xl mx-auto" >
78- Extensão Laravel para Constructo. Desenvolvimento elegante e produtivo
79- com validação automática, serialização inteligente e integração nativa.
80- </ p >
81-
82- < div className = "flex flex-col sm:flex-row gap-4 justify-center mb-12" >
83- < Button size = "lg" className = "bg-gradient-success shadow-elegant" >
84- < Download className = "w-5 h-5 mr-2" />
85- Instalar via Composer
86- </ Button >
87- < Button variant = "outline" size = "lg" >
88- < ExternalLink className = "w-5 h-5 mr-2" />
89- Ver no GitHub
90- </ Button >
91- </ div >
92-
93- < div className = "flex flex-wrap justify-center gap-2" >
94- < Badge variant = "secondary" > Laravel 8+</ Badge >
95- < Badge variant = "secondary" > PHP 8.1+</ Badge >
96- < Badge variant = "secondary" > Eloquent</ Badge >
97- < Badge variant = "secondary" > DTOs</ Badge >
98- </ div >
68+ < Hero >
69+ < div className = "w-20 h-20 bg-gradient-success rounded-3xl mx-auto mb-8 flex items-center justify-center shadow-elegant" >
70+ < Layers className = "w-10 h-10 text-success-foreground" />
9971 </ div >
100- </ section >
72+
73+ < h1 className = "text-5xl md:text-6xl font-bold mb-6 bg-gradient-hero bg-clip-text text-transparent" >
74+ Effulgence
75+ </ h1 >
76+
77+ < p className = "text-xl text-muted-foreground mb-8 max-w-3xl mx-auto" >
78+ Extensão Laravel para Constructo. Desenvolvimento elegante e produtivo com validação
79+ automática, serialização inteligente e integração nativa.
80+ </ p >
81+
82+ < div className = "flex flex-col sm:flex-row gap-4 justify-center mb-12" >
83+ < Button size = "lg" className = "bg-gradient-success shadow-elegant" >
84+ < Download className = "w-5 h-5 mr-2" />
85+ Instalar via Composer
86+ </ Button >
87+ < Button variant = "outline" size = "lg" >
88+ < ExternalLink className = "w-5 h-5 mr-2" />
89+ Ver no GitHub
90+ </ Button >
91+ </ div >
92+
93+ < div className = "flex flex-wrap justify-center gap-2" >
94+ < Badge variant = "secondary" > Laravel 8+</ Badge >
95+ < Badge variant = "secondary" > PHP 8.1+</ Badge >
96+ < Badge variant = "secondary" > Eloquent</ Badge >
97+ < Badge variant = "secondary" > DTOs</ Badge >
98+ </ div >
99+ </ Hero >
101100
102101 { /* Installation */ }
103102 < section className = "py-16 px-6 bg-card/30" >
@@ -106,7 +105,7 @@ class UserController extends BaseController
106105 < h2 className = "text-3xl font-bold mb-4" > Instalação Rápida</ h2 >
107106 < p className = "text-muted-foreground" > Integre o Effulgence ao seu projeto Laravel</ p >
108107 </ div >
109-
108+
110109 < Card className = "max-w-2xl mx-auto" >
111110 < CardHeader >
112111 < CardTitle className = "flex items-center" >
@@ -132,7 +131,7 @@ class UserController extends BaseController
132131 O poder do Constructo integrado ao Laravel
133132 </ p >
134133 </ div >
135-
134+
136135 < div className = "grid md:grid-cols-3 gap-8" >
137136 { features . map ( ( feature , index ) => (
138137 < Card key = { index } className = "p-6 hover:shadow-elegant transition-all duration-300" >
@@ -152,15 +151,12 @@ class UserController extends BaseController
152151 < div className = "container mx-auto" >
153152 < div className = "text-center mb-12" >
154153 < h2 className = "text-3xl font-bold mb-4" > Exemplo de Uso</ h2 >
155- < p className = "text-muted-foreground" > Veja como criar controllers elegantes com Effulgence</ p >
154+ < p className = "text-muted-foreground" >
155+ Veja como criar controllers elegantes com Effulgence
156+ </ p >
156157 </ div >
157-
158- < CodeBlock
159- title = "DTOs e Controllers"
160- language = "php"
161- gradient = "success"
162- size = "md"
163- >
158+
159+ < CodeBlock title = "DTOs e Controllers" language = "php" gradient = "success" size = "md" >
164160 { codeExample }
165161 </ CodeBlock >
166162 </ div >
@@ -172,7 +168,7 @@ class UserController extends BaseController
172168 < div className = "text-center mb-16" >
173169 < h2 className = "text-4xl font-bold mb-4" > Por que Effulgence?</ h2 >
174170 </ div >
175-
171+
176172 < div className = "grid md:grid-cols-2 gap-8 max-w-4xl mx-auto" >
177173 < div className = "flex items-start space-x-4" >
178174 < CheckCircle className = "w-6 h-6 text-success mt-1 flex-shrink-0" />
@@ -181,23 +177,23 @@ class UserController extends BaseController
181177 < p className = "text-muted-foreground" > Redução significativa de código boilerplate</ p >
182178 </ div >
183179 </ div >
184-
180+
185181 < div className = "flex items-start space-x-4" >
186182 < CheckCircle className = "w-6 h-6 text-success mt-1 flex-shrink-0" />
187183 < div >
188184 < h3 className = "font-semibold mb-2" > Validação Robusta</ h3 >
189185 < p className = "text-muted-foreground" > Sistema de validação automática e confiável</ p >
190186 </ div >
191187 </ div >
192-
188+
193189 < div className = "flex items-start space-x-4" >
194190 < CheckCircle className = "w-6 h-6 text-success mt-1 flex-shrink-0" />
195191 < div >
196192 < h3 className = "font-semibold mb-2" > Serialização Inteligente</ h3 >
197193 < p className = "text-muted-foreground" > Conversão automática entre Models e DTOs</ p >
198194 </ div >
199195 </ div >
200-
196+
201197 < div className = "flex items-start space-x-4" >
202198 < CheckCircle className = "w-6 h-6 text-success mt-1 flex-shrink-0" />
203199 < div >
@@ -214,4 +210,4 @@ class UserController extends BaseController
214210 ) ;
215211} ;
216212
217- export default Effulgence ;
213+ export default Effulgence ;
0 commit comments