Skip to content

Commit 58fc26e

Browse files
committed
Added view
1 parent b672f11 commit 58fc26e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

resources/views/markdown.blade.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<x-guest-layout>
2+
<div class="pt-4 bg-gray-100">
3+
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
4+
<div>
5+
<x-jet-authentication-card-logo />
6+
</div>
7+
8+
<div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-lg prose">
9+
{!! $content !!}
10+
</div>
11+
</div>
12+
</div>
13+
</x-guest-layout>

src/LaravelDbDoc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ public static function routes()
1515
$format = request()->query('format', 'markdown');
1616

1717
$filename = self::filename($format);
18-
$view = self::view($format);
1918
$content = self::content($format);
2019

2120
$filepath = config('database.doc_schema_path').DIRECTORY_SEPARATOR.$filename;
@@ -28,7 +27,7 @@ public static function routes()
2827
]);
2928
}
3029

31-
return view('db-doc::markdown', [
30+
return view('laravel-db-doc::markdown', [
3231
'content' => Str::markdown(
3332
$content
3433
),

0 commit comments

Comments
 (0)