12/02/2026

This commit is contained in:
2026-02-12 17:14:04 +07:00
parent 2bc93383a0
commit 756cf6410c
35 changed files with 784 additions and 299 deletions

View File

@@ -1,7 +1,7 @@
import type { Metadata } from "next";
export function metadataBySlug(result: any): Metadata {
switch (result.type) {
case "product_category":
return {
@@ -69,6 +69,15 @@ export function metadataBySlug(result: any): Metadata {
}
};
case "designer_detail":
return {
title: result.data.title,
description: result.data.meta_description,
openGraph: {
type: 'website',
}
};
default:
return {