import React from 'react'
import Link from "next/link";

const Breadcrumb = ({name = "Page"}) => {
    return (
        <div className="bradcumb py-12 bg-[url(/img/slide-bg.jpg)] bg-right bg-cover bg-no-repeat relativ">
            <div className="container">
                <div className="row">
                    <h1 className="text-center text-black mb-2 text-[40px]">{name}</h1>

                    <ul className="flex justify-center">
                        <li className="mr-2"><Link href="/" className="text-black">Home</Link></li>
                        <li className="text-black mr-2">/</li>
                        <li className="text-black mr-2">{name}</li>
                    </ul>
                </div>
            </div>
        </div>
    )
}

export default Breadcrumb