feat(dynamic): eliminate all hardcoded config — JSON-driven org schema, auto-mask, rate-limits, cookies, reviews; management README

This commit is contained in:
2026-11-13 11:59:34 +05:30
parent cab2a6e963
commit 7fbc33588d
15 changed files with 511 additions and 78 deletions
+17 -10
View File
@@ -67,13 +67,13 @@ export async function generateMetadata(): Promise<Metadata> {
title: `CRE Innovations | Free AI Photo Editor & Creative Tools`,
description: 'Remove backgrounds, retouch portraits, restore old photos & apply 200+ AI effects. Free online, no signup required.',
url: siteUrl,
locale: 'en_US',
locale: config.seo.locale || 'en_US',
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations - Free AI Photo Editing Tools' }],
},
twitter: {
card: 'summary_large_image',
site: '@CREInnovations',
creator: '@CREInnovations',
site: config.seo.twitterHandle || '@CREInnovations',
creator: config.seo.twitterHandle || '@CREInnovations',
title: `CRE Innovations | Free AI Photo Editor & Creative Tools`,
description: 'Remove backgrounds, retouch portraits, restore old photos & apply 200+ AI effects. Free, no signup.',
images: [`${siteUrl}/brand/og-default.png`],
@@ -125,16 +125,23 @@ export default function RootLayout({
width: 200,
height: 60,
},
description: 'CRE Innovations builds free AI-powered photo editing tools: background removal, portrait retouching, photo restoration, and 200+ creative filters.',
foundingDate: '2021',
sameAs: [
'https://play.google.com/store/apps/developer?id=CRE+Innovations',
'https://apps.apple.com/developer/cre-innovations',
],
description: config.organization?.description || 'CRE Innovations builds free AI-powered photo editing tools: background removal, portrait retouching, photo restoration, and 200+ creative filters.',
foundingDate: config.organization?.foundingDate || '2021',
...(config.organization?.storeUrls ? {
sameAs: [
config.organization.storeUrls.android,
config.organization.storeUrls.ios,
].filter(Boolean),
} : {
sameAs: [
'https://play.google.com/store/apps/developer?id=CRE+Innovations',
'https://apps.apple.com/developer/cre-innovations',
],
}),
contactPoint: {
'@type': 'ContactPoint',
contactType: 'customer support',
availableLanguage: ['English', 'Hindi'],
availableLanguage: config.organization?.contactLanguages || ['English', 'Hindi'],
},
},
{