Add (ai gen)

This commit is contained in:
2023-10-01 00:35:27 +08:00
parent 645d0f1d02
commit f02081e30c
79 changed files with 4816 additions and 1041 deletions

View File

@@ -92,8 +92,13 @@ class="rounded-3 d-flex justify-content-center">
<a href="{{ route('posts.manage.indexing', ['post_id' => $post->id]) }}"
class="btn">Index to Search Engines</a>
@endif
<a href="{{ route('posts.manage.edit', ['post_id' => $post->id]) }}"
class="btn">Edit</a>
@if ($post->editor == 'editorjs')
<a href="{{ route('posts.manage.edit', ['post_id' => $post->id]) }}"
class="btn">Edit</a>
@else
<a href="#" class="btn disabled">Edit (Disabled)</a>
@endif
@if ($post->status == 'trash')
<a href="{{ route('posts.manage.delete', ['post_id' => $post->id]) }}"
class="btn">Delete Forever</a>

View File

@@ -38,13 +38,13 @@
</div>
<div class="mb-3">
<div class="img-fluid rounded-start ratio ratio-16x9">
<div class="lqip-loader">
<div class="lqip-loader rounded-2 shadow-sm">
<!-- Use the LQIP image with the appropriate URL -->
<img class="img-fluid rounded-2" src="{{ $post->featured_image }}"
<img class="img-fluid" src="{{ $post->featured_image }}"
alt="Photo of {{ $post->name }}">
<!-- Use the final JPEG image with the appropriate URL -->
<img class="lqip-frozen img-fluid rounded-2" src="{{ $post->featured_image_lqip }}"
<img class="lqip-frozen img-fluid" src="{{ $post->featured_image_lqip }}"
alt="Placeholder image of {{ $post->name }}">
</div>
</div>