diff --git a/README.md b/README.md
index cf91b2775..758ff9acc 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ This project is currently under development.
- Responsive
- UI Components
- Theming
-- Standarized Data Hooks
+- Standardized Data Hooks
- Integrations - Integrate seamlessly with the most common ecommerce platforms.
- Dark Mode Support
@@ -66,6 +66,15 @@ After Email confirmation, Checkout should be manually enabled through BigCommerc
BigCommerce team has been notified and they plan to add more detailed about this subject.
+
+I have issues with BigCommerce data hooks
+
+Report issue with Data Hooks here: https://github.com/bigcommerce/storefront-data-hooks
+
+
+
+
+
## Contribute
Our commitment to Open Source can be found [here](https://vercel.com/oss).
diff --git a/components/common/HTMLContent/HTMLContent.module.css b/components/common/HTMLContent/HTMLContent.module.css
deleted file mode 100644
index 0e6d8f917..000000000
--- a/components/common/HTMLContent/HTMLContent.module.css
+++ /dev/null
@@ -1,26 +0,0 @@
-.root {
- @apply text-lg leading-7 font-medium max-w-6xl mx-auto;
-}
-
-.root p {
- @apply text-justify;
-}
-
-.root h1 {
- @apply text-5xl mb-12;
-}
-
-.root h2 {
- @apply text-3xl mt-12 mb-4 leading-snug;
-}
-
-.root h3 {
- @apply text-2xl mt-8 mb-4 leading-snug;
-}
-
-.root p,
-.root ul,
-.root ol,
-.root blockquote {
- @apply mb-6;
-}
diff --git a/components/common/HTMLContent/HTMLContent.tsx b/components/common/HTMLContent/HTMLContent.tsx
deleted file mode 100644
index d041ff369..000000000
--- a/components/common/HTMLContent/HTMLContent.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import cn from 'classnames'
-import s from './HTMLContent.module.css'
-
-type Props = {
- className?: 'string'
- html: string
-}
-
-export default function HTMLContent({ className, html }: Props) {
- return (
-
- )
-}
diff --git a/components/common/HTMLContent/index.ts b/components/common/HTMLContent/index.ts
deleted file mode 100644
index 0a1dcb276..000000000
--- a/components/common/HTMLContent/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from './HTMLContent'
diff --git a/components/common/I18nWidget/I18nWidget.tsx b/components/common/I18nWidget/I18nWidget.tsx
index 428f7bc1f..d533e8c5e 100644
--- a/components/common/I18nWidget/I18nWidget.tsx
+++ b/components/common/I18nWidget/I18nWidget.tsx
@@ -1,11 +1,9 @@
-import { FC } from 'react'
import cn from 'classnames'
-import { useRouter } from 'next/router'
import Link from 'next/link'
-import { Menu } from '@headlessui/react'
-import { DoubleChevron } from '@components/icons'
+import { FC, useState } from 'react'
+import { useRouter } from 'next/router'
import s from './I18nWidget.module.css'
-
+import { Cross } from '@components/icons'
interface LOCALE_DATA {
name: string
img: {
@@ -32,6 +30,7 @@ const LOCALES_MAP: Record = {
}
const I18nWidget: FC = () => {
+ const [display, setDisplay] = useState(false)
const {
locale,
locales,
@@ -39,42 +38,61 @@ const I18nWidget: FC = () => {
asPath: currentPath,
} = useRouter()
const options = locales?.filter((val) => val !== locale)
-
const currentLocale = locale || defaultLocale
return (
)
}
diff --git a/components/common/Layout/Layout.tsx b/components/common/Layout/Layout.tsx
index f76a75561..158f63068 100644
--- a/components/common/Layout/Layout.tsx
+++ b/components/common/Layout/Layout.tsx
@@ -5,7 +5,6 @@ import { useRouter } from 'next/router'
import React, { FC } from 'react'
import { useUI } from '@components/ui/context'
import { Navbar, Footer } from '@components/common'
-import { usePreventScroll } from '@react-aria/overlays'
import { useAcceptCookies } from '@lib/hooks/useAcceptCookies'
import { CommerceProvider } from '@bigcommerce/storefront-data-hooks'
import { Sidebar, Button, Modal, LoadingDots } from '@components/ui'
@@ -56,10 +55,6 @@ const Layout: FC = ({ children, pageProps }) => {
const { acceptedCookies, onAcceptCookies } = useAcceptCookies()
const { locale = 'en-US' } = useRouter()
- usePreventScroll({
- isDisabled: !(displaySidebar || displayModal),
- })
-
return (
diff --git a/components/common/Navbar/Navbar.tsx b/components/common/Navbar/Navbar.tsx
index 2feffe874..24a2b5757 100644
--- a/components/common/Navbar/Navbar.tsx
+++ b/components/common/Navbar/Navbar.tsx
@@ -34,7 +34,7 @@ const Navbar: FC = () => {