diff --git a/resources/views/components/okazu-card.blade.php b/resources/views/components/okazu-card.blade.php new file mode 100644 index 0000000..3cfb07e --- /dev/null +++ b/resources/views/components/okazu-card.blade.php @@ -0,0 +1,9 @@ +
+ + +
+
Card title
+

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

+
+
+
\ No newline at end of file diff --git a/resources/views/user/profile.blade.php b/resources/views/user/profile.blade.php index 7276548..59a8427 100644 --- a/resources/views/user/profile.blade.php +++ b/resources/views/user/profile.blade.php @@ -31,6 +31,41 @@

このユーザはチェックイン履歴を公開していません。

+@elseif (Route::currentRouteName() === 'user.okazu') + @push('script') + + @endpush + +
+ @forelse ($ejaculations as $ejaculation) + @component('components.okazu-card', ['link' => $ejaculation->link]) + @endcomponent + @empty +
  • +

    まだチェックインしていません。

    +
  • + @endforelse +
    @else