mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-10 04:26:43 -05:00
fixed layout to all app pages. updated product page to use api/products
This commit is contained in:
16
src/app/Builder/layout.tsx
Normal file
16
src/app/Builder/layout.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
export const metadata = {
|
||||
title: 'Next.js',
|
||||
description: 'Generated by Next.js',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
// app/builder/page.js
|
||||
|
||||
export default function BuilderPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>About Us</h1>
|
||||
<p>This is the about page.</p>
|
||||
</div>
|
||||
<div>
|
||||
<h1>About Us</h1>
|
||||
<p>This is the about page.</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user