+ {/* Kontainer utama footer */}
+
+ {/* Kolom 1: Logo perusahaan */}
+
-
-
-
-
+
+ {/* Kolom 2: Deskripsi singkat perusahaan */}
+
+
+
+ Rekan AI {" "}
+
+
+ Reimagine Your Business with AI.
+
+
+
+
+
+
+ {/* Kolom 3: Produk perusahaan */}
+
+
Produk Kami
+
+ Rekan Doku
+ Rekan Veri
+ Rekan HR
+ Rekan LLM
+
+
+
+ {/* Kolom 4: Solusi yang ditawarkan */}
+
+
Solusi Kami
+
+
+ {
+ navigate("/SolusiPersonal");
+ window.scrollTo({ top: 0, behavior: "smooth" });
+ }}
+ className="block w-full text-left"
+ >
+ Personal
+
+
+
+ {
+ navigate("/SolusiStartup");
+ window.scrollTo({ top: 0, behavior: "smooth" });
+ }}
+ className="block w-full text-left">
+ Startup
+
+
+
+ {
+ navigate("/SolusiCorporate");
+ window.scrollTo({ top: 0, behavior: "smooth" });
+ }}
+ className="block w-full text-left">
+ Corporate Business
+
+
+
+
+
+
+ {/* Kolom 5: Informasi kontak */}
+
+
Hubungi Kami
+
+
+ {
+ navigate("/Contact");
+ window.scrollTo({ top: 0, behavior: "smooth" });
+ }}
+ className="block w-full text-left">
+ Kontak Kami
+
+
+
+
+
+ F.A.Q
+
+
+
+
+
+
+ {/* Kolom 6: Partner perusahaan */}
+
+
+
+
+
+
+
+
+ {/* Bagian hak cipta */}
+
+
+ © Copyright 2025 Rekan AI. Seluruh hak cipta dilindungi undang-undang
+
- {/* Bagian hak cipta */}
-
-
- © Copyright 2025 Rekan AI. Seluruh hak cipta dilindungi undang-undang
-
-
);
}
diff --git a/src/components/beranda/Header.jsx b/src/components/beranda/Header.jsx
index 6f0027e..339eada 100644
--- a/src/components/beranda/Header.jsx
+++ b/src/components/beranda/Header.jsx
@@ -7,6 +7,28 @@ const Header = () => {
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
const [isSolusiOpen, setIsSolusiOpen] = useState(false);
const [isProdukOpen, setIsProdukOpen] = useState(false);
+ const [searchQuery, setSearchQuery] = useState("")
+
+ const handleSearch = (e) => {
+ setSearchQuery(e.target.value)
+ }
+
+ const handleSearchSubmit = (e) => {
+ e.preventDefault()
+ const query = searchQuery.toLowerCase()
+
+ // Solutions mapping
+ if (query.includes("solusi personal") || query.includes("personal")) {
+ navigate("/SolusiPersonal")
+ } else if (query.includes("solusi startup") || query.includes("startup")) {
+ navigate("/SolusiStartup")
+ } else if (query.includes("solusi corporate") || query.includes("corporate") || query.includes("business")) {
+ navigate("/SolusiCorporate")
+ }
+
+ window.scrollTo({ top: 0, behavior: "smooth" })
+ setSearchQuery("") // Clear search after submission
+ }
// Referensi untuk mendeteksi klik di luar dropdown
const solusiRef = useRef(null);
@@ -22,6 +44,7 @@ const Header = () => {
setIsProdukOpen(false);
}
}
+
// Tambahkan event listener saat dropdown terbuka
document.addEventListener("mousedown", handleClickOutside);
@@ -72,7 +95,7 @@ const Header = () => {
{isProdukOpen && (
-
+
{/* HR */}
@@ -165,7 +188,7 @@ const Header = () => {
{isSolusiOpen && (
-
+
{/* Personal */}
@@ -235,16 +258,21 @@ const Header = () => {
{/* Search Bar */}
{/* Konsultasi Button */}
diff --git a/src/components/beranda/Kenapa.jsx b/src/components/beranda/Kenapa.jsx
index e0d22cd..7fe0bdc 100644
--- a/src/components/beranda/Kenapa.jsx
+++ b/src/components/beranda/Kenapa.jsx
@@ -49,12 +49,12 @@ function Kenapa() {
alt="Woman with Tablet"
className="w-[300px] h-auto md:w-[654.5px] md:h-[609.67px]"
/>
-
+
{/* Text Section */}
{
{/* LEFT SECTION - Informasi */}