feat: complete dynamic JSON-driven photo tools frontend connected to FastAPI backend
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Privacy Policy | Ekagni PhotoAI',
|
||||
description: 'Full privacy policy: transient image handling, zero retention, and GDPR compliance.',
|
||||
};
|
||||
|
||||
export default function PrivacyPage() {
|
||||
const page = getPageConfig('privacy');
|
||||
if (!page) notFound();
|
||||
|
||||
return (
|
||||
<div>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={{ page, locale: 'en' }} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user