mirror of
https://github.com/archtechx/laravel-pages.git
synced 2025-12-12 09:54:03 +00:00
add source code
This commit is contained in:
commit
e534ddd14c
23 changed files with 798 additions and 0 deletions
9
assets/views/_markdown.blade.php
Normal file
9
assets/views/_markdown.blade.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<x-dynamic-component :component="config('pages.views.layout')">
|
||||
<div class="w-full flex justify-center my-16 px-4">
|
||||
<div class="prose prose-indigo">
|
||||
<h1>{{ $page->title }}</h1>
|
||||
|
||||
{!! Str::markdown($page->content) !!}
|
||||
</div>
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
Loading…
Add table
Add a link
Reference in a new issue