user(); })->middleware('auth:sanctum'); // Member API routes Route::apiResource('members', MemberController::class); Route::get('/eventCards', function () { $eventCards = [ [ "type" => "Type", "title" => "AI Summit 2025", "date" => "15 Apr 2025", "location" => "Kaohsiung", "image" => "images/img-event.png", "link" => "javascript:;" ], [ "type" => "Type", "title" => "AI Summit 2025", "date" => "15 Apr 2025", "location" => "Kaohsiung", "image" => "images/img-event.png", "link" => "javascript:;" ], [ "type" => "Type", "title" => "AI Summit 2025", "date" => "15 Apr 2025", "location" => "Kaohsiung", "image" => "images/img-event.png", "link" => "javascript:;" ], [ "type" => "Type", "title" => "AI Summit 2025", "date" => "15 Apr 2025", "location" => "Kaohsiung", "image" => "images/img-event.png", "link" => "javascript:;" ], [ "type" => "Type", "title" => "AI Summit 2025", "date" => "15 Apr 2025", "location" => "Kaohsiung", "image" => "images/img-event.png", "link" => "javascript:;" ], ]; return response()->json($eventCards); });