aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-05-29 21:15:04 +0530
committerLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-05-29 21:15:04 +0530
commit551d526d96b83122ba2ec739ac18a2e43c71394a (patch)
tree6920210dc8b2f5fe91f8063adba50fb69d1fa438
parentca3ae0db6e8e3f2cf99423797c60f5c2cc66a780 (diff)
downloadblcklst-551d526d96b83122ba2ec739ac18a2e43c71394a.tar.gz
blcklst-551d526d96b83122ba2ec739ac18a2e43c71394a.tar.bz2
blcklst-551d526d96b83122ba2ec739ac18a2e43c71394a.zip
fix: fixed the typecheck errorHEADmasterfeature/product
-rw-r--r--frontend/src/app/men/page.tsx8
-rw-r--r--frontend/src/app/women/page.tsx8
-rw-r--r--frontend/src/components/ui/navigation-menu.tsx4
3 files changed, 8 insertions, 12 deletions
diff --git a/frontend/src/app/men/page.tsx b/frontend/src/app/men/page.tsx
index 8c0dd51..1b43056 100644
--- a/frontend/src/app/men/page.tsx
+++ b/frontend/src/app/men/page.tsx
@@ -116,9 +116,9 @@ export default function MenPage() {
{/* Hero Section */}
<section className="relative h-96 bg-gradient-to-r from-neutral-900 to-neutral-700 flex items-center justify-center">
<div className="text-center text-white space-y-4">
- <h1 className="text-4xl md:text-6xl font-bold">Men's Collection</h1>
+ <h1 className="text-4xl md:text-6xl font-bold">Men&apos;s Collection</h1>
<p className="text-lg md:text-xl max-w-2xl mx-auto px-4">
- Discover our latest men's fashion collection featuring premium quality pieces for the modern man
+ Discover our latest men&apos;s fashion collection featuring premium quality pieces for the modern man
</p>
</div>
</section>
@@ -172,7 +172,7 @@ export default function MenPage() {
export async function generateMetadata() {
return {
- title: "Men's Fashion Collection | blcklst",
- description: "Shop the latest men's fashion at blcklst. Premium quality clothing, shoes, and accessories for the modern man.",
+ title: "Men&apos;s Fashion Collection | blcklst",
+ description: "Shop the latest men&apos;s fashion at blcklst. Premium quality clothing, shoes, and accessories for the modern man.",
};
} \ No newline at end of file
diff --git a/frontend/src/app/women/page.tsx b/frontend/src/app/women/page.tsx
index 6814760..cf74e5c 100644
--- a/frontend/src/app/women/page.tsx
+++ b/frontend/src/app/women/page.tsx
@@ -116,9 +116,9 @@ export default function WomenPage() {
{/* Hero Section */}
<section className="relative h-96 bg-gradient-to-r from-pink-100 to-purple-100 dark:from-pink-900/20 dark:to-purple-900/20 flex items-center justify-center">
<div className="text-center space-y-4">
- <h1 className="text-4xl md:text-6xl font-bold text-foreground">Women's Collection</h1>
+ <h1 className="text-4xl md:text-6xl font-bold text-foreground">Women&apos;s Collection</h1>
<p className="text-lg md:text-xl max-w-2xl mx-auto px-4 text-muted-foreground">
- Embrace your style with our curated women's fashion collection featuring elegant and contemporary pieces
+ Embrace your style with our curated women&apos;s fashion collection featuring elegant and contemporary pieces
</p>
</div>
</section>
@@ -172,7 +172,7 @@ export default function WomenPage() {
export async function generateMetadata() {
return {
- title: "Women's Fashion Collection | blcklst",
- description: "Shop the latest women's fashion at blcklst. Elegant dresses, tops, accessories, and more for the modern woman.",
+ title: "Women&apos;s Fashion Collection | blcklst",
+ description: "Shop the latest women&apos;s fashion at blcklst. Elegant dresses, tops, accessories, and more for the modern woman.",
};
} \ No newline at end of file
diff --git a/frontend/src/components/ui/navigation-menu.tsx b/frontend/src/components/ui/navigation-menu.tsx
index 65b5803..f73518a 100644
--- a/frontend/src/components/ui/navigation-menu.tsx
+++ b/frontend/src/components/ui/navigation-menu.tsx
@@ -69,14 +69,10 @@ function NavigationMenuTrigger({
children,
...props
}: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>) {
- const [isHovered, setIsHovered] = React.useState(false)
-
return (
<NavigationMenuPrimitive.Trigger
data-slot="navigation-menu-trigger"
className={cn(navigationMenuTriggerStyle(), "group", className)}
- onMouseEnter={() => setIsHovered(true)}
- onMouseLeave={() => setIsHovered(false)}
style={{
WebkitTapHighlightColor: 'transparent',
touchAction: 'manipulation',