Add Menu Template functionality: Created MenuTemplate resource with CRUD pages, schemas, and table configuration. Implemented localization for menu template fields and integrated menu rendering capabilities. Enhanced TemplatePreviewController to support menu templates and updated dynamic template documentation accordingly.
This commit is contained in:
@@ -214,6 +214,7 @@ class TemplatePreviewService
|
||||
$bodyContent = match($type) {
|
||||
'header' => $content,
|
||||
'footer' => $content,
|
||||
'menu' => $content,
|
||||
'section' => '<div class="container py-8">' . $content . '</div>',
|
||||
default => $content,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user