Files
devodytyji/src/lib/venue.ts
T
2026-08-14 08:51:55 +03:00

24 lines
539 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Locale } from './i18n';
export interface VenueInfo {
name: string;
lat: number;
lng: number;
phone: string;
email: string;
hours: string;
}
export const VENUE: VenueInfo = {
name: 'Devodytyji',
lat: 50.4584,
lng: 30.5199,
phone: '+380 44 000 00 00',
email: 'hello@devodytyji.example',
hours: '10:00 – 23:00',
};
export function venueAddress(locale: Locale): string {
return locale === 'en' ? '12 Vifleemska St, Kyiv, Ukraine' : 'вул. Вифлеємська, 12, Київ, Україна';
}