From 5d4d87c8bdb42c19e57a458fdc4d05de1ade4546 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 7 Mar 2023 15:03:35 +0700 Subject: add dynamic content --- src/core/components/elements/Navbar/Navbar.jsx | 24 +++++++++++++++++------- src/core/components/elements/Navbar/Search.jsx | 4 +--- src/core/components/elements/Sidebar/Sidebar.jsx | 4 ++-- 3 files changed, 20 insertions(+), 12 deletions(-) (limited to 'src/core') diff --git a/src/core/components/elements/Navbar/Navbar.jsx b/src/core/components/elements/Navbar/Navbar.jsx index 1442b9fa..c88bfad3 100644 --- a/src/core/components/elements/Navbar/Navbar.jsx +++ b/src/core/components/elements/Navbar/Navbar.jsx @@ -139,20 +139,30 @@ const Navbar = () => {
-
- Kategori Produk -
+
Kategori Produk
- + Promo Produk - + Semua Brand - + Ready Stock - + Blog Indoteknik
diff --git a/src/core/components/elements/Navbar/Search.jsx b/src/core/components/elements/Navbar/Search.jsx index 644e0c9f..e78f7f29 100644 --- a/src/core/components/elements/Navbar/Search.jsx +++ b/src/core/components/elements/Navbar/Search.jsx @@ -3,8 +3,6 @@ import { MagnifyingGlassIcon } from '@heroicons/react/24/outline' import { useCallback, useEffect, useRef, useState } from 'react' import Link from '../Link/Link' import { useRouter } from 'next/router' -import MobileView from '../../views/MobileView' -import DesktopView from '../../views/DesktopView' const Search = () => { const router = useRouter() @@ -81,7 +79,7 @@ const Search = () => { {suggestion.term} diff --git a/src/core/components/elements/Sidebar/Sidebar.jsx b/src/core/components/elements/Sidebar/Sidebar.jsx index 308538e7..b2514cbe 100644 --- a/src/core/components/elements/Sidebar/Sidebar.jsx +++ b/src/core/components/elements/Sidebar/Sidebar.jsx @@ -128,7 +128,7 @@ const Sidebar = ({ active, close }) => { Tentang Indoteknik @@ -140,7 +140,7 @@ const Sidebar = ({ active, close }) => { Hubungi Kami -- cgit v1.2.3