- Added new FAQ sections for account security, ordering and checkout, returns, shipping, and contact information. - Introduced legal documents including privacy policy, terms of service, data protection, and general terms and conditions. - Updated package dependencies to include gray-matter and remark-gfm for enhanced markdown support.
16 lines
473 B
TypeScript
16 lines
473 B
TypeScript
import { LegalDocPage } from "@/components/legal/LegalDocPage";
|
|
import { getLegalDoc } from "@/lib/legal/getLegalDoc";
|
|
import type { Metadata } from "next";
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const doc = getLegalDoc("data-protection");
|
|
return {
|
|
title: doc?.data.title ?? "Data Protection",
|
|
description: doc?.data.description,
|
|
};
|
|
}
|
|
|
|
export default function DataProtectionPage() {
|
|
return <LegalDocPage slug="data-protection" />;
|
|
}
|