Skip to content

Commit

Permalink
fixed hero section view
Browse files Browse the repository at this point in the history
  • Loading branch information
CatherineKiiru committed Aug 24, 2023
1 parent 46fe140 commit 2b7ae66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import heroImage from "../assets/images/hero-image.png";
function Hero() {
return (
<div className="h-[60vh] md:h-full bg-gradient-to-r from-orange-50 to-lime-50">
<div className=" flex justify-center">
<div className="flex justify-center">
<img src={heroImage} className="object-cover md:py-0" alt="map-vector" />
<div className="absolute md:space-x-6 mt-[70%] md:mt-[28rem] flex flex-col md:block">
<div className="absolute md:space-x-6 mt-[60%] md:mt-[28rem] flex flex-col md:block">
<button className="bg-white rounded-md px-6 py-2 shadow-md">Submit Project</button>
<button className="bg-green rounded-md text-white px-12 mt-2 py-2 shadow-md">Explore</button>
</div>
Expand Down

0 comments on commit 2b7ae66

Please sign in to comment.