summaryrefslogtreecommitdiff
path: root/src/core/components/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/components/elements')
-rw-r--r--src/core/components/elements/Navbar/Navbar.jsx24
-rw-r--r--src/core/components/elements/Navbar/Search.jsx4
-rw-r--r--src/core/components/elements/Sidebar/Sidebar.jsx4
3 files changed, 20 insertions, 12 deletions
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 = () => {
<div className='container mx-auto my-6'>
<div className='flex bg-gray_r-4 rounded-t-xl'>
- <div className="w-3/12 p-4 font-semibold">
- Kategori Produk
- </div>
+ <div className='w-3/12 p-4 font-semibold'>Kategori Produk</div>
<div className='w-6/12 border-x border-gray_r-1 flex'>
- <Link href='/' className='p-4 flex-1 text-center !text-gray_r-12/80'>
+ <Link
+ href='/'
+ className='p-4 flex-1 text-center !text-gray_r-12/80'
+ >
Promo Produk
</Link>
- <Link href='/' className='p-4 flex-1 text-center !text-gray_r-12/80'>
+ <Link
+ href='/'
+ className='p-4 flex-1 text-center !text-gray_r-12/80'
+ >
Semua Brand
</Link>
- <Link href='/' className='p-4 flex-1 text-center !text-gray_r-12/80'>
+ <Link
+ href='/'
+ className='p-4 flex-1 text-center !text-gray_r-12/80'
+ >
Ready Stock
</Link>
- <Link href='/' className='p-4 flex-1 text-center !text-gray_r-12/80'>
+ <Link
+ href='/'
+ className='p-4 flex-1 text-center !text-gray_r-12/80'
+ >
Blog Indoteknik
</Link>
</div>
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 = () => {
<Link
href={`/shop/search?q=${suggestion.term}`}
key={index}
- className='px-3 py-3 !text-gray_r-12 font-normal'
+ className='px-3 py-3 !text-gray_r-12 font-normal hover:bg-yellow_r-4'
>
{suggestion.term}
</Link>
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 }) => {
</SidebarLink>
<SidebarLink
className={itemClassName}
- href='/'
+ href='/about-us'
>
Tentang Indoteknik
</SidebarLink>
@@ -140,7 +140,7 @@ const Sidebar = ({ active, close }) => {
</SidebarLink>
<SidebarLink
className={itemClassName}
- href='/'
+ href='/contact-us'
>
Hubungi Kami
</SidebarLink>