mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
add product route, separate layouts between home & pages
This commit is contained in:
12
app/(page)/layout.js
Normal file
12
app/(page)/layout.js
Normal file
@@ -0,0 +1,12 @@
|
||||
export default function ProductLayout({ children }) {
|
||||
return (
|
||||
<>
|
||||
{/* <header> */}
|
||||
{/* <nav> */}
|
||||
{/* <a>back</a> */}
|
||||
{/* </nav> */}
|
||||
{/* </header> */}
|
||||
<main>{children}</main>
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user