added adminbar to layout

This commit is contained in:
2025-10-10 13:35:09 -04:00
parent d8fbcbbf4d
commit 8bf4c7516f
13 changed files with 157 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react'
import './styles.css'
import { AdminBar } from '@/src/components/AdminBar'
export const metadata = {
description: 'A blank template using Payload in a Next.js app.',
@@ -12,6 +13,7 @@ export default async function RootLayout(props: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
<AdminBar />
<main>{children}</main>
</body>
</html>