import React, { useEffect } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { Shield, LayoutDashboard, LogOut } from 'lucide-react'; export default function Header() { const navigate = useNavigate(); useEffect(() => { // Inject the Google CSE script dynamically const script = document.createElement('script'); script.src = "https://cse.google.com/cse.js?cx=a5402f5fbb52144cb"; script.async = true; document.head.appendChild(script); return () => { // Cleanup script if necessary when component unmounts document.head.removeChild(script); }; }, []); return (
{/* Logo */}
CAWNCADE AI Context-Aware Verification
{/* Google Search Bar - Center Integration */}
{/* Nav */}
); }