Skip to content

Commit bab3401

Browse files
committed
Update source files to new version
1 parent 66b74cf commit bab3401

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/Home.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
import React from 'react';
22
import { ArrowRight, Brain, Shield, Zap } from 'lucide-react';
3-
import { Link } from 'react-router-dom';
3+
import { Link, useNavigate } from 'react-router-dom';
44
import EditableContent from '../components/EditableContent';
55
import SEO from '../components/SEO';
66

77
const Home = () => {
8+
const navigate = useNavigate();
9+
810
const handleTryFree = () => {
911
window.open('https://91.107.255.176:8080/', '_blank');
1012
};
1113

14+
const handleGetStarted = () => {
15+
navigate('/request-access');
16+
};
17+
1218
return (
1319
<>
1420
<SEO
@@ -42,7 +48,7 @@ const Home = () => {
4248
/>
4349
<div className="flex flex-col sm:flex-row gap-4">
4450
<button
45-
onClick={handleTryFree}
51+
onClick={handleGetStarted}
4652
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"
4753
>
4854
<EditableContent

0 commit comments

Comments
 (0)