+
+
+
+
@@ -18,10 +25,22 @@
@php
$content = $documentation->contents->firstWhere('language_id', $language->id);
@endphp
-
-
-
-
+
+
+
+
@endforeach
diff --git a/app/application/resources/views/components/volt/forms/textarea-wysiwyg.blade.php b/app/application/resources/views/components/volt/forms/textarea-wysiwyg.blade.php
index e945606..c89074c 100644
--- a/app/application/resources/views/components/volt/forms/textarea-wysiwyg.blade.php
+++ b/app/application/resources/views/components/volt/forms/textarea-wysiwyg.blade.php
@@ -1,23 +1,114 @@
+@php
+ $tinyId = \Illuminate\Support\Str::random(7);
+ $tinyId = 'form-textarea-wysiwyg-' . $tinyId;
+
+ $images = [];
+ $files = [];
+ /** @var \App\Dto\View\Volt\Form\WysiwygStorageUpload | null $storageUpload */
+ if ($storageUpload !== null) {
+ $storages = old($storageUpload->getRequestInputName(), []);
+ $images = $storages['content_images'] ?? [];
+ }
+@endphp
-
-
+
+
+ @foreach($images as $image)
+ @continue( empty($image['file']) )
+
+ @endforeach
@error($requestName)
- {{ $message }}
+ {{ $message }}
@enderror
-@pushOnce('scripts')
-
+@include('admin._scripts._tinymce')
+@push('scripts')
- @include('_prism')
-@endpushonce
+@endpush
diff --git a/app/application/resources/views/site/projects/about.blade.php b/app/application/resources/views/site/projects/about.blade.php
index 8452bcc..b5ee93f 100644
--- a/app/application/resources/views/site/projects/about.blade.php
+++ b/app/application/resources/views/site/projects/about.blade.php
@@ -11,5 +11,6 @@
@push('scripts')
@include('_prism')
+ @include('_fancybox')
@endpush
diff --git a/app/application/resources/views/site/projects/documentation/view.blade.php b/app/application/resources/views/site/projects/documentation/view.blade.php
index c831e15..ddf6c76 100644
--- a/app/application/resources/views/site/projects/documentation/view.blade.php
+++ b/app/application/resources/views/site/projects/documentation/view.blade.php
@@ -5,5 +5,6 @@
{!! $documentation->content->content !!}
@push('scripts')
@include('_prism')
+ @include('_fancybox')
@endpush
diff --git a/app/application/vite.config.js b/app/application/vite.config.js
index a03e8af..7be9dca 100644
--- a/app/application/vite.config.js
+++ b/app/application/vite.config.js
@@ -15,6 +15,8 @@ export default defineConfig({
'resources/site/js/app.js',
'resources/prism/app.js',
+
+ 'resources/fancybox/app.js',
],
refresh: true,
}),