Skip to content
Merged
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
7 changes: 3 additions & 4 deletions resources/views/livewire/discussions/add-comment.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
<div class="relative flex space-x-3">
<div class="flex-shrink-0">
<div class="relative">
<img
<x-user.avatar
:user="$user"
class="flex size-10 items-center justify-center rounded-full bg-skin-card-gray object-cover ring-8 ring-body"
src="{{ $authenticate->profile_photo_url }}"
alt="{{ $authenticate->name }}"
/>
<span class="absolute -bottom-0.5 -right-1 rounded-tl bg-skin-body px-0.5 py-px">
<svg
Expand Down Expand Up @@ -37,7 +36,7 @@ class="size-5 text-skin-muted"
id="body"
placeholder="{{ __('Laisser un commentaire, vous pouvez utilise du **Markdown**') }}"
rows="4"
:disabled="$authenticate === null"
:disabled="$user === null"
></textarea>
<div class="mt-4 sm:flex sm:items-center sm:justify-between sm:space-x-4">
@if ($isRoot)
Expand Down
Loading