fixed layout to all app pages. updated product page to use api/products

This commit is contained in:
2024-11-22 10:28:45 -05:00
parent 7bd701dc04
commit fb034831fa
5 changed files with 44 additions and 8 deletions

View File

@@ -1,5 +1,8 @@
import { Provider } from "../components/ui/provider"
import "../styles/globals.css";
import Navbar from "../components/Navbar";
export const metadata = {
title: 'Ballistic Builder',
description: 'Freedom On',
@@ -11,7 +14,9 @@ export default function RootLayout(props: { children: React.ReactNode }) {
return (
<html suppressHydrationWarning>
<body>
<Provider>{children}</Provider>
<Provider>
<Navbar />
{children}</Provider>
</body>
</html>
)