File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { ArrowRight , Brain , Shield , Zap } from 'lucide-react' ;
3
- import { Link } from 'react-router-dom' ;
3
+ import { Link , useNavigate } from 'react-router-dom' ;
4
4
import EditableContent from '../components/EditableContent' ;
5
5
import SEO from '../components/SEO' ;
6
6
7
7
const Home = ( ) => {
8
+ const navigate = useNavigate ( ) ;
9
+
8
10
const handleTryFree = ( ) => {
9
11
window . open ( 'https://91.107.255.176:8080/' , '_blank' ) ;
10
12
} ;
11
13
14
+ const handleGetStarted = ( ) => {
15
+ navigate ( '/request-access' ) ;
16
+ } ;
17
+
12
18
return (
13
19
< >
14
20
< SEO
@@ -42,7 +48,7 @@ const Home = () => {
42
48
/>
43
49
< div className = "flex flex-col sm:flex-row gap-4" >
44
50
< button
45
- onClick = { handleTryFree }
51
+ onClick = { handleGetStarted }
46
52
className = "inline-flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-blue-700 bg-white hover:bg-gray-50 transition-colors"
47
53
>
48
54
< EditableContent
You can’t perform that action at this time.
0 commit comments