From b4a583a57effdcdd971ffc63243a5eb535a24ce2 Mon Sep 17 00:00:00 2001
From: abhisheks <abhisheks@consultbop.com>
Date: Wed, 22 Nov 2023 16:55:00 +0530
Subject: [PATCH] refactor: update new products module

---
 .../views/templates/hook/ps_newproducts.tpl           | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/modules/ps_newproducts/views/templates/hook/ps_newproducts.tpl b/modules/ps_newproducts/views/templates/hook/ps_newproducts.tpl
index 0bb9779..4b895e0 100644
--- a/modules/ps_newproducts/views/templates/hook/ps_newproducts.tpl
+++ b/modules/ps_newproducts/views/templates/hook/ps_newproducts.tpl
@@ -22,18 +22,17 @@
  * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
  * International Registered Trademark & Property of PrestaShop SA
  *}
-
-<section class="featured-products clearfix mt-3">
-  <h2 class="h2 products-section-title text-uppercase">
+<section class="featured-products flex flex-col gap-8">
+  <h2 class="products-section-title text-2xl font-bold">
     {l s='New products' d='Shop.Theme.Catalog'}
   </h2>
-  <div class="products">
+  <div class="products flex flex-wrap">
     {foreach from=$products item="product"}
       {include file="catalog/_partials/miniatures/product.tpl" product=$product}
     {/foreach}
   </div>
-  <a class="all-product-link float-xs-left float-md-right h4" href="{$allNewProductsLink}">
-    {l s='All new products' d='Shop.Theme.Catalog'}<i class="material-icons">&#xE315;</i>
+  <a class="all-product-link text-2xl font-bold" href="{$allNewProductsLink}">
+    {l s='All new products' d='Shop.Theme.Catalog'}
   </a>
 </section>