Skip to content

Commit e34f16f

Browse files
authored
Merge pull request #157 from Weeshr-Engineering/staging
seo
2 parents 43544bf + bd49f17 commit e34f16f

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

app/m/(marketplace)/categories/_components/mobile-menu-buttons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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">

app/m/v/[vendorId]/page.tsx

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,6 @@ import { VendorService } from "@/service/vendor.service";
22
import LandingClient from "./landing-client";
33
import { 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-
215
export 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

0 commit comments

Comments
 (0)