This commit is contained in:
Ahmad Firdaus Tarmidzi 2023-11-05 21:55:15 +07:00
parent 89f78b9fc3
commit 15eb936372
4 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -3,7 +3,7 @@
<ul class="sidebar-nav" id="sidebar-nav">
<li>
<a class="card-body profile-card pt-4 d-flex flex-column align-items-center">
<img src="{{ asset('backend/assets/img/profile-img.jpg')}}" alt="Profile" class="rounded-circle">
<img src="{{ asset('storage/' . Auth::user()->foto)}}" alt="Profile" class="rounded-circle">
</a><!-- End Profile Iamge Icon -->
<!-- <h6> {{ Auth::user()->name }}</h6> -->
<h6 class="d-flex flex-column align-items-center">Raditya Arief Pratama</h6>

View File

@ -20,7 +20,7 @@
<div class="card">
<div class="card-body profile-card pt-4 d-flex flex-column align-items-center">
<img src="{{ asset('backend/assets/img/profile-img.jpg')}}" alt="Profile" class="rounded-circle">
<img src="{{ asset('storage/' . Auth::user()->foto)}}" alt="Profile" class="rounded-circle">
<h2>Raditya Arief Pratama</h2>
<h3>Teknik Informatika</h3>
</div>
@ -104,7 +104,7 @@
<div class="row mb-3">
<label for="profileImage" class="col-md-4 col-lg-3 col-form-label">Profile Image</label>
<div class="col-md-8 col-lg-9">
<img src="{{ asset('backend/assets/img/profile-img.jpg')}}" alt="Profile">
<img src="{{ asset('storage/' . Auth::user()->foto)}}" alt="Profile">
<div class="pt-2">
<input type="file" name="profile_image" class="form-control-file">
</div>