From 7fbcf9d142d4007b3a712771cdf6917c84079ecc Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Fri, 30 Jul 2021 16:48:00 +0530 Subject: [PATCH] Refactored Blades --- .../shop/layouts/header/desktop.blade.php | 22 ++ .../views/shop/layouts/header/index.blade.php | 56 +--- .../shop/layouts/header/mobile.blade.php | 153 ++++++++++ .../views/shop/layouts/master.blade.php | 272 +----------------- .../shop/layouts/particals/compare.blade.php | 13 + .../layouts/particals/search-bar.blade.php | 25 ++ .../shop/layouts/particals/wishlist.blade.php | 13 + 7 files changed, 241 insertions(+), 313 deletions(-) create mode 100644 packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/desktop.blade.php create mode 100644 packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/mobile.blade.php create mode 100644 packages/Webkul/Velocity/src/Resources/views/shop/layouts/particals/compare.blade.php create mode 100644 packages/Webkul/Velocity/src/Resources/views/shop/layouts/particals/search-bar.blade.php create mode 100644 packages/Webkul/Velocity/src/Resources/views/shop/layouts/particals/wishlist.blade.php diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/desktop.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/desktop.blade.php new file mode 100644 index 000000000..7b49215bb --- /dev/null +++ b/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/desktop.blade.php @@ -0,0 +1,22 @@ +
+ + + {{-- this is default content if js is not loaded --}} +
+ + + {{ __('velocity::app.menu-navbar.text-category') }} +
+ +
+
+ +
+ + + {{-- this is default content if js is not loaded --}} +
    +
+ +
+
\ No newline at end of file diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/index.blade.php index 1b6a96899..f2118588e 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/layouts/header/index.blade.php @@ -7,33 +7,7 @@