Update 3 files

This commit is contained in:
cbcomputer.fr 2022-10-15 13:19:54 +00:00
parent a5b367a747
commit c40346a4a3
3 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import { handler as useSignup } from './auth/use-signup'
import fetcher from './fetcher' import fetcher from './fetcher'
export const bigcommerceProvider = { export const bigcommerceProvider = {
locale: 'en-us', locale: 'fr-FR',
cartCookie: 'bc_cartId', cartCookie: 'bc_cartId',
fetcher, fetcher,
cart: { useCart, useAddItem, useUpdateItem, useRemoveItem }, cart: { useCart, useAddItem, useUpdateItem, useRemoveItem },

View File

@ -11,7 +11,7 @@ interface HeroProps {
const Hero: FC<HeroProps> = ({ headline, description }) => { const Hero: FC<HeroProps> = ({ headline, description }) => {
return ( return (
<div className="bg-accent-9 border-b border-t border-accent-2"> <div className="bg-accent-5 border-b border-t border-accent-2">
<Container> <Container>
<div className={s.root}> <div className={s.root}>
<h2 className={s.title}>{headline}</h2> <h2 className={s.title}>{headline}</h2>

View File

@ -40,6 +40,10 @@ export default function Home({
}: InferGetStaticPropsType<typeof getStaticProps>) { }: InferGetStaticPropsType<typeof getStaticProps>) {
return ( return (
<> <>
<Hero
headline=" Silk Beauty Academy"
description="Centre de formation Coiffure & Esthétique à Antibes"
/>
<Grid variant="filled"> <Grid variant="filled">
{products.slice(0, 3).map((product: any, i: number) => ( {products.slice(0, 3).map((product: any, i: number) => (
<ProductCard <ProductCard