diff --git a/app/Livewire/OrderCreate.php b/app/Livewire/OrderCreate.php
new file mode 100644
index 0000000..ad13e6f
--- /dev/null
+++ b/app/Livewire/OrderCreate.php
@@ -0,0 +1,13 @@
+newMessage) && empty($this->attachments)) {
return;
}
@@ -49,7 +49,7 @@ public function sendMessage(): void
if ($this->attachments) {
foreach ($this->attachments as $attachment) {
- $path = $attachment->store('public/'.$this->loggedInUser->name.'/attachments');
+ $path = $attachment->store('public/' . $this->loggedInUser->name . '/attachments');
Attachment::create([
'message_id' => $message->id,
'name' => $attachment->getClientOriginalName(),
diff --git a/resources/css/app.css b/resources/css/app.css
index 289e03f..e8a5bcc 100644
--- a/resources/css/app.css
+++ b/resources/css/app.css
@@ -49,11 +49,11 @@ input:-webkit-autofill {
}
.received-message{
- @apply rounded-t-2xl rounded-br-2xl bg-green-400 overflow-hidden text-gray-700 p-1 px-4;
+ @apply rounded-t-2xl rounded-br-2xl bg-white overflow-hidden text-gray-800 p-1 px-4;
}
.received-message-attachment{
- @apply rounded-b-2xl overflow-clip rounded-tr-2xl bg-green-400 text-gray-700 p-1;
+ @apply rounded-b-2xl overflow-clip rounded-tr-2xl bg-white text-gray-800 p-1;
}
.sent-message-attachment{
diff --git a/resources/views/livewire/display-chat-message.blade.php b/resources/views/livewire/display-chat-message.blade.php
index ed866a3..eb25806 100644
--- a/resources/views/livewire/display-chat-message.blade.php
+++ b/resources/views/livewire/display-chat-message.blade.php
@@ -17,7 +17,7 @@ class="inline-block {{ $message->sender_id == Auth::id() ? 'bg-blue-500 text-whi
+ class="bg-gray-200 rounded-xl ring-1 ring-blue-100 overflow-hidden relative">
@if (in_array($attachment->type, ['image/jpeg', 'image/png', 'image/gif']))
+ {{-- Knowing others is intelligence; knowing yourself is true wisdom. --}}
+
diff --git a/resources/views/livewire/order-management.blade.php b/resources/views/livewire/order-management.blade.php
new file mode 100644
index 0000000..db86de0
--- /dev/null
+++ b/resources/views/livewire/order-management.blade.php
@@ -0,0 +1,3 @@
+
+ {{-- Close your eyes. Count to one. That is how long forever feels. --}}
+
diff --git a/resources/views/livewire/order-show.blade.php b/resources/views/livewire/order-show.blade.php
new file mode 100644
index 0000000..605a3b5
--- /dev/null
+++ b/resources/views/livewire/order-show.blade.php
@@ -0,0 +1,3 @@
+
+ {{-- The Master doesn't talk, he acts. --}}
+
diff --git a/resources/views/livewire/order-update-status.blade.php b/resources/views/livewire/order-update-status.blade.php
new file mode 100644
index 0000000..0bf1ae7
--- /dev/null
+++ b/resources/views/livewire/order-update-status.blade.php
@@ -0,0 +1,3 @@
+
+ {{-- Care about people's approval and you will be their prisoner. --}}
+
diff --git a/resources/views/livewire/send-message-input.blade.php b/resources/views/livewire/send-message-input.blade.php
index 5390259..6ce7add 100644
--- a/resources/views/livewire/send-message-input.blade.php
+++ b/resources/views/livewire/send-message-input.blade.php
@@ -36,7 +36,7 @@ class="absolute top-0 right-1 -mt-2 -mr-3 bg-amber-500 text-white center rounded
diff --git a/resources/views/messages.blade.php b/resources/views/messages.blade.php
index 39ef017..234beef 100644
--- a/resources/views/messages.blade.php
+++ b/resources/views/messages.blade.php
@@ -112,7 +112,7 @@ class="w-12 h-12 bg-white rounded-full">
@endscript
diff --git a/resources/views/orders.blade.php b/resources/views/orders.blade.php
index 839cf32..2088cd7 100644
--- a/resources/views/orders.blade.php
+++ b/resources/views/orders.blade.php
@@ -1,4 +1,4 @@
-
+
@@ -6,13 +6,15 @@
-
-
-
-
- {{ __("You're viewing your orders!") }}
-
-
+