Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public function stripExperience($points, $year = null)
public function getAvatarPathAttribute($avatar)
{
if (is_null($avatar)) {
$avatar = 'avatars/default_avatar.png';
$avatar = 'images/default-avatar.png';
}
return Storage::disk('s3')->url($avatar);
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/community.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ function populateTeacherInfo(teachers, city = null) {
</div>
</div>
${ teacher.avatar_path
? `<img src="${teacher.avatar_path}" alt="Avatar" class="object-cover w-[88px] h-[88px] border-2 border-[#DBECF0] border-solid rounded-full">`
? `<img src="${teacher.avatar_path}" alt="Avatar" class="flex-shrink-0 object-cover w-[88px] h-[88px] border-2 border-[#DBECF0] border-solid rounded-full">`
: '' }
</li>
`;
Expand Down
Loading