From db5511de44c8da32f5833c17780881e2d65272d5 Mon Sep 17 00:00:00 2001 From: Oluwakorede Fashokun Date: Mon, 17 Jun 2024 01:23:24 -0400 Subject: [PATCH] Rename to Habiti --- README.md | 14 +++--- api/README.md | 5 +-- api/package.json | 2 +- api/src/index.ts | 6 +-- api/src/payments.ts | 4 +- api/src/schema.graphql | 2 +- api/src/types/misc.ts | 2 +- api/src/webhooks.ts | 4 +- apps/app/App.tsx | 2 +- apps/app/README.md | 3 +- apps/app/app.json | 12 ++--- apps/app/package.json | 7 +-- apps/app/src/components/cart/CartProduct.tsx | 4 +- apps/app/src/components/cart/CartSummary.tsx | 2 +- apps/app/src/components/cart/CartTotal.tsx | 4 +- apps/app/src/components/cart/DeliveryInfo.tsx | 2 +- apps/app/src/components/cart/SelectCard.tsx | 2 +- apps/app/src/components/cart/StoreInfo.tsx | 2 +- .../src/components/carts/CartsListItem.tsx | 2 +- .../edit-profile/EditProfileMain.tsx | 2 +- .../src/components/explore/ExploreHeader.tsx | 2 +- .../src/components/explore/ExploreMain.tsx | 2 +- .../components/explore/ProductResultRow.tsx | 2 +- .../src/components/explore/RecentSearches.tsx | 2 +- .../src/components/explore/SearchResults.tsx | 2 +- .../src/components/explore/StoreResultRow.tsx | 2 +- .../src/components/explore/TrendingStores.tsx | 2 +- .../components/explore/TrendingStoresItem.tsx | 2 +- .../src/components/home/FollowedStores.tsx | 2 +- .../components/home/FollowedStoresItem.tsx | 2 +- apps/app/src/components/home/NewArrivals.tsx | 2 +- .../src/components/home/OrderStatusPill.tsx | 4 +- apps/app/src/components/home/RecentOrder.tsx | 2 +- apps/app/src/components/home/RecentOrders.tsx | 2 +- apps/app/src/components/home/Watchlist.tsx | 2 +- .../src/components/home/WatchlistProduct.tsx | 4 +- apps/app/src/components/order/OrderMeta.tsx | 4 +- .../app/src/components/order/OrderProduct.tsx | 4 +- apps/app/src/components/order/StoreMeta.tsx | 2 +- .../src/components/orders/OrdersListItem.tsx | 2 +- apps/app/src/components/product/AddToCart.tsx | 2 +- .../app/src/components/product/CartButton.tsx | 2 +- .../src/components/product/ProductDetails.tsx | 4 +- .../src/components/product/ProductReviews.tsx | 2 +- .../components/product/QuantityControl.tsx | 2 +- .../components/product/RelatedProducts.tsx | 2 +- .../app/src/components/profile/ProfileRow.tsx | 2 +- apps/app/src/components/profile/UserCard.tsx | 2 +- .../search-store/SearchStoreHeader.tsx | 2 +- .../src/components/settings/SettingRow.tsx | 2 +- .../components/store/CategorySelectorItem.tsx | 2 +- .../app/src/components/store/FollowButton.tsx | 2 +- apps/app/src/components/store/SocialLinks.tsx | 2 +- apps/app/src/components/store/StoreHeader.tsx | 2 +- .../src/components/store/StoreListItem.tsx | 4 +- apps/app/src/components/verify/CodeInput.tsx | 2 +- apps/app/src/hooks/useGoBack.tsx | 2 +- apps/app/src/navigation/HomeTab.tsx | 2 +- apps/app/src/navigation/Routes.tsx | 2 +- apps/app/src/screens/AccountSettings.tsx | 2 +- apps/app/src/screens/AddCard.tsx | 2 +- apps/app/src/screens/AddCardWebview.tsx | 4 +- apps/app/src/screens/Authenticate.tsx | 4 +- apps/app/src/screens/Cart.tsx | 2 +- apps/app/src/screens/Carts.tsx | 2 +- apps/app/src/screens/DeliveryAddress.tsx | 2 +- apps/app/src/screens/Explore.tsx | 2 +- apps/app/src/screens/FollowedStores.tsx | 2 +- apps/app/src/screens/Home.tsx | 2 +- apps/app/src/screens/Landing.tsx | 4 +- apps/app/src/screens/NotificationSettings.tsx | 2 +- apps/app/src/screens/Notifications.tsx | 2 +- apps/app/src/screens/Onboarding.tsx | 2 +- .../screens/OnboardingPushNotifications.tsx | 2 +- apps/app/src/screens/Order.tsx | 2 +- apps/app/src/screens/Orders.tsx | 2 +- apps/app/src/screens/PaymentMethods.tsx | 2 +- apps/app/src/screens/Product.tsx | 2 +- apps/app/src/screens/ProductReviews.tsx | 2 +- apps/app/src/screens/Profile.tsx | 4 +- apps/app/src/screens/Register.tsx | 2 +- apps/app/src/screens/SearchStore.tsx | 2 +- apps/app/src/screens/Settings.tsx | 2 +- apps/app/src/screens/SettingsTheme.tsx | 2 +- apps/app/src/screens/Store.tsx | 2 +- apps/app/src/screens/Verify.tsx | 2 +- apps/app/src/utils/fees.ts | 4 +- apps/app/src/utils/navigation.tsx | 2 +- apps/dashboard/App.tsx | 2 +- apps/dashboard/app.json | 8 ++-- apps/dashboard/package.json | 7 +-- .../components/add-payout/AmountDisplay.tsx | 4 +- .../components/add-payout/NumpadButton.tsx | 2 +- .../components/add-payout/PayoutNumpad.tsx | 2 +- .../src/components/create-store/Brand.tsx | 2 +- .../src/components/create-store/Social.tsx | 2 +- .../components/create-store/StoreImage.tsx | 2 +- .../components/customer-info/OrderDetail.tsx | 4 +- .../components/edit-store/EditStoreMain.tsx | 2 +- .../components/filter-orders/SortOrders.tsx | 2 +- .../filter-products/AccordionRow.tsx | 2 +- .../filter-products/SortProducts.tsx | 2 +- .../src/components/managers/ManagerRow.tsx | 2 +- .../src/components/order/CustomerDetails.tsx | 2 +- .../src/components/order/OrderActions.tsx | 2 +- .../src/components/order/OrderOverview.tsx | 2 +- .../src/components/order/OrderProduct.tsx | 4 +- .../src/components/order/OrderProducts.tsx | 2 +- .../src/components/order/PaymentInfo.tsx | 4 +- .../src/components/order/StatusPill.tsx | 2 +- .../src/components/orders/OrdersFilter.tsx | 2 +- .../src/components/orders/OrdersListItem.tsx | 4 +- .../src/components/overview/InfoCard.tsx | 2 +- .../components/overview/LowStockProduct.tsx | 4 +- .../components/overview/LowStockProducts.tsx | 2 +- .../src/components/overview/ManagePayouts.tsx | 4 +- .../components/overview/OverviewActions.tsx | 2 +- .../src/components/overview/PayoutCard.tsx | 2 +- .../components/overview/PeriodSelector.tsx | 2 +- .../src/components/overview/QuickActions.tsx | 2 +- .../src/components/payouts/PayoutRow.tsx | 4 +- .../src/components/payouts/RevenueBar.tsx | 2 +- .../components/payouts/RevenueBarLegend.tsx | 2 +- .../src/components/product/Images.tsx | 2 +- .../src/components/product/InventoryInput.tsx | 2 +- .../src/components/product/ProductActions.tsx | 2 +- .../src/components/product/ProductForm.tsx | 4 +- .../src/components/product/ProductMain.tsx | 2 +- .../src/components/product/ProductOptions.tsx | 2 +- .../src/components/product/ProductReviews.tsx | 2 +- .../src/components/product/Section.tsx | 2 +- .../components/products/ProductGridItem.tsx | 4 +- .../src/components/products/ProductList.tsx | 2 +- .../components/products/ProductsFilter.tsx | 2 +- .../components/products/ProductsListItem.tsx | 4 +- .../components/products/SearchProducts.tsx | 2 +- .../src/components/settings/SettingRow.tsx | 2 +- .../components/settings/SettingSelectRow.tsx | 2 +- .../settings/SettingsActiveStore.tsx | 2 +- .../src/components/settings/SettingsTheme.tsx | 2 +- .../store-payouts/BankSelectButton.tsx | 2 +- .../store-payouts/BankSelectModal.tsx | 2 +- .../store-payouts/ConfirmationModal.tsx | 2 +- .../store-payouts/StorePayoutsMain.tsx | 2 +- .../store-select/StoreSelectListItem.tsx | 2 +- .../src/components/store/StoreMenuRow.tsx | 2 +- .../src/components/store/StoreProfile.tsx | 2 +- .../src/components/verify/CodeInput.tsx | 2 +- apps/dashboard/src/hooks/useGoBack.tsx | 2 +- apps/dashboard/src/navigation/MainTab.tsx | 2 +- apps/dashboard/src/navigation/Routes.tsx | 2 +- apps/dashboard/src/screens/AddCategory.tsx | 2 +- apps/dashboard/src/screens/AddManager.tsx | 2 +- apps/dashboard/src/screens/AddPayout.tsx | 2 +- apps/dashboard/src/screens/AddProduct.tsx | 2 +- apps/dashboard/src/screens/Authenticate.tsx | 2 +- apps/dashboard/src/screens/Categories.tsx | 2 +- apps/dashboard/src/screens/CreateStore.tsx | 2 +- apps/dashboard/src/screens/CustomerInfo.tsx | 2 +- .../src/screens/CustomizeDashboard.tsx | 4 +- apps/dashboard/src/screens/Deliveries.tsx | 2 +- apps/dashboard/src/screens/Discounts.tsx | 4 +- apps/dashboard/src/screens/EditManager.tsx | 4 +- apps/dashboard/src/screens/FilterOrders.tsx | 2 +- apps/dashboard/src/screens/FilterProducts.tsx | 2 +- apps/dashboard/src/screens/Inventory.tsx | 2 +- .../dashboard/src/screens/ManagerSettings.tsx | 2 +- apps/dashboard/src/screens/Managers.tsx | 2 +- apps/dashboard/src/screens/NoStores.tsx | 2 +- apps/dashboard/src/screens/Order.tsx | 2 +- apps/dashboard/src/screens/Orders.tsx | 2 +- apps/dashboard/src/screens/Overview.tsx | 2 +- apps/dashboard/src/screens/Payouts.tsx | 4 +- apps/dashboard/src/screens/Products.tsx | 2 +- apps/dashboard/src/screens/Promotions.tsx | 2 +- apps/dashboard/src/screens/Register.tsx | 2 +- apps/dashboard/src/screens/SearchProducts.tsx | 2 +- apps/dashboard/src/screens/Settings.tsx | 2 +- apps/dashboard/src/screens/Store.tsx | 2 +- apps/dashboard/src/screens/StoreSelect.tsx | 2 +- apps/dashboard/src/screens/StoreSettings.tsx | 2 +- apps/dashboard/src/screens/Verify.tsx | 2 +- apps/dashboard/src/utils/navigation.ts | 3 +- apps/web/package.json | 45 ++++++++++--------- apps/web/src/app/layout.tsx | 2 +- apps/web/src/app/page.tsx | 2 +- package.json | 18 +++----- packages/common/package.json | 3 +- packages/components/package.json | 3 +- 189 files changed, 272 insertions(+), 274 deletions(-) diff --git a/README.md b/README.md index 4f5066df..5cb7fe37 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -# Market +# Habiti -Market is an open-source mobile-first e-commerce platform that aims to improve the online shopping and store management experience for small to medium-scale retailers in Nigeria. +Habiti is an open-source mobile-first e-commerce platform that aims to improve the online shopping and store management experience for small to medium-scale retailers in Nigeria. ## Motivation ### For shoppers -The average online shopper usually has to create multiple accounts for each store, and keep going back to get information on new arrivals, product discounts and availability. Market solves this by providing an app where shoppers can purchase products, discover and follow stores, get updates and more, all from a single account. +The average online shopper usually has to create multiple accounts for each store, and keep going back to get information on new arrivals, product discounts and availability. Habiti solves this by providing an app where shoppers can purchase products, discover and follow stores, get updates and more, all from a single account. ### For store owners -For most small to medium-scale retailers, setting up an online store is difficult and expensive, and attracting potential customers is even more so. Market solves this by providing an affordable and simple dashboard to manage orders, inventory, analytics and other store-related information. It also helps merchants advertise both their store and products, making it easier for newer stores to gain traction. +For most small to medium-scale retailers, setting up an online store is difficult and expensive, and attracting potential customers is even more so. Habiti solves this by providing an affordable and simple dashboard to manage orders, inventory, analytics and other store-related information. It also helps merchants advertise both their store and products, making it easier for newer stores to gain traction. ## Getting Started -This section will help you get Market up and running in your development environment. +This section will help you get Habiti up and running in your development environment. ### Prerequisites @@ -30,7 +30,7 @@ To clone this repo and install the base dependencies: ```sh # Clone the repository -git clone https://github.com/overthq/Market.git && cd Market +git clone https://github.com/overthq/Habiti.git && cd Habiti # Install general dependencies yarn @@ -48,7 +48,7 @@ Contributions are welcome. Be sure to check out the [contribution guidelines](.g ## Tech Stack -Market is a TypeScript-based application. It is built with popular JS libraries/frameworks like React, React Native and Express. Here's what the stack looks like: +Habiti is a TypeScript-based application. It is built with popular JS libraries/frameworks like React, React Native and Express. Here's what the stack looks like: - Front-End - Framework: [React Native](https://reactnative.dev) and [Expo](https://expo.io) diff --git a/api/README.md b/api/README.md index ad9c7613..a0af0d87 100644 --- a/api/README.md +++ b/api/README.md @@ -1,6 +1,6 @@ -# Market API +# Habiti API -This package contains the code for the API that powers Market. It consists of GraphQL types and resolvers, database and cache bindings, as well storage and file upload functions. +This package contains the code for the API that powers Habiti. It consists of GraphQL types and resolvers, database and cache bindings, as well storage and file upload functions. ## Installation and Setup @@ -12,4 +12,3 @@ yarn yarn start-redis # Only necessary if Redis isn't running in the background. yarn dev ``` - diff --git a/api/package.json b/api/package.json index a63411b7..da6c6596 100644 --- a/api/package.json +++ b/api/package.json @@ -1,5 +1,5 @@ { - "name": "@market/api", + "name": "@habiti/api", "version": "0.0.1", "main": "dist/index.js", "license": "GPL-3.0", diff --git a/api/src/index.ts b/api/src/index.ts index 3288a914..5cd0d9d6 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -14,7 +14,7 @@ import { initSentry } from './config/sentry'; import payments from './payments'; import schema from './schema'; import Services from './services'; -import { MarketRequest } from './types/misc'; +import { HabitiRequest } from './types/misc'; import webhooks from './webhooks'; import './config/cloudinary'; @@ -24,7 +24,7 @@ const main = async () => { initSentry(app); app.use(express.json()); - // app.use(compression()); + app.use(compression()); app.use( expressjwt({ secret: process.env.JWT_SECRET, @@ -50,7 +50,7 @@ const main = async () => { '/graphql', express.json(), expressMiddleware(apolloServer, { - context: async ({ req }: { req: MarketRequest }) => ({ + context: async ({ req }: { req: HabitiRequest }) => ({ user: req.auth ?? null, storeId: req.headers['x-market-store-id'] || undefined, prisma: prismaClient, diff --git a/api/src/payments.ts b/api/src/payments.ts index 0d6822b0..94faff25 100644 --- a/api/src/payments.ts +++ b/api/src/payments.ts @@ -1,11 +1,11 @@ import { Router } from 'express'; -import { MarketRequest } from './types/misc'; +import { HabitiRequest } from './types/misc'; import { verifyTransaction } from './utils/paystack'; const router: Router = Router(); -router.post('/verify-transaction', async (req: MarketRequest, res) => { +router.post('/verify-transaction', async (req: HabitiRequest, res) => { const { reference } = req.body; try { diff --git a/api/src/schema.graphql b/api/src/schema.graphql index ec9ddbb2..342f45ab 100644 --- a/api/src/schema.graphql +++ b/api/src/schema.graphql @@ -1,4 +1,4 @@ -# This file implements a new Relay-compatible schema for Market. +# This file implements a new Relay-compatible schema for Habiti. # This will probably not be implemented for a while, as I'm still figuring out how to # implement the Relay pagination spec with Prisma. # This will also make it easier to port to Go/Rust for v2. diff --git a/api/src/types/misc.ts b/api/src/types/misc.ts index eb0c053d..722bc121 100644 --- a/api/src/types/misc.ts +++ b/api/src/types/misc.ts @@ -1,6 +1,6 @@ import { User } from '@prisma/client'; import { Request } from 'express'; -export interface MarketRequest extends Request { +export interface HabitiRequest extends Request { auth?: User; } diff --git a/api/src/webhooks.ts b/api/src/webhooks.ts index c6fd4cb2..707a7fc5 100644 --- a/api/src/webhooks.ts +++ b/api/src/webhooks.ts @@ -1,13 +1,13 @@ import { createHmac } from 'crypto'; import { Router } from 'express'; -import { MarketRequest } from './types/misc'; +import { HabitiRequest } from './types/misc'; import { storeCard } from './utils/paystack'; import { handleTransferFailure, handleTransferSuccess } from './utils/webhooks'; const router: Router = Router(); -router.post('/paystack', async (req: MarketRequest, res) => { +router.post('/paystack', async (req: HabitiRequest, res) => { const hash = createHmac('sha512', process.env.PAYSTACK_SECRET_KEY) .update(JSON.stringify(req.body)) .digest('hex'); diff --git a/apps/app/App.tsx b/apps/app/App.tsx index b31fb947..eab7f9b4 100644 --- a/apps/app/App.tsx +++ b/apps/app/App.tsx @@ -1,5 +1,5 @@ import 'core-js/full/symbol/async-iterator'; -import { ThemeProvider } from '@market/components'; +import { ThemeProvider } from '@habiti/components'; import React from 'react'; import { GestureHandlerRootView } from 'react-native-gesture-handler'; import { SafeAreaProvider } from 'react-native-safe-area-context'; diff --git a/apps/app/README.md b/apps/app/README.md index 60700b0e..6739c1dd 100644 --- a/apps/app/README.md +++ b/apps/app/README.md @@ -1,4 +1,4 @@ -# Market App +# Habiti App This is the front-facing app that shoppers will use. @@ -13,4 +13,3 @@ yarn yarn start ``` - diff --git a/apps/app/app.json b/apps/app/app.json index 87418734..801c1444 100644 --- a/apps/app/app.json +++ b/apps/app/app.json @@ -1,7 +1,8 @@ { "expo": { - "name": "Market", - "slug": "market", + "name": "Habiti", + "slug": "habiti", + "owner": "overthq", "version": "1.0.0", "orientation": "portrait", "icon": "./assets/icon.png", @@ -18,7 +19,7 @@ "supportsTablet": true }, "android": { - "package": "dev.overt.market", + "package": "app.habiti.app", "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#FFFFFF" @@ -29,9 +30,8 @@ }, "extra": { "eas": { - "projectId": "cb3a245a-4a6a-4c65-979d-bb5ef810b12c" + "projectId": "f09782f6-8048-4ad4-8ff1-3fb7a65fbe48" } - }, - "owner": "overthq" + } } } diff --git a/apps/app/package.json b/apps/app/package.json index 4ba71333..12082583 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -1,8 +1,9 @@ { - "name": "@market/app", + "name": "@habiti/app", "version": "1.0.0", "private": true, "main": "index.js", + "license": "GPL-3.0-or-later", "scripts": { "lint": "eslint .", "generate-types": "graphql-codegen --config codegen.yml", @@ -13,8 +14,8 @@ "eject": "expo eject" }, "dependencies": { - "@market/common": "*", - "@market/components": "*", + "@habiti/common": "*", + "@habiti/components": "*", "@react-native-async-storage/async-storage": "1.23.1", "@react-native-masked-view/masked-view": "0.3.1", "@react-navigation/bottom-tabs": "^6.3.1", diff --git a/apps/app/src/components/cart/CartProduct.tsx b/apps/app/src/components/cart/CartProduct.tsx index d607ace7..1d412b26 100644 --- a/apps/app/src/components/cart/CartProduct.tsx +++ b/apps/app/src/components/cart/CartProduct.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { CustomImage, Spacer, Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { CustomImage, Spacer, Typography } from '@habiti/components'; import React from 'react'; import { View, Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/cart/CartSummary.tsx b/apps/app/src/components/cart/CartSummary.tsx index fc872369..2c584f2c 100644 --- a/apps/app/src/components/cart/CartSummary.tsx +++ b/apps/app/src/components/cart/CartSummary.tsx @@ -1,4 +1,4 @@ -import { Spacer, Typography } from '@market/components'; +import { Spacer, Typography } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/cart/CartTotal.tsx b/apps/app/src/components/cart/CartTotal.tsx index a60024ef..4c25e95a 100644 --- a/apps/app/src/components/cart/CartTotal.tsx +++ b/apps/app/src/components/cart/CartTotal.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { Typography } from '@habiti/components'; import React from 'react'; import { StyleSheet, View } from 'react-native'; diff --git a/apps/app/src/components/cart/DeliveryInfo.tsx b/apps/app/src/components/cart/DeliveryInfo.tsx index 6bcc12a2..cb0dc18d 100644 --- a/apps/app/src/components/cart/DeliveryInfo.tsx +++ b/apps/app/src/components/cart/DeliveryInfo.tsx @@ -1,4 +1,4 @@ -import { Spacer, Typography } from '@market/components'; +import { Spacer, Typography } from '@habiti/components'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/cart/SelectCard.tsx b/apps/app/src/components/cart/SelectCard.tsx index 8918b817..1442d705 100644 --- a/apps/app/src/components/cart/SelectCard.tsx +++ b/apps/app/src/components/cart/SelectCard.tsx @@ -4,7 +4,7 @@ import { TextButton, Typography, useTheme -} from '@market/components'; +} from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/cart/StoreInfo.tsx b/apps/app/src/components/cart/StoreInfo.tsx index 48b03613..dedbd20c 100644 --- a/apps/app/src/components/cart/StoreInfo.tsx +++ b/apps/app/src/components/cart/StoreInfo.tsx @@ -1,4 +1,4 @@ -import { Typography } from '@market/components'; +import { Typography } from '@habiti/components'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/carts/CartsListItem.tsx b/apps/app/src/components/carts/CartsListItem.tsx index bab65d0d..2e0a75f4 100644 --- a/apps/app/src/components/carts/CartsListItem.tsx +++ b/apps/app/src/components/carts/CartsListItem.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Icon, Typography, useTheme } from '@market/components'; +import { CustomImage, Icon, Typography, useTheme } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/edit-profile/EditProfileMain.tsx b/apps/app/src/components/edit-profile/EditProfileMain.tsx index e8096f0e..e0f7fe28 100644 --- a/apps/app/src/components/edit-profile/EditProfileMain.tsx +++ b/apps/app/src/components/edit-profile/EditProfileMain.tsx @@ -1,4 +1,4 @@ -import { FormInput, Screen, TextButton } from '@market/components'; +import { FormInput, Screen, TextButton } from '@habiti/components'; import { useNavigation } from '@react-navigation/native'; import React from 'react'; import { useForm } from 'react-hook-form'; diff --git a/apps/app/src/components/explore/ExploreHeader.tsx b/apps/app/src/components/explore/ExploreHeader.tsx index 2a4edb86..a7cc538e 100644 --- a/apps/app/src/components/explore/ExploreHeader.tsx +++ b/apps/app/src/components/explore/ExploreHeader.tsx @@ -1,4 +1,4 @@ -import { Icon, TextButton, useTheme } from '@market/components'; +import { Icon, TextButton, useTheme } from '@habiti/components'; import React from 'react'; import { View, TextInput, StyleSheet } from 'react-native'; import Animated, { diff --git a/apps/app/src/components/explore/ExploreMain.tsx b/apps/app/src/components/explore/ExploreMain.tsx index 0f54ae58..e3b63602 100644 --- a/apps/app/src/components/explore/ExploreMain.tsx +++ b/apps/app/src/components/explore/ExploreMain.tsx @@ -1,4 +1,4 @@ -import { ScrollableScreen, useTheme } from '@market/components'; +import { ScrollableScreen, useTheme } from '@habiti/components'; import React from 'react'; import { ActivityIndicator, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/explore/ProductResultRow.tsx b/apps/app/src/components/explore/ProductResultRow.tsx index 54e974c2..7df0e8d3 100644 --- a/apps/app/src/components/explore/ProductResultRow.tsx +++ b/apps/app/src/components/explore/ProductResultRow.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Spacer, Typography } from '@market/components'; +import { CustomImage, Spacer, Typography } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/explore/RecentSearches.tsx b/apps/app/src/components/explore/RecentSearches.tsx index 2c45a992..adf0c0ee 100644 --- a/apps/app/src/components/explore/RecentSearches.tsx +++ b/apps/app/src/components/explore/RecentSearches.tsx @@ -1,4 +1,4 @@ -import { Screen, SectionHeader, useTheme } from '@market/components'; +import { Screen, SectionHeader, useTheme } from '@habiti/components'; import React from 'react'; import { StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/explore/SearchResults.tsx b/apps/app/src/components/explore/SearchResults.tsx index 6569724e..cf98215c 100644 --- a/apps/app/src/components/explore/SearchResults.tsx +++ b/apps/app/src/components/explore/SearchResults.tsx @@ -1,4 +1,4 @@ -import { Screen, useTheme } from '@market/components'; +import { Screen, useTheme } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/components/explore/StoreResultRow.tsx b/apps/app/src/components/explore/StoreResultRow.tsx index 849f3410..e7d0b19d 100644 --- a/apps/app/src/components/explore/StoreResultRow.tsx +++ b/apps/app/src/components/explore/StoreResultRow.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Spacer, Typography } from '@market/components'; +import { CustomImage, Spacer, Typography } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/explore/TrendingStores.tsx b/apps/app/src/components/explore/TrendingStores.tsx index 56fbd595..8571d554 100644 --- a/apps/app/src/components/explore/TrendingStores.tsx +++ b/apps/app/src/components/explore/TrendingStores.tsx @@ -1,4 +1,4 @@ -import { ListEmpty, SectionHeader } from '@market/components'; +import { ListEmpty, SectionHeader } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/components/explore/TrendingStoresItem.tsx b/apps/app/src/components/explore/TrendingStoresItem.tsx index b584dff4..ebf59ff2 100644 --- a/apps/app/src/components/explore/TrendingStoresItem.tsx +++ b/apps/app/src/components/explore/TrendingStoresItem.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography } from '@market/components'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/home/FollowedStores.tsx b/apps/app/src/components/home/FollowedStores.tsx index 71a9489a..cc04b562 100644 --- a/apps/app/src/components/home/FollowedStores.tsx +++ b/apps/app/src/components/home/FollowedStores.tsx @@ -1,4 +1,4 @@ -import { Dialog, SectionHeader } from '@market/components'; +import { Dialog, SectionHeader } from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/components/home/FollowedStoresItem.tsx b/apps/app/src/components/home/FollowedStoresItem.tsx index ffe33705..6d82dc8b 100644 --- a/apps/app/src/components/home/FollowedStoresItem.tsx +++ b/apps/app/src/components/home/FollowedStoresItem.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography } from '@market/components'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/home/NewArrivals.tsx b/apps/app/src/components/home/NewArrivals.tsx index 240cc580..3ca9ab1c 100644 --- a/apps/app/src/components/home/NewArrivals.tsx +++ b/apps/app/src/components/home/NewArrivals.tsx @@ -1,4 +1,4 @@ -import { Typography } from '@market/components'; +import { Typography } from '@habiti/components'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/home/OrderStatusPill.tsx b/apps/app/src/components/home/OrderStatusPill.tsx index ce4fa63a..0c0b91fa 100644 --- a/apps/app/src/components/home/OrderStatusPill.tsx +++ b/apps/app/src/components/home/OrderStatusPill.tsx @@ -1,5 +1,5 @@ -import { Typography, useTheme } from '@market/components'; -import { ThemeObject } from '@market/components/src/styles/theme'; +import { Typography, useTheme } from '@habiti/components'; +import { ThemeObject } from '@habiti/components/src/styles/theme'; import React from 'react'; import { View, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/home/RecentOrder.tsx b/apps/app/src/components/home/RecentOrder.tsx index 5fda700d..b481585b 100644 --- a/apps/app/src/components/home/RecentOrder.tsx +++ b/apps/app/src/components/home/RecentOrder.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography } from '@market/components'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/home/RecentOrders.tsx b/apps/app/src/components/home/RecentOrders.tsx index afef914c..2958def4 100644 --- a/apps/app/src/components/home/RecentOrders.tsx +++ b/apps/app/src/components/home/RecentOrders.tsx @@ -1,4 +1,4 @@ -import { ListEmpty, Typography } from '@market/components'; +import { ListEmpty, Typography } from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import React from 'react'; import { View, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/home/Watchlist.tsx b/apps/app/src/components/home/Watchlist.tsx index 2c0fb2bd..852d5496 100644 --- a/apps/app/src/components/home/Watchlist.tsx +++ b/apps/app/src/components/home/Watchlist.tsx @@ -1,4 +1,4 @@ -import { ListEmpty, SectionHeader } from '@market/components'; +import { ListEmpty, SectionHeader } from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/components/home/WatchlistProduct.tsx b/apps/app/src/components/home/WatchlistProduct.tsx index 44fa9493..fa36667b 100644 --- a/apps/app/src/components/home/WatchlistProduct.tsx +++ b/apps/app/src/components/home/WatchlistProduct.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { CustomImage, Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/order/OrderMeta.tsx b/apps/app/src/components/order/OrderMeta.tsx index f8f0ef9b..8c85bc59 100644 --- a/apps/app/src/components/order/OrderMeta.tsx +++ b/apps/app/src/components/order/OrderMeta.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { Typography } from '@habiti/components'; import React from 'react'; import { View, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/order/OrderProduct.tsx b/apps/app/src/components/order/OrderProduct.tsx index 104d46f6..100c9dc4 100644 --- a/apps/app/src/components/order/OrderProduct.tsx +++ b/apps/app/src/components/order/OrderProduct.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { CustomImage, Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { View, Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/order/StoreMeta.tsx b/apps/app/src/components/order/StoreMeta.tsx index de2756e3..9f51bb35 100644 --- a/apps/app/src/components/order/StoreMeta.tsx +++ b/apps/app/src/components/order/StoreMeta.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography, useTheme } from '@market/components'; +import { CustomImage, Typography, useTheme } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import React from 'react'; import { Pressable, View } from 'react-native'; diff --git a/apps/app/src/components/orders/OrdersListItem.tsx b/apps/app/src/components/orders/OrdersListItem.tsx index 76673ecc..14d11e36 100644 --- a/apps/app/src/components/orders/OrdersListItem.tsx +++ b/apps/app/src/components/orders/OrdersListItem.tsx @@ -1,4 +1,4 @@ -import { Typography } from '@market/components'; +import { Typography } from '@habiti/components'; import React from 'react'; import { View, Pressable } from 'react-native'; diff --git a/apps/app/src/components/product/AddToCart.tsx b/apps/app/src/components/product/AddToCart.tsx index 81a9c9f2..8a6030ed 100644 --- a/apps/app/src/components/product/AddToCart.tsx +++ b/apps/app/src/components/product/AddToCart.tsx @@ -1,4 +1,4 @@ -import { useTheme } from '@market/components'; +import { useTheme } from '@habiti/components'; import React from 'react'; import { View, StyleSheet } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; diff --git a/apps/app/src/components/product/CartButton.tsx b/apps/app/src/components/product/CartButton.tsx index 8119a199..5ba5ed67 100644 --- a/apps/app/src/components/product/CartButton.tsx +++ b/apps/app/src/components/product/CartButton.tsx @@ -1,4 +1,4 @@ -import { Button } from '@market/components'; +import { Button } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import React from 'react'; import { StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/product/ProductDetails.tsx b/apps/app/src/components/product/ProductDetails.tsx index 4410efe0..7ca5e719 100644 --- a/apps/app/src/components/product/ProductDetails.tsx +++ b/apps/app/src/components/product/ProductDetails.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { SectionHeader, Spacer, Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { SectionHeader, Spacer, Typography } from '@habiti/components'; import React from 'react'; import { View, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/product/ProductReviews.tsx b/apps/app/src/components/product/ProductReviews.tsx index 2ec08a9f..45bb58d7 100644 --- a/apps/app/src/components/product/ProductReviews.tsx +++ b/apps/app/src/components/product/ProductReviews.tsx @@ -1,4 +1,4 @@ -import { Typography, SectionHeader } from '@market/components'; +import { Typography, SectionHeader } from '@habiti/components'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/components/product/QuantityControl.tsx b/apps/app/src/components/product/QuantityControl.tsx index 68338773..aa0d168b 100644 --- a/apps/app/src/components/product/QuantityControl.tsx +++ b/apps/app/src/components/product/QuantityControl.tsx @@ -1,4 +1,4 @@ -import { Icon, Typography, useTheme } from '@market/components'; +import { Icon, Typography, useTheme } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/product/RelatedProducts.tsx b/apps/app/src/components/product/RelatedProducts.tsx index cb0128a8..e275693b 100644 --- a/apps/app/src/components/product/RelatedProducts.tsx +++ b/apps/app/src/components/product/RelatedProducts.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography } from '@market/components'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, ScrollView } from 'react-native'; diff --git a/apps/app/src/components/profile/ProfileRow.tsx b/apps/app/src/components/profile/ProfileRow.tsx index bc9933a8..f2352ead 100644 --- a/apps/app/src/components/profile/ProfileRow.tsx +++ b/apps/app/src/components/profile/ProfileRow.tsx @@ -1,4 +1,4 @@ -import { Icon, Typography, useTheme } from '@market/components'; +import { Icon, Typography, useTheme } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/profile/UserCard.tsx b/apps/app/src/components/profile/UserCard.tsx index 403ee317..0098378e 100644 --- a/apps/app/src/components/profile/UserCard.tsx +++ b/apps/app/src/components/profile/UserCard.tsx @@ -1,4 +1,4 @@ -import { Typography, useTheme } from '@market/components'; +import { Typography, useTheme } from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import React from 'react'; import { View, Pressable, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/search-store/SearchStoreHeader.tsx b/apps/app/src/components/search-store/SearchStoreHeader.tsx index 2fe268a6..682da041 100644 --- a/apps/app/src/components/search-store/SearchStoreHeader.tsx +++ b/apps/app/src/components/search-store/SearchStoreHeader.tsx @@ -1,4 +1,4 @@ -import { Icon, SearchInput, TextButton, useTheme } from '@market/components'; +import { Icon, SearchInput, TextButton, useTheme } from '@habiti/components'; import { useNavigation } from '@react-navigation/native'; import React from 'react'; import { StyleSheet, TextInput, Pressable } from 'react-native'; diff --git a/apps/app/src/components/settings/SettingRow.tsx b/apps/app/src/components/settings/SettingRow.tsx index 3d547294..e2ef4b00 100644 --- a/apps/app/src/components/settings/SettingRow.tsx +++ b/apps/app/src/components/settings/SettingRow.tsx @@ -1,4 +1,4 @@ -import { Icon, Typography, useTheme } from '@market/components'; +import { Icon, Typography, useTheme } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/store/CategorySelectorItem.tsx b/apps/app/src/components/store/CategorySelectorItem.tsx index eff504f1..9f9ceff2 100644 --- a/apps/app/src/components/store/CategorySelectorItem.tsx +++ b/apps/app/src/components/store/CategorySelectorItem.tsx @@ -1,4 +1,4 @@ -import { Typography } from '@market/components'; +import { Typography } from '@habiti/components'; import { Pressable } from 'react-native'; interface CategorySelectorItemProps { diff --git a/apps/app/src/components/store/FollowButton.tsx b/apps/app/src/components/store/FollowButton.tsx index 4f606c0c..9360742c 100644 --- a/apps/app/src/components/store/FollowButton.tsx +++ b/apps/app/src/components/store/FollowButton.tsx @@ -1,4 +1,4 @@ -import { Icon, Typography, useTheme } from '@market/components'; +import { Icon, Typography, useTheme } from '@habiti/components'; import React from 'react'; import { StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/store/SocialLinks.tsx b/apps/app/src/components/store/SocialLinks.tsx index 04c3a71e..6213020a 100644 --- a/apps/app/src/components/store/SocialLinks.tsx +++ b/apps/app/src/components/store/SocialLinks.tsx @@ -1,4 +1,4 @@ -import { Icon } from '@market/components'; +import { Icon } from '@habiti/components'; import React from 'react'; import { View, StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/store/StoreHeader.tsx b/apps/app/src/components/store/StoreHeader.tsx index 9048def3..b82e1b8b 100644 --- a/apps/app/src/components/store/StoreHeader.tsx +++ b/apps/app/src/components/store/StoreHeader.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Typography } from '@market/components'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { View, StyleSheet } from 'react-native'; diff --git a/apps/app/src/components/store/StoreListItem.tsx b/apps/app/src/components/store/StoreListItem.tsx index 67b7ad4e..fd32b8b8 100644 --- a/apps/app/src/components/store/StoreListItem.tsx +++ b/apps/app/src/components/store/StoreListItem.tsx @@ -1,5 +1,5 @@ -import { formatNaira } from '@market/common'; -import { CustomImage, Typography } from '@market/components'; +import { formatNaira } from '@habiti/common'; +import { CustomImage, Typography } from '@habiti/components'; import React from 'react'; import { StyleSheet, Pressable } from 'react-native'; diff --git a/apps/app/src/components/verify/CodeInput.tsx b/apps/app/src/components/verify/CodeInput.tsx index 7f09f2de..2e8a8428 100644 --- a/apps/app/src/components/verify/CodeInput.tsx +++ b/apps/app/src/components/verify/CodeInput.tsx @@ -1,4 +1,4 @@ -import { useTheme, Typography } from '@market/components'; +import { useTheme, Typography } from '@habiti/components'; import React from 'react'; import { Pressable, StyleSheet } from 'react-native'; import Animated, { diff --git a/apps/app/src/hooks/useGoBack.tsx b/apps/app/src/hooks/useGoBack.tsx index 1a017b43..23b97708 100644 --- a/apps/app/src/hooks/useGoBack.tsx +++ b/apps/app/src/hooks/useGoBack.tsx @@ -1,4 +1,4 @@ -import { Icon, IconType } from '@market/components'; +import { Icon, IconType } from '@habiti/components'; import { useNavigation } from '@react-navigation/native'; import React from 'react'; import { Pressable } from 'react-native'; diff --git a/apps/app/src/navigation/HomeTab.tsx b/apps/app/src/navigation/HomeTab.tsx index 95900138..1cfeb124 100644 --- a/apps/app/src/navigation/HomeTab.tsx +++ b/apps/app/src/navigation/HomeTab.tsx @@ -1,4 +1,4 @@ -import { useTheme } from '@market/components'; +import { useTheme } from '@habiti/components'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import React from 'react'; diff --git a/apps/app/src/navigation/Routes.tsx b/apps/app/src/navigation/Routes.tsx index 3cad5ec7..488f0472 100644 --- a/apps/app/src/navigation/Routes.tsx +++ b/apps/app/src/navigation/Routes.tsx @@ -1,4 +1,4 @@ -import { useTheme } from '@market/components'; +import { useTheme } from '@habiti/components'; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { StatusBar } from 'expo-status-bar'; diff --git a/apps/app/src/screens/AccountSettings.tsx b/apps/app/src/screens/AccountSettings.tsx index 8dd8506b..5ebea068 100644 --- a/apps/app/src/screens/AccountSettings.tsx +++ b/apps/app/src/screens/AccountSettings.tsx @@ -1,4 +1,4 @@ -import { Button, Screen } from '@market/components'; +import { Button, Screen } from '@habiti/components'; import React from 'react'; import { Alert } from 'react-native'; diff --git a/apps/app/src/screens/AddCard.tsx b/apps/app/src/screens/AddCard.tsx index f959845c..1ccada22 100644 --- a/apps/app/src/screens/AddCard.tsx +++ b/apps/app/src/screens/AddCard.tsx @@ -1,4 +1,4 @@ -import { Button, FormInput, Screen } from '@market/components'; +import { Button, FormInput, Screen } from '@habiti/components'; import React from 'react'; import { useForm } from 'react-hook-form'; diff --git a/apps/app/src/screens/AddCardWebview.tsx b/apps/app/src/screens/AddCardWebview.tsx index f6504f2d..de8973a9 100644 --- a/apps/app/src/screens/AddCardWebview.tsx +++ b/apps/app/src/screens/AddCardWebview.tsx @@ -1,4 +1,4 @@ -import { Screen } from '@market/components'; +import { Screen } from '@habiti/components'; import React from 'react'; import { ActivityIndicator, View } from 'react-native'; import { WebView } from 'react-native-webview'; @@ -12,7 +12,7 @@ import { useCardAuthorizationQuery } from '../types/api'; // We should probably just add all these customers to a cache and send a bulk // transfer out at the end of each day. // To do this though, we have to collect their bank account information. -// Or we can just create "Market cash" and load the money there, and it can +// Or we can just create "Habiti cash" and load the money there, and it can // be added to their transaction. const AddCardWebview: React.FC = () => { diff --git a/apps/app/src/screens/Authenticate.tsx b/apps/app/src/screens/Authenticate.tsx index 4de5f939..02f9f375 100644 --- a/apps/app/src/screens/Authenticate.tsx +++ b/apps/app/src/screens/Authenticate.tsx @@ -4,7 +4,7 @@ import { Screen, Spacer, Typography -} from '@market/components'; +} from '@habiti/components'; import { useNavigation, NavigationProp } from '@react-navigation/native'; import React from 'react'; import { useForm } from 'react-hook-form'; @@ -58,7 +58,7 @@ const Authenticate = () => { name='email' control={control} label='Email address' - placeholder='john@market.com' + placeholder='john@habiti.app' keyboardType='email-address' autoCorrect={false} autoCapitalize='none' diff --git a/apps/app/src/screens/Cart.tsx b/apps/app/src/screens/Cart.tsx index 282ac676..179d69fb 100644 --- a/apps/app/src/screens/Cart.tsx +++ b/apps/app/src/screens/Cart.tsx @@ -3,7 +3,7 @@ import { ScrollableScreen, Separator, Spacer -} from '@market/components'; +} from '@habiti/components'; import { useRoute, RouteProp, diff --git a/apps/app/src/screens/Carts.tsx b/apps/app/src/screens/Carts.tsx index 25e09bb2..da999d3b 100644 --- a/apps/app/src/screens/Carts.tsx +++ b/apps/app/src/screens/Carts.tsx @@ -1,4 +1,4 @@ -import { ListEmpty, Screen } from '@market/components'; +import { ListEmpty, Screen } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/screens/DeliveryAddress.tsx b/apps/app/src/screens/DeliveryAddress.tsx index 32394434..1ed71cd2 100644 --- a/apps/app/src/screens/DeliveryAddress.tsx +++ b/apps/app/src/screens/DeliveryAddress.tsx @@ -1,4 +1,4 @@ -import { Screen } from '@market/components'; +import { Screen } from '@habiti/components'; import React from 'react'; import { View } from 'react-native'; diff --git a/apps/app/src/screens/Explore.tsx b/apps/app/src/screens/Explore.tsx index b59c4db2..86306d68 100644 --- a/apps/app/src/screens/Explore.tsx +++ b/apps/app/src/screens/Explore.tsx @@ -1,4 +1,4 @@ -import { Screen } from '@market/components'; +import { Screen } from '@habiti/components'; import React from 'react'; import ExploreHeader from '../components/explore/ExploreHeader'; diff --git a/apps/app/src/screens/FollowedStores.tsx b/apps/app/src/screens/FollowedStores.tsx index 654622d6..17650194 100644 --- a/apps/app/src/screens/FollowedStores.tsx +++ b/apps/app/src/screens/FollowedStores.tsx @@ -1,4 +1,4 @@ -import { CustomImage, Screen, Typography } from '@market/components'; +import { CustomImage, Screen, Typography } from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import { FlashList } from '@shopify/flash-list'; import React from 'react'; diff --git a/apps/app/src/screens/Home.tsx b/apps/app/src/screens/Home.tsx index 247ebe48..b5e1d130 100644 --- a/apps/app/src/screens/Home.tsx +++ b/apps/app/src/screens/Home.tsx @@ -1,4 +1,4 @@ -import { Screen } from '@market/components'; +import { Screen } from '@habiti/components'; import React from 'react'; import { ActivityIndicator, View } from 'react-native'; diff --git a/apps/app/src/screens/Landing.tsx b/apps/app/src/screens/Landing.tsx index 9d4cb46a..7e32efd3 100644 --- a/apps/app/src/screens/Landing.tsx +++ b/apps/app/src/screens/Landing.tsx @@ -4,7 +4,7 @@ import { Spacer, TextButton, Typography -} from '@market/components'; +} from '@habiti/components'; import { NavigationProp, useNavigation } from '@react-navigation/native'; import React from 'react'; @@ -16,7 +16,7 @@ const Landing = () => { return ( - Welcome to Market + Welcome to Habiti