Files
the-pet-loft/apps/storefront/src/app/legal/terms-of-service/page.tsx
ianshaloom c8f5d8d096 feat(storefront): update FAQ and legal documentation
- 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.
2026-03-13 21:39:25 +03:00

16 lines
465 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("terms");
return {
title: doc?.data.title ?? "Terms of Service",
description: doc?.data.description,
};
}
export default function TermsOfServicePage() {
return <LegalDocPage slug="terms-of-service" />;
}