From be098c38cb019eb32d3c2f4d3dd7acc7a2651f55 Mon Sep 17 00:00:00 2001 From: shibafu Date: Sat, 24 Oct 2020 14:53:12 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=98=E3=83=83=E3=83=80=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E3=83=89=E3=83=AD=E3=83=83=E3=83=97=E3=83=80=E3=82=A6=E3=83=B3?= =?UTF-8?q?=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC=E3=81=AE=E4=B8=AD=E8=BA=AB?= =?UTF-8?q?=E3=82=92=E5=88=A5=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=AB?= =?UTF-8?q?=E5=88=86=E5=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/header-dropdown-menu.blade.php | 15 +++++++++ resources/views/layouts/base.blade.php | 32 ++----------------- 2 files changed, 17 insertions(+), 30 deletions(-) create mode 100644 resources/views/components/header-dropdown-menu.blade.php diff --git a/resources/views/components/header-dropdown-menu.blade.php b/resources/views/components/header-dropdown-menu.blade.php new file mode 100644 index 0000000..3b5d936 --- /dev/null +++ b/resources/views/components/header-dropdown-menu.blade.php @@ -0,0 +1,15 @@ + + {{ Auth::user()->display_name }} +

+ @{{ Auth::user()->name }} +

+
+ +プロフィール +いいね + +設定 +@can ('admin') + 管理 +@endcan +ログアウト diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index 711468d..e5dfa1b 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -43,21 +43,7 @@ @@ -106,21 +92,7 @@