- Domain: NotificationLog/NotificationPreference entities, repositories, channel value object - Infrastructure: EmailService (nodemailer/SMTP), FcmService (firebase-admin), TemplateService (Handlebars) - Application: SendNotification CQRS command, UserRegistered + AgentVerified event listeners - Presentation: NotificationsController with history, preferences, and templates endpoints - Prisma: NotificationLog and NotificationPreference models with proper indexes - Templates: Vietnamese notification templates for user.registered, agent.verified, listing.approved, inquiry.received, password.reset Co-Authored-By: Paperclip <noreply@paperclip.ing>
19 lines
455 B
TypeScript
19 lines
455 B
TypeScript
import type { Metadata } from 'next';
|
|
import { AuthProvider } from '@/components/providers/auth-provider';
|
|
import './globals.css';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'GoodGo Platform',
|
|
description: 'Vietnam Real Estate Platform',
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="vi">
|
|
<body>
|
|
<AuthProvider>{children}</AuthProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|