import HeadTitle from "../../head-title";
import Services from "./services";
import Hospitals from "./hospitals";

function Home({user}) {
    return(
        <div className="flex flex-col gap-6">
            <HeadTitle title="Accueil"/>
            <div className="flex flex-row justify-between">
                <div className="flex flex-col gap-6 w-1/2 items-center">
                    <div className="text-2xl">
                        <h2>Affectation</h2>
                    </div>
                    <div className="flex flex-row gap-4 w-full">
                        <Services user={user}/>
                        <Hospitals user={user}/>
                    </div>
                </div>
                <div className="flex flex-col gap-6 w-1/2 items-center">

                </div>
            </div>
        </div>
    );
}

export default Home;