diff --git a/resources/views/components/dashboard/card.blade.php b/resources/views/components/dashboard/card.blade.php new file mode 100644 index 0000000..738dcd7 --- /dev/null +++ b/resources/views/components/dashboard/card.blade.php @@ -0,0 +1,3 @@ +
merge(['class' => 'p-6 border border-gray-200 rounded-xl'])}}> + {{$slot}} +
diff --git a/resources/views/components/dashboard/listing-card.blade.php b/resources/views/components/dashboard/listing-card.blade.php new file mode 100644 index 0000000..c8591a3 --- /dev/null +++ b/resources/views/components/dashboard/listing-card.blade.php @@ -0,0 +1,15 @@ +@props(['image' => '', 'title' => '', 'category' => '', 'impressions' => 0, 'likes' => 0, 'clicks' => 0, 'status' => '']) + +
+
+

{{$title}}

+ @if($status == 'Active') + + @elseif($status == 'Pending') + + @endif +
+

{{$category}}

+ +
+
diff --git a/resources/views/components/dashboard/listing-stats.blade.php b/resources/views/components/dashboard/listing-stats.blade.php new file mode 100644 index 0000000..421fcf3 --- /dev/null +++ b/resources/views/components/dashboard/listing-stats.blade.php @@ -0,0 +1,17 @@ +@props(['impression' => 0, 'likes' => 0, 'clicks' => 0]) +
+
+ +

{{$impression}}

+
+ +
+ +

{{$likes}}

+
+ +
+ +

{{$clicks}}

+
+
diff --git a/resources/views/components/dashboard/listing.blade.php b/resources/views/components/dashboard/listing.blade.php new file mode 100644 index 0000000..c6b096f --- /dev/null +++ b/resources/views/components/dashboard/listing.blade.php @@ -0,0 +1,36 @@ +
+ +

My Listings

+
+ + + + + +
+
+
diff --git a/resources/views/components/dashboard/navbar.blade.php b/resources/views/components/dashboard/navbar.blade.php new file mode 100644 index 0000000..d6b08a0 --- /dev/null +++ b/resources/views/components/dashboard/navbar.blade.php @@ -0,0 +1,65 @@ + + + + diff --git a/resources/views/components/dashboard/stats-card.blade.php b/resources/views/components/dashboard/stats-card.blade.php new file mode 100644 index 0000000..548fc04 --- /dev/null +++ b/resources/views/components/dashboard/stats-card.blade.php @@ -0,0 +1,12 @@ +@props(['title' => '', 'score' => '']) + +
+
+

{{$title}}

+

{{$score}}

+
+
+ {{$slot}} +
+
+
diff --git a/resources/views/components/dashboard/stats.blade.php b/resources/views/components/dashboard/stats.blade.php new file mode 100644 index 0000000..b13fbe7 --- /dev/null +++ b/resources/views/components/dashboard/stats.blade.php @@ -0,0 +1,23 @@ +
+ + + + + + + + + + + + + + + + + + + + + +
diff --git a/resources/views/components/icon-square.blade.php b/resources/views/components/icon-square.blade.php new file mode 100644 index 0000000..941ca2e --- /dev/null +++ b/resources/views/components/icon-square.blade.php @@ -0,0 +1,12 @@ +@props(['variant' => '']) +@php + $variants = [ + 'blue' => "bg-blue-100 text-blue-700", + 'purple' => "bg-purple-100 text-purple-700", + 'pink' => "bg-pink-100 text-pink-700", + 'green' => "bg-green-100 text-green-700", + ] +@endphp +
+ {{$slot}} +
diff --git a/resources/views/components/ui/badge.blade.php b/resources/views/components/ui/badge.blade.php new file mode 100644 index 0000000..4b3d561 --- /dev/null +++ b/resources/views/components/ui/badge.blade.php @@ -0,0 +1,10 @@ +@props(['title' => '', 'variant' => 'neutral']) +@php + $variants = [ + 'neutral' => 'bg-black text-white', + 'ghost' => 'bg-gray-200 text-gray-800' + ]; +@endphp + +

{{$title}}

+
diff --git a/resources/views/components/ui/image-card.blade.php b/resources/views/components/ui/image-card.blade.php new file mode 100644 index 0000000..8ff1143 --- /dev/null +++ b/resources/views/components/ui/image-card.blade.php @@ -0,0 +1,9 @@ +@props(['image' => '', 'alt' => '']) +
+
+
+ +
+ {{$slot}} +
+
diff --git a/resources/views/dashboards/broker.blade.php b/resources/views/dashboards/broker.blade.php index 3fb7684..83afa1d 100644 --- a/resources/views/dashboards/broker.blade.php +++ b/resources/views/dashboards/broker.blade.php @@ -1,3 +1,8 @@ - +
+ + + +
+ @vite('resources/js/nav-menu.js')