From e9414517b900b9f0639556d872e73a444ca40b36 Mon Sep 17 00:00:00 2001 From: shibafu Date: Sat, 16 May 2020 14:31:05 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=83=A1=E3=83=B3=E3=83=86=E3=83=8A?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E7=94=A8=E3=83=93=E3=83=A5=E3=83=BC=E3=83=86?= =?UTF-8?q?=E3=83=B3=E3=83=97=E3=83=AC=E3=83=BC=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/maintenance.svg | 29 ++++++++++++++++++++++++++++ resources/views/errors/503.blade.php | 11 +++++++++++ 2 files changed, 40 insertions(+) create mode 100644 public/maintenance.svg create mode 100644 resources/views/errors/503.blade.php diff --git a/public/maintenance.svg b/public/maintenance.svg new file mode 100644 index 0000000..2fd2951 --- /dev/null +++ b/public/maintenance.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php new file mode 100644 index 0000000..e37b1d5 --- /dev/null +++ b/resources/views/errors/503.blade.php @@ -0,0 +1,11 @@ +@extends('layouts.base') + +@section('content') +
+ Under maintenance +

ただいまメンテナンス中です

+
+

メンテナンス中はTissueをご利用いただくことができません。終了まで今しばらくお待ちください。

+

ご不便をおかけしておりますが、ご理解いただきますようお願いいたします。

+
+@endsection From 2a50ee4f5b80e897bfc14ac87d2f3b4c3def3254 Mon Sep 17 00:00:00 2001 From: shibafu Date: Sat, 16 May 2020 14:47:17 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=A1=E3=83=B3=E3=83=86=E3=83=8A?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E4=B8=AD=E3=81=AF=E3=83=98=E3=83=83=E3=83=80?= =?UTF-8?q?=E3=83=BC=E3=81=AB=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3=E7=AD=89?= =?UTF-8?q?=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=97=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/layouts/base.blade.php | 50 +++++++++++++------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index 786eaa3..711468d 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -172,32 +172,34 @@ @endauth - @guest - - - -
-
- -
-
- ログイン -
+ @if (!App::isDownForMaintenance()) + @guest + + + +
+
+ +
+
+ ログイン +
+
-
- @endguest + @endguest + @endif