Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
biswa-ganguly committed Oct 24, 2024
1 parent c333fc5 commit 1864d8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Brandcard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ const Brandcard = ({ img, heading, subheading1, subheading2, link }) => {

<div className="absolute inset-0 bg-black opacity-0 group-hover:opacity-20 transition-opacity duration-300 ease-in-out"></div>

<div className="text-5xl text-left text-white lg:tracking-wider absolute top-[12%] left-5 z-10 cinzel-font transition-all duration-300 ease-in-out group-hover:translate-x-2">
<div className="text-4xl md:text-5xl text-left text-white lg:tracking-wider absolute top-[12%] left-5 z-10 cinzel-font transition-all duration-300 ease-in-out group-hover:translate-x-2">
{heading}
<p className="text-lg font-sans pt-1 transition-all duration-300 ease-in-out opacity-0 group-hover:opacity-100 translate-y-2 group-hover:translate-y-0">
{subheading1} <p>{subheading2}</p>
<p className="text-base md:text-lg font-sans pt-1 transition-all duration-300 ease-in-out opacity-0 group-hover:opacity-100 translate-y-2 group-hover:translate-y-0">
{subheading1} <span>{subheading2}</span>
</p>

<div className="relative inline-block">
<p className="text-lg font-sans font-semibold transition-all duration-300 ease-in-out group-hover:text-yellow-300">
<p className="text-base lg:text-lg font-sans font-semibold transition-all duration-300 ease-in-out group-hover:text-yellow-300">
Explore <span className="ml-1 transition-all duration-300 ease-in-out group-hover:ml-2"></span>
</p>
<span className="absolute bottom-0 left-0 w-0 h-0.5 bg-yellow-300 transition-all duration-300 ease-in-out group-hover:w-full"></span>
Expand All @@ -31,4 +31,4 @@ const Brandcard = ({ img, heading, subheading1, subheading2, link }) => {
);
};

export default Brandcard;
export default Brandcard;

0 comments on commit 1864d8b

Please sign in to comment.