Skip to content

Commit

Permalink
update Hero.tsx with button
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohitha-pudu committed Jun 3, 2024
1 parent 896b906 commit 8b6eac1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import '../styles/hero.css'
import About from "./About";
import HomePagePost from "./HomePagePosts";
import { TypewriterEffectSmoothDemo } from "../components/HeroText";
import MagicButton from "../components/ui/MagicButton";

function Home() {
return (
Expand All @@ -24,8 +25,8 @@ function Home() {
</p>
<Link
to="/app/posts"
className=' bg-gradient-to-r from-blue-700 to-blue-500 hover:from-blue-600 hover:to-blue-400 text-white py-3 px-6 rounded-md shadow-md transition-transform transform hover:-translate-y-1 hover:shadow-lg w-[150px] text-center font-medium my-6 mx-auto md:mx-0' >
Explore Now
className=' text-white mt-9' >
<MagicButton title="Explore Now"/>
</Link>
</div>
<img className="w-[600px] imgAnimate" src={hero} alt="About Us" />
Expand Down

0 comments on commit 8b6eac1

Please sign in to comment.