import { CutCount, CuttingStyleKey } from '@/types';
import { CATEGORY_IMAGES } from '@/infrastructure/images';

export const CUT_COUNTS: CutCount[] = [4, 8, 10, 12];

export const CUTTING_STYLE_KEYS: CuttingStyleKey[] = [
  'nihari',
  'karahi',
  'qeema',
  'boneless',
  'steak',
];

export const MEAT_CATEGORIES = ['chicken', 'beef', 'lamb'] as const;

export const CATEGORY_IDS = ['chicken', 'beef', 'lamb', 'fish'] as const;

export { CATEGORY_IMAGES };

export const SITE_NAME = 'Kött Gård';
export const SITE_EMAIL = 'hello@kottgard.se';
export const DEMO_EMAIL = 'demo@kottgard.se';
export const SITE_PHONE = '+46 72 585 50 50';
export const SITE_PHONE_DISPLAY = '072-585 50 50';
export const SITE_ADDRESS = 'Tingvallavägen 11, 195 31 Märsta';
export const SITE_LOCATION = 'Märsta · Sverige';
export const SITE_HOURS = '10:00–19:00';
export const FACEBOOK_URL = 'https://www.facebook.com/kottgard/';
export const INSTAGRAM_URL = 'https://www.instagram.com/kottgard';
export const MAPS_URL = 'https://share.google/fUkkhDNlhDTcImKo5';

const WHATSAPP_BASE = 'Hej Kött Gård! Jag vill beställa';

export function whatsappOrderUrl(product?: string): string {
  const text = product ? `${WHATSAPP_BASE} ${product}.` : `${WHATSAPP_BASE}.`;
  return `https://wa.me/46725855050?text=${encodeURIComponent(text)}`;
}

export const WHATSAPP_URL = whatsappOrderUrl();