import { useParams } from 'react-router-dom';
import BinarySearchTrick from '@/components/BinarySearchTrick';
import GreenScreenWrapper from '@/components/GreenScreenWrapper';

const BinarySearchTrickGreenScreen = () => {
  const { mode } = useParams<{ mode: 'gs-lite' | 'gs-dark' }>();
  const greenScreenMode = mode === 'gs-dark' ? 'dark' : 'lite';

  return (
    <GreenScreenWrapper mode={greenScreenMode}>
      <div className="space-y-6">
        <BinarySearchTrick showSocialShare={false} />
      </div>
    </GreenScreenWrapper>
  );
};

export default BinarySearchTrickGreenScreen;