feat: implement management folder architecture, hover-only tool sliders, grain transform animation, and prominent upload studio
This commit is contained in:
+4
-3
@@ -1,4 +1,4 @@
|
||||
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getToolById, getAppById } from '@/lib/config/loader';
|
||||
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getToolById, getAppById, getSiteConfig } from '@/lib/config/loader';
|
||||
import { getEndpointById } from '@/lib/catalog/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
@@ -12,6 +12,7 @@ export default function HomePage() {
|
||||
const tools = getAllTools();
|
||||
const apps = getAllApps();
|
||||
const categories = getAllCategories();
|
||||
const siteUrl = (process.env.SITE_URL || getSiteConfig().seo.siteUrl || 'http://localhost:3000').replace(/\/$/, '');
|
||||
|
||||
// Find hero tool and variants
|
||||
const heroTool = getToolById('face.blemish.remove') || tools[0];
|
||||
@@ -39,10 +40,10 @@ export default function HomePage() {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebSite',
|
||||
name: 'CRE Innovations',
|
||||
url: 'http://localhost:3000',
|
||||
url: siteUrl,
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
target: 'http://localhost:3000/tools?q={search_term_string}',
|
||||
target: `${siteUrl}/tools?q={search_term_string}`,
|
||||
'query-input': 'required name=search_term_string',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user