>
diff --git a/src/components/contact/FAQSection.jsx b/src/components/contact/FAQSection.jsx
index ba7e200..6b2883a 100644
--- a/src/components/contact/FAQSection.jsx
+++ b/src/components/contact/FAQSection.jsx
@@ -1,6 +1,17 @@
-import { useState } from "react";
+import { useState, useEffect } from "react";
+import { useLocation } from "react-router-dom";
const FAQ = () => {
+ const location = useLocation();
+
+ useEffect(() => {
+ if (location.hash) {
+ const element = document.querySelector(location.hash);
+ if (element) {
+ element.scrollIntoView({ behavior: "smooth" });
+ }
+ }
+ }, [location]);
// State untuk menyimpan indeks pertanyaan yang sedang dibuka
// Jika tidak ada pertanyaan yang terbuka, nilai adalah null
const [openQuestion, setOpenQuestion] = useState(null);
@@ -111,7 +122,7 @@ const FAQ = () => {
];
return (
-
+
{/* Judul halaman FAQ */}
diff --git a/src/components/contact/FormSection.jsx b/src/components/contact/FormSection.jsx
index 9222f38..9122826 100644
--- a/src/components/contact/FormSection.jsx
+++ b/src/components/contact/FormSection.jsx
@@ -1,11 +1,29 @@
-import { img10 } from "./asset";
+import { img10 } from "./asset"; // Pastikan img10 ada dan benar path-nya
+import ReCAPTCHA from "react-google-recaptcha"; // Pastikan penulisan benar (ReCAPTCHA)
+import useRecaptcha from './Recaptcha/useRecaptcha';
+import { useLocation } from "react-router-dom";
+import { useEffect } from "react";
const ContactForm = () => {
+ const { capchaToken, handleRecaptcha } = useRecaptcha();
+
+ const location = useLocation();
+
+ useEffect(() => {
+ if (location.hash) {
+ const element = document.querySelector(location.hash);
+ if (element) {
+ element.scrollIntoView({ behavior: "smooth" });
+ }
+ }
+ }, [location]);
+
return (
{
{/* Bagian Kiri */}
- {/* Judul utama */}
- Isi formulir di samping ini dan kami akan menghubungi Anda secepat
- mungkin
+ Isi formulir di samping ini dan kami akan menghubungi Anda secepat mungkin
-
- {/* Deskripsi tambahan */}
- Kami percaya bahwa kolaborasi adalah kunci kesuksesan. Hubungi kami
- hari ini, dan mari wujudkan masa depan bisnis Anda bersama Rekan AI!
+ Kami percaya bahwa kolaborasi adalah kunci kesuksesan. Hubungi kami hari ini, dan mari wujudkan masa depan bisnis Anda bersama Rekan AI!
{/* Bagian Form */}
-
-
-
-
- {/* Judul form */}
+
Hubungi Tim Terbaik Kami
- {/* Deskripsi form */}
Silakan isi data diri Anda pada formulir di bawah ini
- {/* Formulir input */}
diff --git a/src/components/solusi/HeadPersonal/HeadPersonal.jsx b/src/components/solusi/HeadPersonal/HeadPersonal.jsx
index 013255d..76bced6 100644
--- a/src/components/solusi/HeadPersonal/HeadPersonal.jsx
+++ b/src/components/solusi/HeadPersonal/HeadPersonal.jsx
@@ -1,4 +1,5 @@
import { component11, wagreen, start22 } from "../asset";
+import { Link } from "react-router-dom";
export default function HeadPersonal() {
return (
@@ -6,7 +7,7 @@ export default function HeadPersonal() {
{/* Left Column */}
- {/* Logo and Tagline */}
+ {/* Logo and Tagline */}
@@ -42,13 +43,16 @@ export default function HeadPersonal() {
{/* Buttons - Ensure they come last on mobile */}
-
-
+
+
Konsultasi Gratis
-
- Coba Sekarang
-
+
+
+ Coba Sekarang
+
+
+
diff --git a/src/components/solusi/HeadStartup/HeadStartup.jsx b/src/components/solusi/HeadStartup/HeadStartup.jsx
index 245fc23..91ca8f2 100644
--- a/src/components/solusi/HeadStartup/HeadStartup.jsx
+++ b/src/components/solusi/HeadStartup/HeadStartup.jsx
@@ -1,5 +1,5 @@
import { component11, wagreen, hs } from "../asset";
-
+import { Link } from "react-router-dom";
export default function HeadPersonal() {
return (
@@ -44,9 +44,11 @@ export default function HeadPersonal() {
Konsultasi Gratis
+
Coba Sekarang
+
diff --git a/src/components/solusi/MengapaCorporate/MengapaCorporate.jsx b/src/components/solusi/MengapaCorporate/MengapaCorporate.jsx
index 502655e..39443fe 100644
--- a/src/components/solusi/MengapaCorporate/MengapaCorporate.jsx
+++ b/src/components/solusi/MengapaCorporate/MengapaCorporate.jsx
@@ -1,8 +1,8 @@
+import { Link } from "react-router-dom"
import { chek2, wagreen, start33, start44, start55 } from "../asset"
-
function Kenapa() {
return (
-
+
{/* Image Section */}
@@ -15,9 +15,9 @@ function Kenapa() {
{/* Text Section */}
-
Mengapa Rekan AI untuk Corporate Business?
-
- Rekan AI dirancang khusus untuk mendukung kebutuhan bisnis berskala besar dengan menghadirkan solusi yang dapat meningkatkan efisiensi, mempercepat proses, dan membantu pengambilan keputusan strategis. Dengan teknologi mutakhir yang fleksibel dan aman, Rekan AI menjadi mitra terpercaya dalam perjalanan transformasi digital perusahaan Anda.
+
Mengapa Rekan AI untuk Corporate Business?
+
+ Rekan AI dirancang khusus untuk mendukung kebutuhan bisnis berskala besar dengan menghadirkan solusi yang dapat meningkatkan efisiensi, mempercepat proses, dan membantu pengambilan keputusan strategis. Dengan teknologi mutakhir yang fleksibel dan aman, Rekan AI menjadi mitra terpercaya dalam perjalanan transformasi digital perusahaan Anda.
@@ -41,9 +41,11 @@ function Kenapa() {
/>
Konsultasi Gratis
-
- Coba Sekarang
-
+
+
+ Coba Sekarang
+
+
diff --git a/src/components/solusi/MengapaStartup/MengapaStartup.jsx b/src/components/solusi/MengapaStartup/MengapaStartup.jsx
index 17f7f54..6a86a2f 100644
--- a/src/components/solusi/MengapaStartup/MengapaStartup.jsx
+++ b/src/components/solusi/MengapaStartup/MengapaStartup.jsx
@@ -1,8 +1,8 @@
+import { Link } from "react-router-dom"
import { chek2, wagreen, start44 } from "../asset"
-
function Kenapa() {
return (
-
+
{/* Image Section */}
@@ -15,8 +15,8 @@ function Kenapa() {
{/* Text Section */}
-
Kenapa Memilih Rekan AI untuk Startup Anda?
-
+
Kenapa Memilih Rekan AI untuk Startup Anda?
+
Startup adalah tulang punggung perekonomian, dan Rekan AI hadir untuk memberdayakan pelaku usaha agar dapat bersaing di era digital. Dengan solusi berbasis AI, kami membantu usaha kecil dan menengah mencapai efisiensi yang lebih baik, memperluas jangkauan pasar, dan meningkatkan kepuasan pelanggan.
@@ -43,9 +43,11 @@ function Kenapa() {
/>
Konsultasi Gratis
+
Coba Sekarang
+
diff --git a/src/components/solusi/MengapapPersonal/MengapapPersonal.jsx b/src/components/solusi/MengapapPersonal/MengapapPersonal.jsx
index 67d2d0a..ba0b6ff 100644
--- a/src/components/solusi/MengapapPersonal/MengapapPersonal.jsx
+++ b/src/components/solusi/MengapapPersonal/MengapapPersonal.jsx
@@ -1,8 +1,8 @@
import { chek2, wagreen, start33 } from "../asset"
-
+import { Link } from "react-router-dom"
function Kenapa() {
return (
-
+
{/* Image Section */}
@@ -15,8 +15,8 @@ function Kenapa() {
{/* Text Section */}
-
Mengapa Memilih Rekan AI untuk Penggunaan Pribadi?
-
+
Mengapa Memilih Rekan AI untuk Penggunaan Pribadi?
+
Rekan AI hadir untuk memberikan kemudahan dan efisiensi bagi individu yang ingin memanfaatkan kecerdasan
buatan dalam kehidupan sehari-hari. Apakah Anda ingin meningkatkan produktivitas, mengelola data dengan
aman, atau membuat keputusan yang lebih cerdas, Rekan AI adalah solusi tepat yang dirancang khusus untuk
@@ -46,9 +46,11 @@ function Kenapa() {
/>
Konsultasi Gratis
-
- Coba Sekarang
-
+
+
+ Coba Sekarang
+
+