File tree Expand file tree Collapse file tree
(marketplace)/categories/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ export function MobileMenuButtons({
493493 < h3 className = "text-white text-[14px] font-semibold tracking-tight leading-snug drop-shadow-lg line-clamp-1" >
494494 { product . name }
495495 </ h3 >
496- < p className = "text-white/95 text-[12px] leading-relaxed drop-shadow-md line-clamp-2 " >
496+ < p className = "text-white/95 text-[12px] drop-shadow-md " >
497497 { product . description }
498498 </ p >
499499 </ div >
@@ -759,7 +759,7 @@ export function MobileMenuButtons({
759759 < h3 className = "text-white text-sm md:text-base font-semibold truncate" >
760760 { expandedImage . name }
761761 </ h3 >
762- < p className = "text-white/70 text-xs md:text-sm mt-1 line-clamp-2 " >
762+ < p className = "text-white/70 text-xs md:text-sm mt-1" >
763763 { expandedImage . description }
764764 </ p >
765765 < p className = "text-white text-lg md:text-xl font-bold" >
Original file line number Diff line number Diff line change @@ -2,22 +2,6 @@ import { VendorService } from "@/service/vendor.service";
22import LandingClient from "./landing-client" ;
33import { Metadata } from "next" ;
44
5- // Rotating taglines for variety - short and focused on self-love
6- const taglines = [
7- "Gift yourself or someone special 💝" ,
8- "Self-love counts too. Treat yourself or others ✨" ,
9- "For you or someone you love 🎁" ,
10- "Because you deserve it too 😉" ,
11- ] ;
12-
13- // Get a consistent but rotating tagline based on vendor ID
14- function getTaglineForVendor ( vendorId : string ) : string {
15- const hash = vendorId
16- . split ( "" )
17- . reduce ( ( acc , char ) => acc + char . charCodeAt ( 0 ) , 0 ) ;
18- return taglines [ hash % taglines . length ] ;
19- }
20-
215export async function generateMetadata ( {
226 params,
237} : {
@@ -34,9 +18,8 @@ export async function generateMetadata({
3418 } ;
3519 }
3620
37- const tagline = getTaglineForVendor ( vendorId ) ;
3821 const title = `Find gifts from ${ vendor . name } on Weeshr` ;
39- const description = ` ${ tagline } Browse amazing gifts from ${ vendor . name } .` ;
22+ const description = "Weeshr | Send gifts to Someone Special" ;
4023 const vendorUrl = `https://weeshr.com/v/${ vendor . slug || vendorId } ` ;
4124
4225 // Use vendor's image or banner, fallback to Weeshr default
You can’t perform that action at this time.
0 commit comments