|
|
@@ -10,10 +10,13 @@ export const metadata: Metadata = {
|
|
|
description: 'Находите лучшие места и студии для фотосъемок, бронируйте студии и общайтесь с фотографами',
|
|
|
}
|
|
|
|
|
|
+const version = process.env.NEXT_PUBLIC_GIT_HASH || process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA || 'dev'
|
|
|
+const year = new Date().getFullYear()
|
|
|
+
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
|
return (
|
|
|
<html lang="ru">
|
|
|
- <body className="h-screen overflow-hidden bg-[#0f172a]">
|
|
|
+ <body className="h-screen overflow-hidden bg-[#060606]">
|
|
|
<ErrorBoundary>
|
|
|
<AuthProvider>
|
|
|
<Header />
|
|
|
@@ -21,6 +24,13 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
|
|
{children}
|
|
|
</AuthProvider>
|
|
|
</ErrorBoundary>
|
|
|
+
|
|
|
+ <div className="absolute bottom-0 left-0 right-0 z-40 pb-3">
|
|
|
+ <div className="flex items-center justify-center">
|
|
|
+ <p className="text-xs text-white/20">© {year} PhotoPlaces</p>
|
|
|
+ </div>
|
|
|
+ <p className="absolute right-4 bottom-3 text-xs text-white/20">{version}</p>
|
|
|
+ </div>
|
|
|
</body>
|
|
|
</html>
|
|
|
)
|