- Added new CORS origins for local development and specific IP addresses in `settings.py`. - Refactored API URL retrieval logic in `loadSiteDefinition.ts` and `fileAccess.ts` to auto-detect based on the current origin. - Enhanced error handling in API calls and improved logging for better debugging. - Updated `renderTemplate` function to support additional block types and improved rendering logic for various components in `templateEngine.tsx`.
15 lines
412 B
TypeScript
15 lines
412 B
TypeScript
/**
|
|
* SiteDashboard - Site Builder Dashboard
|
|
* Placeholder component for builder dashboard functionality
|
|
*/
|
|
export default function SiteDashboard() {
|
|
return (
|
|
<div>
|
|
<h2>Site Builder Dashboard</h2>
|
|
<p>This is a placeholder for the Site Builder Dashboard.</p>
|
|
<p>The builder functionality can be accessed from the main app at <code>/sites/builder/dashboard</code></p>
|
|
</div>
|
|
);
|
|
}
|
|
|