Add homepage

This commit is contained in:
Ludovic CANDELLIER
2022-03-30 22:23:57 +02:00
parent 7187a312eb
commit e3c60e7cde
27 changed files with 1200 additions and 2549 deletions

View File

@@ -0,0 +1,23 @@
<div class="row">
<div class="col-12">
@include('components.form.editor', [
'name' => 'text',
'value' => $homepage['text'] ?? '',
'rows' => 10,
])
</div>
</div>
@include('components.save')
@include('load.form.save')
@include('load.form.editor')
@push('js')
<script>
$(function() {
initEditor();
initSaveForm('#homepage-form');
});
</script>
@endpush