all link to main web link
This commit is contained in:
@@ -348,9 +348,8 @@ export function HeroSection({
|
||||
].map((item) => (
|
||||
<motion.button
|
||||
key={item.action}
|
||||
onClick={() => handleNavClick(item.action)}
|
||||
className={`relative px-0 py-2 text-base font-medium font-poppins transition-all duration-200 whitespace-nowrap group capitalize ${
|
||||
isNavItemActive(item.action)
|
||||
onClick={() => (window.location.href = "https://citycards-website.wdiprojects.com/")}
|
||||
className={`relative px-0 py-2 text-base font-medium font-poppins transition-all duration-200 whitespace-nowrap group capitalize ${isNavItemActive(item.action)
|
||||
? 'text-primary'
|
||||
: 'text-foreground hover:text-primary'
|
||||
}`}
|
||||
@@ -386,11 +385,12 @@ export function HeroSection({
|
||||
|
||||
{/* Our Products */}
|
||||
<button
|
||||
onClick={() => handleNavClick('products')}
|
||||
onClick={() => (window.location.href = "https://citycards-website.wdiprojects.com/")}
|
||||
className="flex items-center text-foreground hover:text-primary text-base font-medium font-poppins transition-colors duration-200 cursor-pointer rounded-lg hover:bg-gray-50 px-2 py-1"
|
||||
>
|
||||
<span>Our Products</span>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
{/* Right Section - Increased Sizes */}
|
||||
@@ -450,7 +450,7 @@ export function HeroSection({
|
||||
|
||||
{/* CTA Button with Shine Effect */}
|
||||
<Button
|
||||
onClick={onSignInClick}
|
||||
onClick={()=> (window.location.href = "https://citycards-website.wdiprojects.com/")}
|
||||
withShine={true}
|
||||
size="lg"
|
||||
className="min-w-[180px] font-poppins font-semibold rounded-full"
|
||||
@@ -509,8 +509,7 @@ export function HeroSection({
|
||||
<motion.button
|
||||
key={item.action}
|
||||
onClick={() => handleNavClick(item.action)}
|
||||
className={`relative px-0 py-1.5 text-base font-poppins font-medium transition-all duration-200 whitespace-nowrap group capitalize ${
|
||||
isNavItemActive(item.action)
|
||||
className={`relative px-0 py-1.5 text-base font-poppins font-medium transition-all duration-200 whitespace-nowrap group capitalize ${isNavItemActive(item.action)
|
||||
? 'text-primary'
|
||||
: 'text-foreground hover:text-primary'
|
||||
}`}
|
||||
@@ -718,8 +717,7 @@ export function HeroSection({
|
||||
handleNavClick(item.action);
|
||||
closeMobileMenu();
|
||||
}}
|
||||
className={`w-full text-left px-4 py-4 rounded-xl transition-all duration-200 text-xl font-poppins font-medium flex items-center justify-between group ${
|
||||
isNavItemActive(item.action)
|
||||
className={`w-full text-left px-4 py-4 rounded-xl transition-all duration-200 text-xl font-poppins font-medium flex items-center justify-between group ${isNavItemActive(item.action)
|
||||
? 'bg-primary/10 text-primary border border-primary/20'
|
||||
: 'text-foreground hover:text-primary hover:bg-gray-50'
|
||||
}`}
|
||||
|
||||
Reference in New Issue
Block a user