11import Footer from "@/components/Footer" ;
22import Header from "@/components/Header" ;
33import Hero from "@/components/Hero.tsx" ;
4- import { Badge } from "@/components/ui/badge" ;
5- import { Button } from "@/components/ui/button" ;
4+ import Benefits from "@/components/packages/Benefits.tsx" ;
5+ import CodeExamples from "@/components/packages/CodeExamples.tsx" ;
6+
7+ import Features from "@/components/packages/Features.tsx" ;
8+ import Installation from "@/components/packages/Installation.tsx" ;
9+ import UseCases from "@/components/packages/UseCases.tsx" ;
10+ import { Badge } from "@/components/ui/badge.tsx" ;
11+ import { Button } from "@/components/ui/button.tsx" ;
12+ import { scrollTo } from "@/lib/utils.ts" ;
613import {
714 Blocks ,
815 Cog ,
@@ -17,15 +24,9 @@ import {
1724 Zap ,
1825} from "lucide-react" ;
1926
20- import Features from "@/components/packages/Features.tsx" ;
21- import CodeExamples from "@/components/packages/CodeExamples.tsx" ;
22- import UseCases from "@/components/packages/UseCases.tsx" ;
23- import Benefits from "@/components/packages/Benefits.tsx" ;
24- import Installation from "@/components/packages/Installation.tsx" ;
25-
2627const Constructo = ( ) => {
2728 const handleInstallClick = ( ) => {
28- navigator . clipboard . writeText ( "composer require devitools/constructo ") ;
29+ scrollTo ( "installation ") ;
2930 } ;
3031
3132 const handleGithubClick = ( ) => {
0 commit comments