diff --git a/Modules/CircleXO/App/Http/Controllers/ProfileController.php b/Modules/CircleXO/App/Http/Controllers/ProfileController.php index af24c3f..dd8c837 100644 --- a/Modules/CircleXO/App/Http/Controllers/ProfileController.php +++ b/Modules/CircleXO/App/Http/Controllers/ProfileController.php @@ -81,6 +81,11 @@ public function message(Request $request, AccountContact $message) return view('circle-xo::profile.message', compact('message')); } + public function messageInfoProfile(Request $request, $profile) + { + return view('circle-xo::profile.message-profile-info'); + } + public function qr() { $qr = QrCode::format('png') diff --git a/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php b/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php new file mode 100644 index 0000000..bf51fcc --- /dev/null +++ b/Modules/CircleXO/resources/views/profile/message-profile-info.blade.php @@ -0,0 +1,44 @@ + + + + + Abdelmjid Saber + @AbdelmjidSaber + + + View + profile + + + + + + + + + + Mute Notification + + + + + + Report + + + + + + Block + + + + + + Delete Chat + + + + + diff --git a/Modules/CircleXO/resources/views/profile/messages.blade.php b/Modules/CircleXO/resources/views/profile/messages.blade.php index 406488e..3e484c9 100644 --- a/Modules/CircleXO/resources/views/profile/messages.blade.php +++ b/Modules/CircleXO/resources/views/profile/messages.blade.php @@ -1,15 +1,144 @@ + + + + + + - - - - - - - - - - - + + + + {{-- sidebar --}} + + + {{-- message center --}} + + {{-- chat heading --}} + + + {{-- toggle for mobile --}} + + + + + + + + + Abdelmjid Saber + Online + + + + + + + + + + + {{-- chats bubble --}} + + + + + + Abdelmjid Saber + @AbdelmjidSaber + + + View profile + + + + + + {{-- received --}} + + + Hi, I’m Fady + + + {{-- sent --}} + + + I’m Abdelmjid. welcome Fady + + + {{-- time --}} + + + March 29,2024,6:30 PM + + + + + {{-- sent --}} + + + Great, thank you. + + + + + {{-- sending message area --}} + + + + + + + + + + + + + diff --git a/Modules/CircleXO/routes/web.php b/Modules/CircleXO/routes/web.php index 4f60d2c..fce88c7 100644 --- a/Modules/CircleXO/routes/web.php +++ b/Modules/CircleXO/routes/web.php @@ -61,6 +61,7 @@ Route::get('/followers', [ProfileController::class, 'followers'])->name('followers'); Route::get('/messages', [ProfileController::class, 'messages'])->name('messages'); Route::get('/messages/{message}', [ProfileController::class, 'message'])->name('messages.show'); + Route::get('/messages/info/{profile}', [ProfileController::class, 'messageInfoProfile'])->name('messages.profile-info.show'); Route::get('/edit/social-accounts', [ProfileController::class, 'socialAccounts'])->name('social-accounts.show'); Route::post('/edit/social-accounts', [ProfileController::class, 'socialAccountsUpdate'])->name('social-accounts.update'); Route::get('/edit/password', [ProfileController::class, 'password'])->name('password.show');