diff --git a/resources/views/compare.blade.php b/resources/views/compare.blade.php index 5d1cb46..cacf97b 100644 --- a/resources/views/compare.blade.php +++ b/resources/views/compare.blade.php @@ -8,64 +8,53 @@

@lang('Compare')

-
- -
-
- - - -
-
-
-
-
-
- - - - @{{ item.product.name }} - + + + + @{{ item.product.name }} + +
-
-
- - @{{ attribute.label }} - -
-
-
-
@{{ product.attributes.find((attr) => attr.code === attribute.code)?.value }}
+
+ + @{{ attribute.label }} + +
+
+
+
@{{ product.attributes.find((attr) => attr.code === attribute.code)?.value }}
+
-
-
+ + +
diff --git a/resources/views/partials/button.blade.php b/resources/views/partials/button.blade.php index 091414a..b6299ef 100644 --- a/resources/views/partials/button.blade.php +++ b/resources/views/partials/button.blade.php @@ -6,3 +6,4 @@ + diff --git a/resources/views/partials/next-prev-navigation.blade.php b/resources/views/partials/next-prev-navigation.blade.php new file mode 100644 index 0000000..3b65b7f --- /dev/null +++ b/resources/views/partials/next-prev-navigation.blade.php @@ -0,0 +1,15 @@ + + + + + + + diff --git a/resources/views/partials/no-results.blade.php b/resources/views/partials/no-results.blade.php new file mode 100644 index 0000000..0b134ca --- /dev/null +++ b/resources/views/partials/no-results.blade.php @@ -0,0 +1,6 @@ +
+

@lang('No products have been added to compare. Add products so you can compare them with each other.')

+ + @lang('Back to home') + +