feat: implement business detail client view with interactive features including rating, favoriting, messaging, and analytics tracking
This commit is contained in:
@@ -39,11 +39,25 @@ export async function generateMetadata(): Promise<Metadata> {
|
||||
|
||||
export default async function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
const settings = await getSiteSettings();
|
||||
const isDev = process.env.NEXT_PUBLIC_APP_ENV === 'development';
|
||||
|
||||
return (
|
||||
<html lang="fr" className={`${inter.variable} ${playfair.variable}`} suppressHydrationWarning>
|
||||
<head>
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
{isDev && (
|
||||
<style dangerouslySetInnerHTML={{ __html: `
|
||||
:root {
|
||||
--color-brand-50: #fef2f2 !important;
|
||||
--color-brand-100: #fee2e2 !important;
|
||||
--color-brand-200: #fecaca !important;
|
||||
--color-brand-500: #ef4444 !important;
|
||||
--color-brand-600: #dc2626 !important;
|
||||
--color-brand-700: #b91c1c !important;
|
||||
--color-brand-900: #7f1d1d !important;
|
||||
}
|
||||
`}} />
|
||||
)}
|
||||
</head>
|
||||
<body className="bg-gray-50 text-gray-900 antialiased min-h-screen flex flex-col font-sans" suppressHydrationWarning>
|
||||
<UserProvider>
|
||||
|
||||
Reference in New Issue
Block a user