"use client";

import React from "react";

interface ContactSplitProps {
  title: string;
  description: string;
}

export const ContactSplit: React.FC<ContactSplitProps> = ({
  title,
  description,
}) => {
  const handleSubmit = (e: React.FormEvent) => {
    e.preventDefault();
    console.log("Form submitted");
  };

  return (
    <form onSubmit={handleSubmit} className="contact-split">
      <h2 className="text-2xl font-bold">{title}</h2>
      <p className="text-base">{description}</p>
    </form>
  );
};

export default ContactSplit;
