This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2023-08-30 16:44:44 -07:00

33 lines
885 B
JavaScript

import Button from "../buttons/Button.jsx";
const SectionTwo = ({
buttonText,
buttonLink,
text,
}) => {
return (
<>
<div
id="contact"
className="relative z-10 h-screen w-screen bg-black" // Added bg-black class
>
<div className="absolute inset-0 z-0">
{/* ... */}
</div>
<div className="relative flex flex-col items-center justify-center h-full">
<div className="relative flex justify-center items-end w-full mb-20">
<h1 className="lg:text-5xl md:text-4xl sm:text-3xl text-3xl text-center text-white break-normal">
{text}
</h1>
</div>
<div className="flex justify-start space-x-4">
<Button buttonText={buttonText} buttonLink={buttonLink} />
</div>
</div>
</div>
</>
);
};
export default SectionTwo;