diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.php new file mode 100644 index 0000000..de9a364 --- /dev/null +++ b/app/Http/Controllers/SettingController.php @@ -0,0 +1,18 @@ + - {{--設定--}} + 設定 ログアウト diff --git a/resources/views/setting/base.blade.php b/resources/views/setting/base.blade.php new file mode 100644 index 0000000..46ec3a3 --- /dev/null +++ b/resources/views/setting/base.blade.php @@ -0,0 +1,18 @@ +@extends('layouts.base') + +@section('content') +
+
+ +
+ @yield('tab-content') +
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/setting/profile.blade.php b/resources/views/setting/profile.blade.php new file mode 100644 index 0000000..29ea200 --- /dev/null +++ b/resources/views/setting/profile.blade.php @@ -0,0 +1,43 @@ +@extends('setting.base') + +@section('tab-content') +

プロフィール

+
+
+ {{ csrf_field() }} +
+ + +
+
+ +
+
+
@
+
+ +
+ 現在は変更できません。 +
+ + +
+ +

プライバシー

+
+
+ {{ csrf_field() }} +
+
+ + +
+
+ + +
+
+ + +
+@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 5699e7e..b3b92f6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -37,3 +37,7 @@ Route::get('/info/{id}', 'InfoController@show')->where('id', '[0-9]+')->name('in Route::redirect('/search', '/search/checkin', 301); Route::get('/search/checkin', 'SearchController@index')->name('search'); Route::get('/search/related-tag', 'SearchController@relatedTag')->name('search.related-tag'); + +Route::redirect('/setting', '/setting/profile', 301); +Route::get('/setting/profile', 'SettingController@profile')->name('setting'); +Route::get('/setting/password', 'SettingController@password')->name('setting.password');