Files
hatame.andarza09/resources/views/account/layout/app.blade.php
T
hatame 2f431971c0 git add .
git commit "Complete project development and finalize features"
2026-08-22 11:14:07 +03:30

90 lines
2.1 KiB
PHP

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="{{ asset('assets/css/account-sidebar.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/profile.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/account.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/profile1.css') }}">
</head>
<body>
<div class="account-sidebar">
<div class="account-user">
<div class="avatar">
@if(auth()->user()->profile_image)
<img
src="{{ asset('uploads/users/' . auth()->user()->profile_image) }}"
alt="تصویر پروفایل"
style="width:100px;height:100px;object-fit:cover;border-radius:50%;"
>
@else
<i class="fa fa-user"></i>
@endif
</div>
<br>
<span>
{{ auth()->user()->email }}
</span>
</div>
<ul>
<li>
<a href="{{ route('users.profile.edit') }}">
<i class="fa fa-user"></i>
پروفایل من
</a>
</li>
<li>
<a href="{{ route('users.favorite.index') }}">
<i class="fa fa-heart"></i>
علاقه‌مندی‌ها
</a>
</li>
<li>
<a href="{{ route('comments.index') }}">
<i class="fa fa-comments"></i>
نظرات من
</a>
</li>
<li>
<a href="{{ route('users.reservations.index') }}">
<i class="fa fa-calendar"></i>
رزرو من
</a>
</li>
<form action="{{ route('auth.logout.index') }}" method="POST">
@csrf
<button type="submit">
خروج
</button>
</form>
</ul>
</div>
</body>
</html>