mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
added brands
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user