diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-29 17:02:57 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-29 17:02:57 +0700 |
| commit | 72329fb20c3bc7703590b85bd0c42ea32e7cfe61 (patch) | |
| tree | a5ad3074010154cf6d105a81f1175da844c0a798 /src/pages/shop/search.jsx | |
| parent | 0d42449cdd6e53cb8e98555660aefee81997a9d3 (diff) | |
SEO
Diffstat (limited to 'src/pages/shop/search.jsx')
| -rw-r--r-- | src/pages/shop/search.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pages/shop/search.jsx b/src/pages/shop/search.jsx index 345b715a..d21d72cd 100644 --- a/src/pages/shop/search.jsx +++ b/src/pages/shop/search.jsx @@ -1,6 +1,7 @@ import dynamic from 'next/dynamic' import { useRouter } from 'next/router' import _ from 'lodash-contrib' +import Seo from '@/core/components/Seo' const BasicLayout = dynamic(() => import('@/core/components/layouts/BasicLayout')) const ProductSearch = dynamic(() => import('@/lib/product/components/ProductSearch')) @@ -10,6 +11,8 @@ export default function Search() { return ( <BasicLayout> + <Seo title={`Cari produk ${router.query.q} di Indoteknik.com`} /> + {!_.isEmpty(router.query) && ( <ProductSearch query={router.query} |
