added brands

This commit is contained in:
2024-11-21 15:24:37 -05:00
parent 7b38c8a082
commit ef439d8f1c
7 changed files with 223 additions and 5 deletions

View File

@@ -5,8 +5,11 @@ import Hero from "../components/Hero";
import Contact from "../components/Contact";
import Footer from "../components/Footer ";
import { ChakraProvider } from "@chakra-ui/react";
import { getData } from "../actions/brandActions";
import Brands from "../components/Brand/brands";
export default function Home() {
export default async function Home() {
const data = await getData();
return (
<div className="bg-gray-100 min-h-screen flex flex-col">
<Header />
@@ -15,7 +18,7 @@ export default function Home() {
<About />
<Contact />
<Footer />
<Brands brands={data} />
</div>
);
}
}