mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
Update 3 files
This commit is contained in:
parent
a5b367a747
commit
c40346a4a3
@ -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 },
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user