feat: complete dynamic JSON-driven photo tools frontend connected to FastAPI backend

This commit is contained in:
2026-11-03 12:24:43 +05:30
commit fa2eca3643
91 changed files with 11372 additions and 0 deletions
+22
View File
@@ -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: 'Terms of Service | Ekagni PhotoAI',
description: 'Terms of Service for online web tools and mobile app handoff.',
};
export default function TermsPage() {
const page = getPageConfig('terms');
if (!page) notFound();
return (
<div>
{page.sections.map((section) => (
<SectionRenderer key={section.id} section={section} context={{ page, locale: 'en' }} />
))}
</div>
);
}