From a9ec7e947ff803f19b87c8080cc0252aec770bf3 Mon Sep 17 00:00:00 2001 From: arraysid Date: Tue, 27 May 2025 09:11:52 +0700 Subject: [PATCH] feat: add CTASection component with interactive elements and background pattern --- .../(home)/_components/cta-section.tsx | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 apps/landing/src/app/(public)/(home)/_components/cta-section.tsx diff --git a/apps/landing/src/app/(public)/(home)/_components/cta-section.tsx b/apps/landing/src/app/(public)/(home)/_components/cta-section.tsx new file mode 100644 index 0000000..d30742b --- /dev/null +++ b/apps/landing/src/app/(public)/(home)/_components/cta-section.tsx @@ -0,0 +1,92 @@ +'use client'; + +import { LogoSimple } from '@/app/_components/logo'; +import { motion, useInView } from 'framer-motion'; +import { useRef } from 'react'; +import { FaArrowRight } from 'react-icons/fa'; + +export function CTASection() { + const ref = useRef(null); + const isInView = useInView(ref, { once: true, amount: 0.2 }); + + return ( +
+ {/* Background pattern */} +
+ +
+
+ {/* Text Content */} +
+ +

+ Let's go + + SAAT + NYA + + KAMU JOIN! +

+
+ + + Jadilah bagian dari komunitas developer terbesar di Indonesia. + Tingkatkan skill, perluas jaringan, dan raih kesempatan karir + bersama kami! + + + + + Join Sekarang + + + +
+ + {/* Illustration */} + +
+
+
+
+ +
+

180.000+

+

Programmer Sudah Bergabung

+
+
+
+
+
+
+
+
+ ); +}