feat(seo): complete end-to-end SEO overhaul — OpenGraph 1200x630 cards, canonical links, Schema.org graph, PWA manifest, and optimized robots/sitemap
This commit is contained in:
@@ -85,7 +85,16 @@
|
||||
"seo": {
|
||||
"titleTemplate": "%s | CRE Innovations",
|
||||
"defaultOgImage": "/brand/og-default.png",
|
||||
"siteUrl": "http://localhost:3000"
|
||||
"siteUrl": "http://localhost:3000",
|
||||
"twitterHandle": "@CREInnovations",
|
||||
"locale": "en_US",
|
||||
"themeColor": "#0B1220"
|
||||
},
|
||||
"social": {
|
||||
"twitter": "https://twitter.com/CREInnovations",
|
||||
"instagram": "",
|
||||
"youtube": "",
|
||||
"linkedin": ""
|
||||
},
|
||||
"analytics": {
|
||||
"provider": "console",
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ const nextConfig = {
|
||||
"object-src 'none'",
|
||||
"base-uri 'self'",
|
||||
"form-action 'self'",
|
||||
"upgrade-insecure-requests",
|
||||
...(isProd ? ["upgrade-insecure-requests"] : []),
|
||||
].join('; '),
|
||||
},
|
||||
// Block clickjacking
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
@@ -17,24 +17,42 @@ export async function generateMetadata({ params }: AppPageProps): Promise<Metada
|
||||
const app = getAppBySlug(params.slug);
|
||||
if (!app) return {};
|
||||
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const name = resolveLocalised(app.name, 'en');
|
||||
const appName = name;
|
||||
const tagline = resolveLocalised(app.tagline, 'en');
|
||||
|
||||
return {
|
||||
title: `${name} | Official Mobile App Download | CRE Innovations`,
|
||||
description: tagline,
|
||||
keywords: [appName, 'AI photo editor app', 'download', 'iOS', 'Android', 'CRE Innovations'],
|
||||
alternates: {
|
||||
canonical: `/apps/${app.slug}`,
|
||||
canonical: `${siteUrl}/apps/${app.slug}`,
|
||||
},
|
||||
openGraph: {
|
||||
title: `${name} — AI Photo Editing App | CRE Innovations`,
|
||||
description: tagline,
|
||||
type: 'website',
|
||||
url: `${siteUrl}/apps/${app.slug}`,
|
||||
siteName: 'CRE Innovations',
|
||||
locale: 'en_US',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: `${name} - CRE Innovations` }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: `${name} | CRE Innovations`,
|
||||
description: tagline,
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
+28
-5
@@ -1,12 +1,35 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig, getAllApps, getAllTools } from '@/lib/config/loader';
|
||||
import { getPageConfig, getAllApps, getAllTools, getSiteConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Dedicated Mobile Apps Suite | Android & iOS | CRE Innovations',
|
||||
description: 'Download our suite of AI photo editing apps for Android and iOS. Built with hardware-accelerated neural networks and 4K lossless export.',
|
||||
};
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const title = 'Download AI Photo Editing Apps - iOS & Android | CRE Innovations';
|
||||
const description = 'Download CRE Innovations mobile apps for iOS and Android. Free AI photo editing: background remover, portrait retouch, photo enhancer & 200+ creative tools in your pocket.';
|
||||
return {
|
||||
title,
|
||||
description,
|
||||
alternates: { canonical: `${siteUrl}/apps` },
|
||||
openGraph: {
|
||||
title: `${title}`,
|
||||
description,
|
||||
url: `${siteUrl}/apps`,
|
||||
siteName: 'CRE Innovations',
|
||||
locale: 'en_US',
|
||||
type: 'website',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations Mobile Apps' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title,
|
||||
description,
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
creator: '@CREInnovations',
|
||||
},
|
||||
robots: { index: true, follow: true, googleBot: { index: true, follow: true, 'max-image-preview': 'large', 'max-snippet': -1 } },
|
||||
};
|
||||
}
|
||||
|
||||
export default function AppsIndexPage() {
|
||||
const page = getPageConfig('apps');
|
||||
|
||||
+93
-28
@@ -30,39 +30,73 @@ const monoFont = JetBrains_Mono({
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const config = getSiteConfig();
|
||||
const siteUrl = process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000';
|
||||
const siteUrl = (process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
return {
|
||||
title: {
|
||||
default: `${config.brand.name} | Advanced AI Vision & Creative Tools Studio`,
|
||||
template: config.seo.titleTemplate || `%s | ${config.brand.name}`,
|
||||
default: `CRE Innovations | Free AI Photo Editor - Background Remover, Face Retouch & More`,
|
||||
template: config.seo.titleTemplate || `%s | CRE Innovations`,
|
||||
},
|
||||
description: 'Advanced neural vision models for sub-pore portrait retouching, hair-strand matting background cutouts, and 4K photo restoration.',
|
||||
description: 'Free online AI photo editing tools: remove backgrounds instantly, retouch portraits, restore old photos, whiten teeth, swap faces & apply 200+ creative filters. No signup, no watermark.',
|
||||
metadataBase: new URL(siteUrl),
|
||||
keywords: [
|
||||
'CRE Innovations',
|
||||
'AI photo editor',
|
||||
'online blemish remover',
|
||||
'P3M background remover',
|
||||
'photo enhancer 4K',
|
||||
'vintage photo restoration',
|
||||
'free AI photo editor online',
|
||||
'background remover',
|
||||
'AI portrait retouching',
|
||||
'face retouch online free',
|
||||
'old photo restoration',
|
||||
'teeth whitener AI',
|
||||
'CartoonGAN anime avatar',
|
||||
'AI face swap',
|
||||
'anime avatar maker',
|
||||
'photo enhancer 4K',
|
||||
'remove background from photo',
|
||||
'CRE Innovations',
|
||||
'AI photo tools',
|
||||
],
|
||||
authors: [{ name: 'CRE Innovations Engineering Team' }],
|
||||
authors: [{ name: 'CRE Innovations', url: siteUrl }],
|
||||
creator: 'CRE Innovations',
|
||||
publisher: 'CRE Innovations',
|
||||
applicationName: 'CRE Innovations Studio',
|
||||
generator: 'Next.js',
|
||||
referrer: 'origin-when-cross-origin',
|
||||
alternates: {
|
||||
canonical: siteUrl,
|
||||
},
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
siteName: config.brand.name,
|
||||
title: `${config.brand.name} | Advanced AI Photo Tools`,
|
||||
description: 'Free online AI photo tools with zero photo retention and native mobile app handoff.',
|
||||
images: [{ url: '/brand/og-default.png', width: 1200, height: 630, alt: config.brand.name }],
|
||||
siteName: 'CRE Innovations',
|
||||
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',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations - Free AI Photo Editing Tools' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: `${config.brand.name} | Advanced AI Photo Tools`,
|
||||
description: 'Free online AI photo tools with zero storage and native mobile app handoff.',
|
||||
images: ['/brand/og-default.png'],
|
||||
site: '@CREInnovations',
|
||||
creator: '@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`],
|
||||
},
|
||||
robots: { index: true, follow: true },
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
nocache: false,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-video-preview': -1,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1,
|
||||
},
|
||||
},
|
||||
manifest: '/manifest.webmanifest',
|
||||
appleWebApp: {
|
||||
capable: true,
|
||||
statusBarStyle: 'black-translucent',
|
||||
title: 'CRE Innovations',
|
||||
},
|
||||
category: 'technology',
|
||||
};
|
||||
}
|
||||
|
||||
@@ -74,18 +108,49 @@ export default function RootLayout({
|
||||
const config = getSiteConfig();
|
||||
const categories = getAllCategories();
|
||||
const tools = getAllTools();
|
||||
const siteUrl = process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000';
|
||||
const siteUrl = (process.env.SITE_URL || config.seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
// Root Schema.org JSON-LD for Organization & WebSite
|
||||
const organizationJsonLd = {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'Organization',
|
||||
name: config.brand.name,
|
||||
url: siteUrl,
|
||||
logo: `${siteUrl}/brand/logo.svg`,
|
||||
sameAs: [
|
||||
'https://play.google.com/store/apps/dev?id=creinnovations',
|
||||
'https://apps.apple.com/developer/creinnovations',
|
||||
'@graph': [
|
||||
{
|
||||
'@type': 'Organization',
|
||||
'@id': `${siteUrl}/#organization`,
|
||||
name: 'CRE Innovations',
|
||||
url: siteUrl,
|
||||
logo: {
|
||||
'@type': 'ImageObject',
|
||||
url: `${siteUrl}/brand/logo.svg`,
|
||||
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',
|
||||
],
|
||||
contactPoint: {
|
||||
'@type': 'ContactPoint',
|
||||
contactType: 'customer support',
|
||||
availableLanguage: ['English', 'Hindi'],
|
||||
},
|
||||
},
|
||||
{
|
||||
'@type': 'WebSite',
|
||||
'@id': `${siteUrl}/#website`,
|
||||
url: siteUrl,
|
||||
name: 'CRE Innovations',
|
||||
description: 'Free AI photo editing tools — no signup, no watermark.',
|
||||
publisher: { '@id': `${siteUrl}/#organization` },
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
target: { '@type': 'EntryPoint', urlTemplate: `${siteUrl}/tools?q={search_term_string}` },
|
||||
'query-input': 'required name=search_term_string',
|
||||
},
|
||||
inLanguage: 'en-US',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import type { MetadataRoute } from 'next';
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
name: 'CRE Innovations - AI Photo Editor',
|
||||
short_name: 'CRE Innovations',
|
||||
description: 'Free AI photo editing tools — background remover, portrait retouch, face swap & 200+ creative filters. No signup required.',
|
||||
start_url: '/',
|
||||
display: 'standalone',
|
||||
background_color: '#0B1220',
|
||||
theme_color: '#2563EB',
|
||||
orientation: 'portrait-primary',
|
||||
icons: [
|
||||
{ src: '/brand/icon.svg', sizes: 'any', type: 'image/svg+xml', purpose: 'maskable' },
|
||||
{ src: '/brand/icon.svg', sizes: 'any', type: 'image/svg+xml', purpose: 'any' },
|
||||
],
|
||||
categories: ['photo', 'productivity', 'entertainment'],
|
||||
lang: 'en',
|
||||
dir: 'ltr',
|
||||
};
|
||||
}
|
||||
+39
-11
@@ -1,8 +1,33 @@
|
||||
import React from 'react';
|
||||
import type { Metadata } from 'next';
|
||||
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getSiteConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
return {
|
||||
title: 'Free AI Photo Editor Online - Background Remover, Portrait Retouch & 200+ Tools | CRE Innovations',
|
||||
description: 'Edit photos free with AI: remove backgrounds in seconds, retouch portraits, restore old photos, whiten teeth, swap faces, apply anime filters & 200+ creative effects. No account needed.',
|
||||
alternates: {
|
||||
canonical: siteUrl,
|
||||
},
|
||||
openGraph: {
|
||||
title: 'CRE Innovations – Free AI Photo Editor & 200+ Creative Tools',
|
||||
description: 'Edit photos free with AI: remove backgrounds, retouch portraits, restore old photos & 200+ effects. No signup, no watermark.',
|
||||
url: siteUrl,
|
||||
type: 'website',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations - Free AI Photo Editing Tools' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: 'CRE Innovations – Free AI Photo Editor & 200+ Creative Tools',
|
||||
description: 'Edit photos free with AI: remove backgrounds, retouch, restore old photos & apply 200+ effects.',
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
export const revalidate = 0;
|
||||
|
||||
@@ -30,14 +55,20 @@ export default function HomePage() {
|
||||
const jsonLdData = [
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebSite',
|
||||
name: 'CRE Innovations',
|
||||
'@type': 'WebPage',
|
||||
'@id': `${siteUrl}/#webpage`,
|
||||
url: siteUrl,
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
target: `${siteUrl}/tools?q={search_term_string}`,
|
||||
'query-input': 'required name=search_term_string',
|
||||
},
|
||||
name: 'Free AI Photo Editor Online – CRE Innovations',
|
||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||
about: { '@id': `${siteUrl}/#organization` },
|
||||
description: 'Free AI photo editing tools – background remover, portrait retouch, face swap, old photo restore & 200+ creative filters.',
|
||||
inLanguage: 'en-US',
|
||||
potentialAction: [
|
||||
{
|
||||
'@type': 'ReadAction',
|
||||
target: [siteUrl],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
@@ -45,10 +76,7 @@ export default function HomePage() {
|
||||
mainEntity: faqItems.map((item: any) => ({
|
||||
'@type': 'Question',
|
||||
name: item.q,
|
||||
acceptedAnswer: {
|
||||
'@type': 'Answer',
|
||||
text: item.a,
|
||||
},
|
||||
acceptedAnswer: { '@type': 'Answer', text: item.a },
|
||||
})),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -1,19 +1,92 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig } from '@/lib/config/loader';
|
||||
import { getPageConfig, getSiteConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Privacy Policy | CRE Innovations',
|
||||
description: 'Full privacy policy: transient image handling, zero retention, and GDPR compliance.',
|
||||
};
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const title = 'Privacy Policy | Transient Image Handling & Zero Retention | CRE Innovations';
|
||||
const description = 'Official Privacy Policy of CRE Innovations: transient in-memory image processing, zero retention, no facial template storage, and full GDPR/CCPA compliance.';
|
||||
|
||||
return {
|
||||
title,
|
||||
description,
|
||||
keywords: ['privacy policy', 'photo data retention', 'ephemeral photo editing', 'GDPR compliance', 'CCPA compliance'],
|
||||
alternates: {
|
||||
canonical: `${siteUrl}/privacy`,
|
||||
},
|
||||
openGraph: {
|
||||
title,
|
||||
description,
|
||||
url: `${siteUrl}/privacy`,
|
||||
siteName: 'CRE Innovations',
|
||||
locale: 'en_US',
|
||||
type: 'website',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations Privacy Policy' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title,
|
||||
description,
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
creator: '@CREInnovations',
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-video-preview': -1,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default function PrivacyPage() {
|
||||
const page = getPageConfig('privacy');
|
||||
if (!page) notFound();
|
||||
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
const structuredData = [
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebPage',
|
||||
'@id': `${siteUrl}/privacy#webpage`,
|
||||
url: `${siteUrl}/privacy`,
|
||||
name: 'Privacy Policy | CRE Innovations',
|
||||
description: 'Official privacy policy detailing transient image handling and zero data storage.',
|
||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||
},
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'BreadcrumbList',
|
||||
itemListElement: [
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 1,
|
||||
name: 'Home',
|
||||
item: siteUrl,
|
||||
},
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 2,
|
||||
name: 'Privacy Policy',
|
||||
item: `${siteUrl}/privacy`,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
||||
/>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={{ page, locale: 'en' }} />
|
||||
))}
|
||||
|
||||
+16
-5
@@ -5,11 +5,22 @@ export default function robots(): MetadataRoute.Robots {
|
||||
const baseUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
return {
|
||||
rules: {
|
||||
userAgent: '*',
|
||||
allow: '/',
|
||||
disallow: ['/api/', '/go/', '/catalog-manager'],
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
userAgent: '*',
|
||||
allow: ['/', '/tools', '/tools/', '/apps', '/apps/', '/trust', '/privacy', '/terms'],
|
||||
disallow: ['/api/', '/go/', '/catalog-manager/', '/_next/', '/static/'],
|
||||
},
|
||||
{
|
||||
userAgent: 'GPTBot',
|
||||
disallow: ['/'],
|
||||
},
|
||||
{
|
||||
userAgent: 'CCBot',
|
||||
disallow: ['/'],
|
||||
},
|
||||
],
|
||||
sitemap: `${baseUrl}/sitemap.xml`,
|
||||
host: baseUrl,
|
||||
};
|
||||
}
|
||||
|
||||
+12
-16
@@ -4,31 +4,27 @@ import { getAllTools, getAllApps, getSiteConfig } from '@/lib/config/loader';
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const baseUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const now = new Date();
|
||||
const lastWeek = new Date(now.getTime() - 7 * 24 * 60 * 60 * 1000);
|
||||
|
||||
const staticPages = [
|
||||
'',
|
||||
'/tools',
|
||||
'/apps',
|
||||
'/trust',
|
||||
'/privacy',
|
||||
'/terms',
|
||||
].map((route) => ({
|
||||
url: `${baseUrl}${route}`,
|
||||
lastModified: now,
|
||||
changeFrequency: 'daily' as const,
|
||||
priority: route === '' ? 1.0 : 0.8,
|
||||
}));
|
||||
const staticPages: MetadataRoute.Sitemap = [
|
||||
{ url: `${baseUrl}/`, lastModified: now, changeFrequency: 'daily', priority: 1.0 },
|
||||
{ url: `${baseUrl}/tools`, lastModified: now, changeFrequency: 'daily', priority: 0.95 },
|
||||
{ url: `${baseUrl}/apps`, lastModified: lastWeek, changeFrequency: 'weekly', priority: 0.85 },
|
||||
{ url: `${baseUrl}/trust`, lastModified: lastWeek, changeFrequency: 'monthly', priority: 0.5 },
|
||||
{ url: `${baseUrl}/privacy`, lastModified: lastWeek, changeFrequency: 'monthly', priority: 0.4 },
|
||||
{ url: `${baseUrl}/terms`, lastModified: lastWeek, changeFrequency: 'monthly', priority: 0.4 },
|
||||
];
|
||||
|
||||
const tools = getAllTools().map((t) => ({
|
||||
const tools: MetadataRoute.Sitemap = getAllTools().map((t) => ({
|
||||
url: `${baseUrl}/tools/${t.slug}`,
|
||||
lastModified: now,
|
||||
changeFrequency: 'weekly' as const,
|
||||
priority: 0.9,
|
||||
}));
|
||||
|
||||
const apps = getAllApps().map((a) => ({
|
||||
const apps: MetadataRoute.Sitemap = getAllApps().map((a) => ({
|
||||
url: `${baseUrl}/apps/${a.slug}`,
|
||||
lastModified: now,
|
||||
lastModified: lastWeek,
|
||||
changeFrequency: 'weekly' as const,
|
||||
priority: 0.8,
|
||||
}));
|
||||
|
||||
+78
-5
@@ -1,19 +1,92 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig } from '@/lib/config/loader';
|
||||
import { getPageConfig, getSiteConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Terms of Service | CRE Innovations',
|
||||
description: 'Terms of Service for online web tools and mobile app handoff.',
|
||||
};
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const title = 'Terms of Service | Free AI Photo Studio Fair Use | CRE Innovations';
|
||||
const description = 'Official Terms of Service for CRE Innovations online photo studio tools, acceptable fair use policy, and native mobile application handoff.';
|
||||
|
||||
return {
|
||||
title,
|
||||
description,
|
||||
keywords: ['terms of service', 'user terms', 'fair use photo editing', 'CRE Innovations terms'],
|
||||
alternates: {
|
||||
canonical: `${siteUrl}/terms`,
|
||||
},
|
||||
openGraph: {
|
||||
title,
|
||||
description,
|
||||
url: `${siteUrl}/terms`,
|
||||
siteName: 'CRE Innovations',
|
||||
locale: 'en_US',
|
||||
type: 'website',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations Terms of Service' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title,
|
||||
description,
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
creator: '@CREInnovations',
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-video-preview': -1,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default function TermsPage() {
|
||||
const page = getPageConfig('terms');
|
||||
if (!page) notFound();
|
||||
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
const structuredData = [
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebPage',
|
||||
'@id': `${siteUrl}/terms#webpage`,
|
||||
url: `${siteUrl}/terms`,
|
||||
name: 'Terms of Service | CRE Innovations',
|
||||
description: 'Terms of Service for web tools and mobile applications.',
|
||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||
},
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'BreadcrumbList',
|
||||
itemListElement: [
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 1,
|
||||
name: 'Home',
|
||||
item: siteUrl,
|
||||
},
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 2,
|
||||
name: 'Terms of Service',
|
||||
item: `${siteUrl}/terms`,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
||||
/>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={{ page, locale: 'en' }} />
|
||||
))}
|
||||
|
||||
@@ -98,6 +98,7 @@ export default function ToolsIndexPage() {
|
||||
url: `${siteUrl}/tools`,
|
||||
mainEntity: {
|
||||
'@type': 'ItemList',
|
||||
numberOfItems: tools.length,
|
||||
itemListElement: tools.map((tool, idx) => ({
|
||||
'@type': 'ListItem',
|
||||
position: idx + 1,
|
||||
|
||||
+79
-5
@@ -1,19 +1,93 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig } from '@/lib/config/loader';
|
||||
import { getPageConfig, getSiteConfig } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Trust & Biometric Privacy Safeguards | CRE Innovations',
|
||||
description: 'Our four privacy pillars: Zero-storage, RAM processing, no model training on user photos, and strict biometric protections.',
|
||||
};
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
const title = 'Trust & Biometric Privacy Safeguards | Zero Photo Retention | CRE Innovations';
|
||||
const description = 'Our four core privacy pillars: Zero-storage, real-time volatile RAM processing, no AI model training on user photos, and strict biometric data safeguards.';
|
||||
|
||||
return {
|
||||
title,
|
||||
description,
|
||||
keywords: ['AI photo privacy', 'zero storage photo editor', 'biometric data protection', 'GDPR compliant photo editing', 'CRE Innovations trust'],
|
||||
alternates: {
|
||||
canonical: `${siteUrl}/trust`,
|
||||
},
|
||||
openGraph: {
|
||||
title,
|
||||
description,
|
||||
url: `${siteUrl}/trust`,
|
||||
siteName: 'CRE Innovations',
|
||||
locale: 'en_US',
|
||||
type: 'website',
|
||||
images: [{ url: `${siteUrl}/brand/og-default.png`, width: 1200, height: 630, alt: 'CRE Innovations Trust and Security Safeguards' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title,
|
||||
description,
|
||||
images: [`${siteUrl}/brand/og-default.png`],
|
||||
creator: '@CREInnovations',
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-video-preview': -1,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default function TrustPage() {
|
||||
const page = getPageConfig('trust');
|
||||
if (!page) notFound();
|
||||
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
const structuredData = [
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebPage',
|
||||
'@id': `${siteUrl}/trust#webpage`,
|
||||
url: `${siteUrl}/trust`,
|
||||
name: 'Trust & Biometric Privacy Safeguards | CRE Innovations',
|
||||
description: 'Zero photo retention, volatile RAM execution, and strict biometric protections for all AI photo processing.',
|
||||
isPartOf: { '@id': `${siteUrl}/#website` },
|
||||
about: { '@id': `${siteUrl}/#organization` },
|
||||
},
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'BreadcrumbList',
|
||||
itemListElement: [
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 1,
|
||||
name: 'Home',
|
||||
item: siteUrl,
|
||||
},
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 2,
|
||||
name: 'Trust & Security',
|
||||
item: `${siteUrl}/trust`,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
||||
/>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={{ page, locale: 'en' }} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user