Replace entire repo content with code from /root/shahikitchen-google/
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
import { useLanguage } from '@/lib/language-context';
|
||||
import { getTranslation } from '@/lib/translations';
|
||||
import { container } from '@/infrastructure/di/container';
|
||||
import { getWhatsAppInquiryTranslation } from '@/application/messaging/inquiry-language';
|
||||
import { Sparkles } from 'lucide-react';
|
||||
|
||||
export default function CateringPage() {
|
||||
@@ -19,7 +20,8 @@ export default function CateringPage() {
|
||||
const t = getTranslation(language);
|
||||
|
||||
const handleSendInquiry = () => {
|
||||
container.messagingGateway.openWhatsApp(t.catering.inquiryMessage);
|
||||
const inquiryT = getWhatsAppInquiryTranslation(language);
|
||||
container.messagingGateway.openWhatsApp(inquiryT.catering.inquiryMessage);
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -62,7 +64,7 @@ export default function CateringPage() {
|
||||
<button
|
||||
type="button"
|
||||
onClick={handleSendInquiry}
|
||||
className="btn-primary inline-flex shrink-0 items-center justify-center self-start rounded-full px-7 py-3 text-sm font-bold tracking-wide sm:self-center"
|
||||
className="btn-primary inline-flex w-full sm:w-auto shrink-0 items-center justify-center self-stretch sm:self-start rounded-full px-7 py-3.5 text-sm font-bold tracking-wide sm:self-center min-h-[48px] touch-manipulation"
|
||||
>
|
||||
{t.catering.sendInquiry}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user