summaryrefslogtreecommitdiff
path: root/src-migrate/constants
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/constants')
-rw-r--r--src-migrate/constants/menu.ts20
-rw-r--r--src-migrate/constants/promotion.ts17
-rw-r--r--src-migrate/constants/utm-source.ts8
3 files changed, 45 insertions, 0 deletions
diff --git a/src-migrate/constants/menu.ts b/src-migrate/constants/menu.ts
new file mode 100644
index 00000000..d1adebca
--- /dev/null
+++ b/src-migrate/constants/menu.ts
@@ -0,0 +1,20 @@
+import { SecondaryNavItemProps } from '~/types/nav';
+
+export const SECONDARY_MENU_ITEMS: SecondaryNavItemProps[] = [
+ {
+ label: 'Semua Brand',
+ href: '/shop/brands',
+ },
+ {
+ label: 'Ready Stock',
+ href: '/shop/search?orderBy=stock',
+ },
+ {
+ label: 'Blog Indoteknik',
+ href: 'https://blog.indoteknik.com/',
+ },
+ {
+ label: 'Indoteknik TV',
+ href: '/video',
+ },
+];
diff --git a/src-migrate/constants/promotion.ts b/src-migrate/constants/promotion.ts
new file mode 100644
index 00000000..e6dfcc9b
--- /dev/null
+++ b/src-migrate/constants/promotion.ts
@@ -0,0 +1,17 @@
+export const PROMO_CATEGORY = {
+ bundling: {
+ name: 'Bundling',
+ alias: 'Silat',
+ description: 'Kombinasi Kilat (SiLat)',
+ },
+ discount_loading: {
+ name: 'Discount Loading',
+ alias: 'Barong',
+ description: 'Barang Borong (BaRong)',
+ },
+ merchandise: {
+ name: 'Merchandise',
+ alias: 'Angklung',
+ description: 'Menang Langsung (Angklung)',
+ },
+};
diff --git a/src-migrate/constants/utm-source.ts b/src-migrate/constants/utm-source.ts
new file mode 100644
index 00000000..95c03ed2
--- /dev/null
+++ b/src-migrate/constants/utm-source.ts
@@ -0,0 +1,8 @@
+export const UTM_SOURCE = {
+ '/': 'web.home',
+ '/shop/product/[slug]': 'web.other-product',
+ '/shop/search': 'web.search',
+ '/shop/brands/[slug]': 'web.brand',
+ '/shop/category/[slug]': 'web.category',
+ '/shop/cart': 'web.cart',
+};