diff --git a/site/commerce.config.json b/site/commerce.config.json index 305eaafea..128441195 100644 --- a/site/commerce.config.json +++ b/site/commerce.config.json @@ -3,7 +3,7 @@ "cart": false, "search": true, "wishlist": false, - "customerAuth": false, + "customerAuth": true, "customCheckout": false } } diff --git a/site/components/common/Layout/Layout.tsx b/site/components/common/Layout/Layout.tsx index e176dd4c6..2ea7a0e33 100644 --- a/site/components/common/Layout/Layout.tsx +++ b/site/components/common/Layout/Layout.tsx @@ -119,13 +119,21 @@ const Layout: React.FC<Props> = ({ <div className={cn(s.root)}> <Navbar links={navBarlinks} /> <style jsx> - { - `.vintageBackground { - background-color: rgba(240, 226, 123, 0.8) - }` - } + {` + .vintageBackground { + background-color: rgba(240, 226, 123, 0.8); + } + `} </style> - <main className={(pathname.includes("about") || pathname.includes("news")) ? "vintageBackground" : ""}>{children}</main> + <main + className={ + pathname.includes('about') || pathname.includes('news') + ? 'vintageBackground' + : '' + } + > + {children} + </main> <Footer pages={pageProps.pages} /> <ModalUI /> <CheckoutProvider> @@ -141,7 +149,11 @@ const Layout: React.FC<Props> = ({ } /> {/** Tidio Chat Script to implement Widget */} - <Script src="//code.tidio.co/mqhzygds3ad04ma8od6ud9ov11fpy4md.js" id="show-banner" strategy="lazyOnload"></Script> + <Script + src="//code.tidio.co/q0sllyxxrrek7mix7eqt41hsgluycqcn.js" + id="show-banner" + strategy="lazyOnload" + ></Script> </div> </CommerceProvider> ) diff --git a/site/pages/contact.tsx b/site/pages/contact.tsx index d7fb99d9a..5ae01268f 100644 --- a/site/pages/contact.tsx +++ b/site/pages/contact.tsx @@ -5,28 +5,33 @@ import { Text as TextUI } from '@components/ui' import { useRouter } from 'next/router' export default function Contact() { - const { locale } = useRouter() return ( <div className="max-w-2xl mx-8 sm:mx-auto py-20 flex flex-col items-center justify-center fit"> - <Box textAlign="center" mb={"10"}> - <TextUI className='mb-5' variant="heading">{locale == "it" ? "Contatti" : "Contact Us"}</TextUI> + <Box textAlign="center" mb={'10'}> + <TextUI className="mb-5" variant="heading"> + {locale == 'it' ? 'Contatti' : 'Contact Us'} + </TextUI> <TextUI className=""> - {locale == "it" ? "Puoi contattarci usando i recapiti che trovi qui sotto!" : "You can contact us using the contact details below!"} + {locale == 'it' + ? 'Puoi contattarci usando i recapiti che trovi qui sotto!' + : 'You can contact us using the contact details below!'} </TextUI> </Box> - <SimpleGrid columns={2} spacing='24px'> + <SimpleGrid columns={2} spacing="24px"> <Box textAlign="center" py={2}> <AtSignIcon boxSize={'40px'} color={'orange.300'} /> - <Text fontWeight={"bold"} fontSize="18px" mt={3} mb={2}> - <a href= "mailto:safaraecommerce@protonmail.com">safaraecommerce@protonmail.com</a> + <Text fontWeight={'bold'} fontSize="18px" mt={3} mb={2}> + <a href="mailto:safaraecommerce@protonmail.com"> + safaraecommerce@protonmail.com + </a> </Text> </Box> <Box textAlign="center" py={2}> <PhoneIcon boxSize={'40px'} color={'orange.300'} /> - <Text fontWeight={"bold"} fontSize="18px" mt={3} mb={2}> - <a href="tel:+390123456789">+39 3923790948</a> + <Text fontWeight={'bold'} fontSize="18px" mt={3} mb={2}> + <a href="tel:+393391630349">+39 339 163 0349</a> </Text> </Box> </SimpleGrid> diff --git a/site/public/homepageBackgroundImage2.png b/site/public/homepageBackgroundImage2.png index 6c16e0a0d..f3e21d0a6 100644 Binary files a/site/public/homepageBackgroundImage2.png and b/site/public/homepageBackgroundImage2.png differ