Replace entire repo content with correct code from /root/shahikitchen-website/

This commit is contained in:
root
2026-06-29 16:22:09 +00:00
parent 57cc67d2d3
commit 50e3a34895
723 changed files with 20055 additions and 26101 deletions
@@ -0,0 +1,13 @@
import type { MessagingGateway } from '@/application/messaging/ports';
import { RESTAURANT_CONTACT } from '@/domain/shared/constants';
export class BrowserWhatsAppGateway implements MessagingGateway {
openWhatsApp(message: string): void {
if (typeof window === 'undefined') return;
const encoded = encodeURIComponent(message);
window.open(
`https://wa.me/${RESTAURANT_CONTACT.whatsappNumber}?text=${encoded}`,
'_blank'
);
}
}