feat: Complete user profile section and update the navbar and add routs for profile

This commit is contained in:
2026-08-17 17:19:40 +03:30
parent c78aa689dc
commit 2c3495820a
4 changed files with 53 additions and 2 deletions
@@ -0,0 +1,16 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ProfileController extends Controller
{
//
public function index()
{
$user = auth()->user();
$registerTime = verta($user->created_at)->format('Y/m/d');
return view('dashboard.profile' , compact('user' , 'registerTime'));
}
}