From cc905a0bced04ff5c7dd4210ac6fad6ed115dae6 Mon Sep 17 00:00:00 2001 From: eai04191 Date: Thu, 8 Aug 2019 16:30:39 +0900 Subject: [PATCH] WIP: Change Okazu view --- .../views/components/okazu-card.blade.php | 9 +++++ resources/views/user/profile.blade.php | 35 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 resources/views/components/okazu-card.blade.php 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