feat: Implement Frontend Engine (Router + BlockRenderer)

This commit is contained in:
cawcenter
2025-12-13 21:15:11 -05:00
parent 93734c8966
commit f7dd7b41b5
10 changed files with 201 additions and 97 deletions

View File

@@ -23,16 +23,16 @@ export interface Page {
seo_description?: string;
seo_image?: string;
blocks?: PageBlock[];
content?: string; // legacy fallback
schema_json?: Record<string, any>;
date_created?: string;
date_updated?: string;
}
export interface PageBlock {
id: string;
sort: number;
hide_block: boolean;
collection: string;
item: any;
block_type: 'hero' | 'content' | 'features' | 'cta';
block_config: Record<string, any>;
}
export interface Post {