From 0c1942023e6c6f606fb5811196fdf49116365990 Mon Sep 17 00:00:00 2001 From: Mr Swift Date: Wed, 6 Mar 2024 11:48:20 +0330 Subject: [PATCH] fix --- components/footer/SiteFooter.vue | 107 +++++++++++++++++++++++++- pages/admin/serials-exel/index.vue | 3 +- pages/index.vue | 37 +-------- sass/components/footer.scss | 2 +- server/controllers/brandController.js | 2 +- 5 files changed, 108 insertions(+), 43 deletions(-) diff --git a/components/footer/SiteFooter.vue b/components/footer/SiteFooter.vue index 185a768..75e242d 100644 --- a/components/footer/SiteFooter.vue +++ b/components/footer/SiteFooter.vue @@ -1,8 +1,95 @@ diff --git a/sass/components/footer.scss b/sass/components/footer.scss index 82050bb..20fa7d7 100644 --- a/sass/components/footer.scss +++ b/sass/components/footer.scss @@ -216,7 +216,7 @@ width: 200px; @media (max-width: 270px) { - max-width: 200px; + max-width: 250px; width: 100%; } diff --git a/server/controllers/brandController.js b/server/controllers/brandController.js index 21fc29d..7b02f0f 100644 --- a/server/controllers/brandController.js +++ b/server/controllers/brandController.js @@ -59,7 +59,7 @@ const createbrand = [ //@route GET /api/brands/ //@access Public const getbrands = async (req, res) => { - const brand = await Brand.find(); + const brand = await Brand.find().limit(8); res.status(200).json(brand); };