@@ -23,16 +23,32 @@ import {
2323} from "lucide-react" ;
2424
2525const Constructo = ( ) => {
26+ const handleInstallClick = ( ) => {
27+ navigator . clipboard . writeText ( "composer require devitools/constructo" ) ;
28+ } ;
29+
30+ const handleGithubClick = ( ) => {
31+ window . open ( "https://github.com/devitools/constructo" , "_blank" ) ;
32+ } ;
33+
34+ const handlePackagistClick = ( ) => {
35+ window . open ( "https://packagist.org/packages/devitools/constructo" , "_blank" ) ;
36+ } ;
37+
38+ const handleDocsClick = ( ) => {
39+ window . open ( "/docs/constructo" , "_blank" ) ;
40+ } ;
41+
2642 const features = [
2743 {
2844 icon : < Blocks className = "w-6 h-6 text-constructo-foreground" /> ,
29- title : "Codec Inteligente" ,
30- description : "Converta objetos para arrays e vice-versa sem nenhuma configuração " ,
45+ title : "Serialização Inteligente" ,
46+ description : "Converta arrays em instâncias usando apenas os tipos da classe " ,
3147 } ,
3248 {
3349 icon : < Database className = "w-6 h-6 text-constructo-foreground" /> ,
34- title : "Validação Robusta " ,
35- description : "Sistema de validação flexível baseado na estrutura das suas classes " ,
50+ title : "Desserialização Eficiente " ,
51+ description : "Converta objetos em arrays formatando valores automaticamente " ,
3652 } ,
3753 {
3854 icon : < TestTube className = "w-6 h-6 text-constructo-foreground" /> ,
@@ -80,22 +96,6 @@ const Constructo = () => {
8096 } ,
8197 ] ;
8298
83- const handleInstallClick = ( ) => {
84- navigator . clipboard . writeText ( "composer require devitools/constructo" ) ;
85- } ;
86-
87- const handleGithubClick = ( ) => {
88- window . open ( "https://github.com/devitools/constructo" , "_blank" ) ;
89- } ;
90-
91- const handlePackagistClick = ( ) => {
92- window . open ( "https://packagist.org/packages/devitools/constructo" , "_blank" ) ;
93- } ;
94-
95- const handleDocsClick = ( ) => {
96- window . open ( "/docs/constructo" , "_blank" ) ;
97- } ;
98-
9999 return (
100100 < div className = "min-h-screen" style = { { background : "var(--gradient-background)" } } >
101101 < Header />
0 commit comments