1- import React , { useEffect , useRef } from ' react' ;
1+ import React , { useEffect , useRef } from " react" ;
22
33export const CallToAction : React . FC = ( ) => {
44 const sectionRef = useRef < HTMLDivElement > ( null ) ;
5-
5+
66 useEffect ( ( ) => {
77 const observer = new IntersectionObserver (
88 ( [ entry ] ) => {
99 if ( entry . isIntersecting ) {
10- entry . target . classList . add ( ' opacity-100' , ' translate-y-0' ) ;
10+ entry . target . classList . add ( " opacity-100" , " translate-y-0" ) ;
1111 observer . unobserve ( entry . target ) ;
1212 }
1313 } ,
1414 {
1515 threshold : 0.1 ,
1616 }
1717 ) ;
18-
18+
1919 if ( sectionRef . current ) {
2020 observer . observe ( sectionRef . current ) ;
2121 }
22-
22+
2323 return ( ) => {
2424 if ( sectionRef . current ) {
2525 observer . unobserve ( sectionRef . current ) ;
2626 }
2727 } ;
2828 } , [ ] ) ;
29-
29+
3030 return (
31- < section
31+ < section
3232 ref = { sectionRef }
3333 className = "py-20 bg-gray-900 text-white opacity-0 translate-y-10 transition-all duration-1000 ease-out"
3434 >
@@ -38,45 +38,80 @@ export const CallToAction: React.FC = () => {
3838 Ready to experience secure file transfers on Solana?
3939 </ h2 >
4040 < p className = "text-xl text-gray-300 mb-10" >
41- Join our platform today and start sending files with unparalleled security and privacy.
41+ Join our platform today and start sending files with unparalleled
42+ security and privacy.
4243 </ p >
43-
44+
4445 < div className = "flex flex-col sm:flex-row justify-center gap-4" >
45- < button className = "bg-[#feffaf] text-gray-900 px-8 py-4 rounded-md hover:bg-white transition-colors text-lg font-medium" >
46- Get Started Now
46+ < button
47+ onClick = { ( ) => {
48+ window . location . href = "https://docs.zk-lokomotive.xyz" ;
49+ } }
50+ className = "bg-[#feffaf] text-gray-900 px-8 py-4 rounded-md hover:bg-white transition-colors text-lg font-medium"
51+ >
52+ Learn More
4753 </ button >
48- < button className = "border border-white px-8 py-4 rounded-md hover:bg-white hover:text-gray-900 transition-colors text-lg" >
54+ < button
55+ onClick = { ( ) => {
56+ window . location . href = "mailto:info@zk-lokomotive.xyz" ;
57+ } }
58+ className = "border border-white px-8 py-4 rounded-md hover:bg-white hover:text-gray-900 transition-colors text-lg"
59+ >
4960 Schedule a Demo
5061 </ button >
5162 </ div >
52-
63+
5364 < div className = "mt-16 grid md:grid-cols-3 gap-8" >
5465 < div className = "border border-gray-700 rounded-lg p-6" >
55- < div className = "text-2xl font-bold text-[#feffaf] mb-2" > Developers</ div >
66+ < div className = "text-2xl font-bold text-[#feffaf] mb-2" >
67+ Developers
68+ </ div >
5669 < p className = "text-gray-300 mb-4" >
57- Integrate zkλ technology into your applications with our comprehensive API and SDKs.
70+ Integrate zkλ technology into your applications with our
71+ comprehensive API and SDKs.
5872 </ p >
59- < a href = "#" className = "text-[#feffaf] hover:underline inline-block mt-2" > View Documentation →</ a >
73+ < a
74+ href = "https://docs.zk-lokomotive.xyz"
75+ className = "text-[#feffaf] hover:underline inline-block mt-2"
76+ >
77+ View Documentation →
78+ </ a >
6079 </ div >
61-
80+
6281 < div className = "border border-gray-700 rounded-lg p-6" >
63- < div className = "text-2xl font-bold text-[#feffaf] mb-2" > Enterprise</ div >
82+ < div className = "text-2xl font-bold text-[#feffaf] mb-2" >
83+ Enterprise
84+ </ div >
6485 < p className = "text-gray-300 mb-4" >
65- Custom solutions for businesses requiring secure file sharing with enhanced features.
86+ Custom solutions for businesses requiring secure file sharing
87+ with enhanced features.
6688 </ p >
67- < a href = "#" className = "text-[#feffaf] hover:underline inline-block mt-2" > Contact Sales →</ a >
89+ < a
90+ href = "mailto:info@zk-lokomotive.xyz"
91+ className = "text-[#feffaf] hover:underline inline-block mt-2"
92+ >
93+ Contact Sales →
94+ </ a >
6895 </ div >
69-
96+
7097 < div className = "border border-gray-700 rounded-lg p-6" >
71- < div className = "text-2xl font-bold text-[#feffaf] mb-2" > Individuals</ div >
98+ < div className = "text-2xl font-bold text-[#feffaf] mb-2" >
99+ Individuals
100+ </ div >
72101 < p className = "text-gray-300 mb-4" >
73- Simple and secure file transfers for personal use with end-to-end encryption.
102+ Simple and secure file transfers for personal use with
103+ end-to-end encryption.
74104 </ p >
75- < a href = "#" className = "text-[#feffaf] hover:underline inline-block mt-2" > Create Account →</ a >
105+ < a
106+ href = "#"
107+ className = "text-[#feffaf] hover:underline inline-block mt-2"
108+ >
109+ Coming Soon...
110+ </ a >
76111 </ div >
77112 </ div >
78113 </ div >
79114 </ div >
80115 </ section >
81116 ) ;
82- } ;
117+ } ;
0 commit comments