-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/routes/web.php b/routes/web.php
index aecf642..bbbb8b8 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -9,6 +9,7 @@ use Illuminate\Support\Facades\Auth;
use App\Models\User;
use App\Http\Controllers\Controller;
use App\Http\Controllers\InquiryConfirmController;
+use App\Http\Controllers\LoginController;
use App\Http\Controllers\MemberRegistrationController;
use App\Http\Controllers\PasswordReminderController;
use App\Http\Controllers\UserInfoController;
@@ -17,6 +18,7 @@ use App\Http\Controllers\UserEditConfirmController;
use App\Http\Controllers\UserWithdrawController;
use App\Http\Controllers\RegularContractController;
use App\Http\Controllers\RegularContractCreateController;
+use App\Http\Controllers\ParkingSearchController;
use App\Http\Controllers\ParkWaitlistController;
use App\Http\Controllers\ReceiptController;
@@ -26,8 +28,6 @@ Route::get('/swo2_1', function () { return view('general.swo2_1'); })->name('swo
Route::get('/swo3_1', function () { return view('general.swo3_1'); })->name('swo3_1');
Route::get('/swo3_2', function () { return view('general.swo3_2'); })->name('swo3_2');
Route::get('/swo3_3', function () { return view('general.swo3_3'); })->name('swo3_3');
-Route::get('/swo4_1', function () { return view('general.swo4_1'); })->name('swo4_1');
-Route::get('/swo5_1', function () { return view('general.swo5_1'); })->name('swo5_1');
Route::get('/swo6_1', function () { return view('general.swo6_1'); })->name('swo6_1');
Route::get('/swo8_1', function () { return view('general.swo8_1'); })->name('swo8_1');
Route::get('/swo8_2', function () { return view('general.swo8_2'); })->name('swo8_2');
@@ -47,20 +47,27 @@ Route::get('/swo16_1', function () { return view('general.swo16_1'); })->name('s
Route::get('/swo17_1', function () { return view('general.swo17_1'); })->name('swo17_1');
Route::get('/error', function () { return view('general.error'); })->name('error');
-// コントローラー経由
+// コントローラー経由
Route::post('/swo2_2', [MemberRegistrationController::class, 'sendMail'])->name('swo2_2');
Route::get('/swo2_3', [MemberRegistrationController::class, 'index'])->name('swo2_3')->middleware('signed');
Route::post('/swo2_4', [MemberRegistrationController::class, 'confirm'])->name('swo2_4');
Route::post('/swo2_5', [MemberRegistrationController::class, 'complete'])->name('swo2_5');
+Route::get('/swo4_1', [LoginController::class, 'login'])->name('swo4_1');
+Route::get('/swo5_1', [ParkingSearchController::class, 'index'])->name('swo5_1');
Route::get('/swo7_1', [InquiryConfirmController::class, 'index'])->name('swo7_1');
Route::post('/swo7_2',[InquiryConfirmController::class, 'confirm'])->name('swo7_2');
Route::post('/swo7_3',[InquiryConfirmController::class, 'complete'])->name('swo7_3');
Route::post('/swo8_3', [PasswordReminderController::class, 'sendMail'])->name('swo8_3');
-//マイページ(仮)
+// ログイン画面へのリダイレクト
+Route::get('/login', function () {
+ return redirect()->route('swo8_1');
+})->name('login');
+
+// マイページ画面へのリダイレクト
Route::get('/mypage', function () {
return 'マイページ(仮)';
-})->name('mypage');
+})->name('mypage');
// ユーザー情報確認画面
Route::get('/user/info', [UserInfoController::class, 'show'])
@@ -132,17 +139,6 @@ Route::post('regular_contract/update_period', [App\Http\Controllers\RegularContr
Route::get('park_waitlist', [ParkWaitlistController::class, 'index'])
->name('park_waitlist.index');
-// ログイン画面(仮)
-Route::get('/login', function () {
- return '
-
- ';
-})->name('login');
-
Route::post('/login', function (Request $request) {
$user_id = $request->input('user_id');
Session::put('user_id', $user_id); // 入力されたIDをそのまま保存
-
-
+
+
-
-
-
-
-
-
-
-- エリア指定 -
+@extends('layouts.general') +@section('content') +
+
-
+
-
+
-
-
+
- 駐輪場をお選びください。
-
-
-
- -
+
+
+
+
+
+
- | 駐輪場名 | +市町村名 | +駅名 | ++ |
|---|---|---|---|
| あマルバツ駐輪場A | +〇〇市 | +〇〇駅 | +定期契約 | +
| かマルバツ駐輪場B | +〇〇市 | +〇〇駅 | +空き待ち申込 | +
| あマルバツ駐輪場A | +〇〇市 | +〇〇駅 | +定期契約 | +
| かマルバツ駐輪場B | +〇〇市 | +〇〇駅 | +空き待ち申込 | +
| あマルバツ駐輪場A | +〇〇市 | +〇〇駅 | +定期契約 | +
| かマルバツ駐輪場B | +〇〇市 | +〇〇駅 | +空き待ち申込 | +
| あマルバツ駐輪場A | +〇〇市 | +〇〇駅 | +定期契約 | +
| かマルバツ駐輪場B | +〇〇市 | +〇〇駅 | +空き待ち申込 | +
| あマルバツ駐輪場A | +〇〇市 | +〇〇駅 | +定期契約 | +
| かマルバツ駐輪場B | +〇〇市 | +〇〇駅 | +空き待ち申込 | +
-
-
- - 近隣駐輪場 -
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - -
- -
-
-
-
-
- | 乗り物 | -フロア | -一般/学生 | -区民/区民外 | -減免等 | -契約月 | -料金 | - - - - -
|---|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
- ③赤羽駅西口北自転車駐車場利用料
- -
-
-
-
- | 乗り物 | -フロア | -費用 (月額) |
- - |
|---|---|---|---|
| 自転車 | -1階 (空きあり) |
- 4000円 | -- 予 約 - | -
-
-
-
+
+
+
+
+
+
+
+ あマルバツ駐輪場A
+ +
+
+
+
+ 〒000-0000 東京都千代田区1-1
+ 標準収容台数:XXX台
+
+ 空き台数:XXX台 +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/general/swo8_1.blade.php b/resources/views/general/swo8_1.blade.php
index bca209c..52e07ad 100644
--- a/resources/views/general/swo8_1.blade.php
+++ b/resources/views/general/swo8_1.blade.php
@@ -10,23 +10,21 @@
+
+
+
+
+
+ かマルバツ駐輪場B
+ +
+
+
+
+ 〒000-0000 東京都千代田区1-1
+ 標準収容台数:XXX台
+
+ 空き待ち +
+
+
+
+
+